Re: X Color scheme usage in modern apps
- From: Russell Shaw <rjshaw iprimus com au>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: X Color scheme usage in modern apps
- Date: Fri, 26 Dec 2003 13:05:04 +1100
Ryan McDougall wrote:
Ive always wondered how many apps use the differnt color schemes that X
supports, such as StaticColor, PseudoColor, and DirectColor. Its my
understanding that with modern 24bit color displays, RGB is always
assigned one byte each, which is X's TrueColor scheme. Can any body tell
me what color modes "real world" applications actually use?
The way to tell is run "xwininfo" and click on an open app.
The available visuals can be seen by running xdpyinfo. On my box,
truecolor and directcolor visuals are shown. An advantage of directcolor
is that the perceived color of graphics can be changed without having to
redraw it. The oreilly xlib programming book explains a lot.
] [Thread Prev