diff options
| author | Martin Owens <doctormo@gmail.com> | 2017-06-30 03:58:14 +0000 |
|---|---|---|
| committer | Martin Owens <doctormo@gmail.com> | 2017-06-30 03:58:14 +0000 |
| commit | f55448431e934bf29bb9a983711d204614db7cc7 (patch) | |
| tree | 52358e8121babdf471b4cb86f1b704275e5865ac /src/sp-cursor.h | |
| parent | Merge branch 'master' of gitlab.com:inkscape/inkscape (diff) | |
| download | inkscape-f55448431e934bf29bb9a983711d204614db7cc7.tar.gz inkscape-f55448431e934bf29bb9a983711d204614db7cc7.zip | |
Hackfest: Refactor cursors so the hot spot is inside the xpm
Diffstat (limited to 'src/sp-cursor.h')
| -rw-r--r-- | src/sp-cursor.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sp-cursor.h b/src/sp-cursor.h index c0b8b46a3..6579d6a16 100644 --- a/src/sp-cursor.h +++ b/src/sp-cursor.h @@ -6,8 +6,7 @@ typedef struct _GdkPixbuf GdkPixbuf; typedef struct _GdkCursor GdkCursor; typedef struct _GdkColor GdkColor; -GdkPixbuf* sp_cursor_pixbuf_from_xpm(char const *const *xpm, GdkColor const& black, GdkColor const& white, guint32 fill, guint32 stroke); -GdkCursor *sp_cursor_new_from_xpm(char const *const *xpm, int hot_x, int hot_y); +GdkCursor* sp_cursor_from_xpm(char const *const *xpm, GdkColor *black=NULL, GdkColor *white=NULL, guint32 fill=0, guint32 stroke=0); #endif |
