Re: Cursors
- From: Federico Mena Quintero <federico redhat com>
- To: miguel gnu org
- CC: u07ih abdn ac uk, gnome-devel-list gnome org
- Subject: Re: Cursors
- Date: Wed, 24 Nov 1999 17:22:21 -0500
> But then again, we do have some reusable code in eog that can do this.
I am not completely satisfied with the solution in EOG. It requires
two XBM files per cursor, one for the mask and one for the data. I
would prefer something that takes in a GdkPixbuf and thresholds it so
that
1. Alpha values are either 0 or 255
2. Color values are either 0 or 255
thus producing a bilevel image. It would render this to two 1-bit deep
GdkPixmaps and call gdk_cursor_new_from_pixmap().
[It would also be nice if we put stock cursors in the new gnome-libs;
the default X cursors are wretchedly ugly. Gtk+ should also use a
default arrow cursor for windows.]
Federico
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]