Hi,
Is there any sane way to programmatically alter the screen output? I am thinking along the lines of having a color table that I utilize for replacing a source color with a destination color in real time.
Thanks,
Eirik
Hi,
Is there any sane way to programmatically alter the screen output? I am thinking along the lines of having a color table that I utilize for replacing a source color with a destination color in real time.
Thanks,
Eirik
Yes, that can be done.
How you go about it will very much depend on what you are actually drawing on the screen in itself, along with many other things.
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
Hi,
I am basically displaying a human-machine interface (various symbols on a tabbed, windows-like environment) on a display that is located in such an environment that it is important to minimize the light pollution at night. So I would rather be able to replace certain colors then to make another "theme" for operation at night. Are you able to point me in the right direction on this subject?
Eirik
Simcity 2000 uses that technique for animating it's water etc.
It only works in 256 colour mode iirc.
My homepage
Advice: Take only as directed - If symptoms persist, please see your debugger
Linus Torvalds: "But it clearly is the only right way. The fact that everybody else does it some other way only means that they are wrong"
So what you're saying is that the replacing of colors isn't doable, unless I am in 256 color mode? Is there any other techniques that may be applied to do what I am trying to achieve?Simcity 2000 uses that technique for animating it's water etc.
It only works in 256 colour mode iirc.
I wasn't able to dig up much information on this subject on the net.