At 11:07 PM 7/22/2004, you wrote:
Hi all,

Is there any way to find the system colours for a particular device? What I am looking to do is redraw particular aspects of a form but am looking to do these redraws in the system colours. As the application may be used on various devices with different colour schemes (eg. colour, greyscale, b&w), I'm looking to find the default colours used for a device.

Such colours I'm looking to find out for each device are:
- title background colour
- form background colour
- title font colour

Look at the UIColorGetTableEntryIndex and UIColorGetTableEntryRGB API calls, and the UIColorTableEntries enumeration. They're prototyped in UIColor.h.



-- Ben Combee, DTS technical lead, PalmSource, Inc. "Combee on Palm OS" weblog: http://palmos.combee.net/ Palm OS Dev Fourm 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