At 07:01 AM 12/31/2004, you wrote:
As i'm getting deeper into the window manager i found that WinSetForeColor/WinSetBackColor are not available on PalmOS versions prior to 3.5 My question is how to set the back and fore color on devices running PalmOS < 3.5 ? I know that on such devices only grayscale modes are supported but still, i can't find any API in the documentation.

Actually, prior to OS 3.5, only black and white was supported by OS calls. To do grayscale, you had to write directly to screen memory after setting the screen to grayscale mode. So, on OS 3.3 and earlier, any "draw" API wrote black pixels and any "erase" API drew white pixels.



-- Ben Combee, Technical Lead, Developer Services, PalmSource, Inc. "Combee on Palm OS" weblog: http://palmos.combee.net/ Developer Forum Archives: http://news.palmos.com/read/all_forums/



--
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/

Reply via email to