Re: Colormap question
- From: Havoc Pennington <hp redhat com>
- To: Andrei Zmievski <andrei ispi net>
- Cc: gtk-list gnome org
- Subject: Re: Colormap question
- Date: 09 Feb 2001 01:38:33 -0500
Andrei Zmievski <andrei ispi net> writes:
>
> When I do gdk_colormap_get_system(), the colormap I get has 'size' member set
> to 64, but 'colors' is NULL. Why is that?
>
The code looks like this happens for TrueColor visuals. The "64" is
apparently visual->colormap_size reported by X which is "the number of
cells for the biggest individual pixel subfield" according to the Xlib
book. I have no idea what that is supposed to mean; the
interpretations I can come up with for it don't make sense with the
number 64.
Anyway, for TrueColor there's no reason to poke in there anyhow.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]