Hi, ALL,
On Windows and OSX I can have an embedded resource and so I can create cursor by simply referencing the name of the appropriate resource.
However GTK application doesn’t have a notion of resources and therefore all I can do is convert the “bitmap” into bits and then create a cursor from the embedded data.
Is it possible to create a cursor by just referencing the embedded bits variable?
Something like:
static const unsigned char mycursor[] =
{
};
GdkCursor *cursor = gdk_cursor_new_from_pixbuf( "mycursor" );
(pseudocode above)
Thank you.