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

Re: main-screen-color-p



I suppose that setting the device flags is the responsibility of the video
driver, and not all of them do it correctly. It's safer to test the screen
depth. If the screen is indexed and you want to differentiate between grays and
color, the safest way is to check the color table (grays have the same value
for all three R G and B components).
     Daniel.