Real time altering of screen output

This is a discussion on Real time altering of screen output within the Windows Programming forums, part of the Platform Specific Boards category; Hi, Is there any sane way to programmatically alter the screen output? I am thinking along the lines of having ...

  1. #1
    Registered User
    Join Date
    Oct 2008
    Posts
    34

    Question Real time altering of screen output

    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

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    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.

  3. #3
    Registered User
    Join Date
    Oct 2008
    Posts
    34
    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

  4. #4
    Algorithm Dissector iMalc's Avatar
    Join Date
    Dec 2005
    Location
    New Zealand
    Posts
    6,302
    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"

  5. #5
    Registered User
    Join Date
    Oct 2008
    Posts
    34
    Simcity 2000 uses that technique for animating it's water etc.
    It only works in 256 colour mode iirc.
    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?

    I wasn't able to dig up much information on this subject on the net.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Sending an email in C program
    By Moony in forum C Programming
    Replies: 28
    Last Post: 10-19-2006, 10:42 AM
  2. Is this really true or it's just science fiction?
    By Nutshell in forum A Brief History of Cprogramming.com
    Replies: 145
    Last Post: 04-09-2002, 06:17 PM
  3. Programming Puns
    By kermi3 in forum A Brief History of Cprogramming.com
    Replies: 44
    Last Post: 03-23-2002, 03:38 PM
  4. position output on clear screen
    By ghettoman in forum C++ Programming
    Replies: 1
    Last Post: 11-02-2001, 12:34 AM

Tags for this Thread


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21