RE: colors
- From: "Dugas, Alan" <alan dugas analog com>
- To: Billy Patton <bpatton dal asp ti com>
- Cc: gtk-app-devel-list gnome org, gtk-list gnome org
- Subject: RE: colors
- Date: Fri, 19 Jan 2001 11:15:19 -0500
Try using the color list in rgb.txt (I believe this comes standard with
X11). Once you have chosen a color from the list you can do the following;
GdkColor color;
...
gdk_color_parse("red", &color);
gdk_color_alloc(gdk_colormap_get_system(), &color);
...
Hope this helps.
-- Stupid Genius
----------
From: Billy Patton[SMTP:bpatton dal asp ti com]
Sent: Friday, January 19, 2001 6:34 AM
To: gtk
Subject: colors
For lack of a better method I've started doing colors in the following
manner :
guint32 white = 0x00ffffff;
guint32 black = 0x00000000;
I need many more colors. Does anyone have a list in this form anywhere
?
_______________________________________________
gtk-list mailing list
gtk-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]