Thread: Making COLORREF lighter

  1. #1

    Making COLORREF lighter

    I would like to make the COLORREF variable obtained by GetSysColor( COLOR_3DFACE ) lighter... How can I increase the intensities of the r,g and b componenets?

  2. #2
    Nevermind, I found the GetRValue,GetGValue and GetBValue macros and then increased the intensity and used PALETTERGB to recombine them.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. making sprites
    By DavidP in forum Game Programming
    Replies: 9
    Last Post: 02-20-2010, 07:00 AM
  2. Making great graphics
    By MadCow257 in forum Game Programming
    Replies: 1
    Last Post: 02-20-2006, 11:59 PM
  3. Making control...
    By Finchie_88 in forum C++ Programming
    Replies: 2
    Last Post: 09-07-2004, 01:42 PM
  4. Replies: 2
    Last Post: 01-13-2003, 01:28 PM
  5. About Unix Programming - Making a career desision
    By null in forum C Programming
    Replies: 0
    Last Post: 10-14-2001, 07:37 AM