Re[14]: [PHP-GTK-DEV] create cursor
| From: | Tom Rogers | Date: | Thu, 05 Aug 2004 16:56:19 +0000 |
| Subject: | Re[14]: [PHP-GTK-DEV] create cursor | ||
| References: | 1 2 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-683@lists.php.net to get a copy of this message | ||
Hi,
Friday, August 6, 2004, 2:48:17 AM, you wrote:
S> ahhhhhhhhhh see where you're coming from now..!
S> I was assuming the user would actually feed it two bitmaps, but I appreciate
S> what you're saying about that being less straightforward from the user
S> perspective. (They'd have to create the bitmap twice.)
S> Another approach might be to silently ignore the first parameter and copy
S> the second to it internally.. no idea whether that could work until I try it
S> tho'..
S> Or I could just stop going on about it and say 'thank you' :)
Copying the mask works but you only end up with an all white or an all
black cursor. By using the 3 colour xpm file you can have a funky
white border around your cursor.
No thanks are needed, I enjoy a challenge. the hard bit
was figuring out how to get hold of the pixel data.
--
regards,
Tom