Hello!

Are mouse cursors from images with alpha channel supported
under directfb? I'm trying to do something like:

        pixbuf_cursor = 
gdk_pixbuf_new_from_file("/some/path/to/image.png",&error);
        cursor = gdk_cursor_new_from_pixbuf(display, pixbuf_cursor,     0,0);
        gdk_window_set_cursor(GTK_WIDGET(window)->window,cursor);

The cursor is displayed, but transparency does not work (areas with
alpha == 0 are black). Are alpha cannels not supported at all, or am I
doing something wrong?

Best regards
Christian


_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to