Re: X Color scheme usage in modern apps

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.

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