Re: Colormap issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

"Dennie, Brooke" <BDennie@xxxxxxx> writes:

> I'm a little confused as to how the following code can produce the
> output:
> 
> succeeded... 15736992 256
>         
> gdk_color_parse("green", &color);
> if(gdk_colormap_alloc_color(colormap, &color, FALSE, TRUE))
>   printf("succeeded... %d %d\n", color.pixel, colormap->size);

Unless you are really running this on an 8bit pseudo-color display,
this output doesn't look particulary suspicious to me. The expected
result depends on the visual of the colormap but you aren't supposed
to care about this at all.


Sven
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux