Re: GdkColor question
- From: Emmanuel Saracco <esaracco noos fr>
- To: gtk-app-devel-list gnome org
- Subject: Re: GdkColor question
- Date: Fri, 15 Nov 2002 21:10:53 +0100
On Fri, 15 Nov 2002 14:10:40 +0100
Emmanuel Saracco <esaracco noos fr> wrote:
I have another question now: is it possible to build a color without
building it with:
--------
GdkColor color;
color.red = 0xAA00;
color.green = 0xFD00;
color.blue = Ox05OO;
---------
does it exist a more direct way?
couldn't I do, for example, anything like:
---------
color = 0xAAFD05
---------
I answer to myself: gdk_color_parse("green", &color);
thanks to the Havoc Pennington book
(http://developer.gnome.org/doc/GGAD/sec-gdkvisual.html) :-)
bye
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]