RE: Re[10]: [PHP-GTK-DEV] create cursor
| From: | Steph | Date: | Thu, 05 Aug 2004 16:35:09 +0000 |
| Subject: | RE: Re[10]: [PHP-GTK-DEV] create cursor | ||
| References: | 1 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-679@lists.php.net to get a copy of this message | ||
Hi Tom,
Excuse me for being dim, I still haven't had a chance to play with build
systems this week.
I'm missing something here.. if both parameters are bitmaps, where's the
pixmap coming from that needs to be converted?
- Steph
> -----Original Message-----
> From: Tom Rogers [mailto:trogers@kwikin.com]
> Sent: 05 August 2004 17:11
> To: Steph
> Cc: Andrei Zmievski; Christian Weiske; PHP-GTK Dev list
> Subject: Re[10]: [PHP-GTK-DEV] create cursor
>
>
> Hi,
>
> Friday, August 6, 2004, 2:10:01 AM, you wrote:
> S> Wow, you used GdkImage?
>
> S> /me is impressed
>
> S> If simply replacing pixmap with bitmap in the .defs file
> works, wouldn't it
> S> be easier to take the resulting entry from gen_gdk.c and put that into
> S> gdk.overrides?
>
> S> Just a thought
>
> S> - Steph
>
> It is not that simple, one of the errors is expecting a pixmap for the
> mask which is a bitmap (php complains not gdk). Fixing that was easy
> by changing the defs. The other problem is that the pixmap doesn't
> have a colour depth of 1 (16 I think it was) so you can't simply change
> it to a bit map, hence the copy pixel by pixel. Doing it this way
> keeps the php side simple to use. The code I gave needs to go into the
> overides file as long as it works under linux.
>
> --
> regards,
> Tom
>