nanogui: TRUECOLOR 565
Subject:
Re: [nanogui] TRUECOLOR 565
From:
"Greg Haerr" ####@####.####
Date:
30 Sep 2005 16:10:32 +0100
Message-Id: <0f8501c5c5d0$fe2b09b0$6401a8c0@winXP>
: The system I am working on uses TRUECOLOR565. Is there
: a good way that I can directly change the RGB values.
: MWRGB Produces some strange effects. I am trying to
: smoothly shade a bar.
Use the GrOpenClientFramebuffer() api, which will allow
you to call GrGetWindowFBInfo to find the memory-mapped
address of the current window positions' user-drawable
window area. Then, just draw at that address...
This routine was added for applications that needed fast,
direct access to window interiors, like mpeg players.
Regards,
Greg