Hi,
On Mon, 2006-11-13 at 14:40 +0530, Prasanna Kumar K wrote:
+ GdkColor color;
+
+ color.pixel = 0x;
+ gdk_gc_set_foreground (widget-style-fg_gc[GTK_WIDGET_STATE (widget)],
color);
You are using an unallocated color here. There's
gdk_gc_set_rgb_fg_color() for that purpose.
Hi All,
I have added few lines in scribble-simple.c
(gtk+-2.10.1/examples/scribble-simple) for the foreground color. Kindly find
the attached patch file for this.
I'm not able to set the foreground color for gtk_drawable
application(scribble-simple) over DirectFB (but over X it is working
2006/11/13, Prasanna Kumar K [EMAIL PROTECTED]:
Hi All,
I have added few lines in scribble-simple.c
(gtk+-2.10.1/examples/scribble-simple)
for the foreground color. Kindly find the attached patch file for this.
I'm not able to set the foreground color for gtk_drawable