RE: Re[12]: [PHP-GTK-DEV] create cursor

From: Date: Thu, 05 Aug 2004 16:48:17 +0000
Subject: RE: Re[12]: [PHP-GTK-DEV] create cursor
References: 1  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-681@lists.php.net to get a copy of this message
ahhhhhhhhhh see where you're coming from now..! I was assuming the user would actually feed it two bitmaps, but I appreciate what you're saying about that being less straightforward from the user perspective. (They'd have to create the bitmap twice.) Another approach might be to silently ignore the first parameter and copy the second to it internally.. no idea whether that could work until I try it tho'.. Or I could just stop going on about it and say 'thank you' :) > > Hi, > > Friday, August 6, 2004, 2:35:09 AM, you wrote: > S> Hi Tom, > > S> Excuse me for being dim, I still haven't had a chance to play > with build > S> systems this week. > > S> I'm missing something here.. if both parameters are bitmaps, > where's the > S> pixmap coming from that needs to be converted? > > S> - Steph > > From this line in the php script :-) > > list($pixmap, $mask) = gdk::pixmap_create_from_xpm_d($gdkwin, > null, $cursorpmp); > > The mask is a bitmap ...halfway there the $pixmap is a true Gdkpixmap > ... that is the problem > > > How else would you generate the bitmap (easily) in php? > > > -- > regards, > Tom >

« previous php.gtk.dev (#681) next »