diff options
author | Alexander Larsson <alexl@redhat.com> | 2013-08-06 16:21:05 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2013-08-07 13:34:10 +0200 |
commit | 71fe43543c765f12b22e7c6508ed4d58ea5075a6 (patch) | |
tree | 5024e369e507f4e9031ed5333b39c695a3b9b16c /gdk/gdkcursorprivate.h | |
parent | 54f5e4af53f520fa621218e02110c40286975513 (diff) | |
download | gtk+-71fe43543c765f12b22e7c6508ed4d58ea5075a6.tar.gz |
gdk: Add gdk_cursor_get_surface()
We want a surface so we can properly represent the scale factor for it.
All backends are converted to use surfaces and we reimplement the
backwards compat code in the generic code.
Diffstat (limited to 'gdk/gdkcursorprivate.h')
-rw-r--r-- | gdk/gdkcursorprivate.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdk/gdkcursorprivate.h b/gdk/gdkcursorprivate.h index e637d3d72f..15dbe037b5 100644 --- a/gdk/gdkcursorprivate.h +++ b/gdk/gdkcursorprivate.h @@ -47,7 +47,9 @@ struct _GdkCursorClass { GObjectClass parent_class; - GdkPixbuf * (* get_image) (GdkCursor * cursor); + cairo_surface_t * (* get_surface) (GdkCursor *cursor, + gdouble *x_hot, + gdouble *y_hot); }; G_END_DECLS |