-----Original Message-----
From: Ben Combee [mailto:[EMAIL PROTECTED]]
Sent: Friday, 7 December 2001 3:51 PM
To: Palm Developer Forum
Subject: Re: Back to launcher colour scheme in dbg and prod ROMs.
> -----Original Message-----
> From: Ben Combee [mailto:[EMAIL PROTECTED]]
> Sent: Friday, 7 December 2001 3:08 PM
> To: Palm Developer Forum
> Subject: Re: Back to launcher colour scheme in dbg and prod ROMs.
> While not documented (and therefore not supported), inspection of the
> Palm OS source shows that the system does look in the Saved Preference
> database for a pref of type sysFileCSystem with ID
> sysResIDPrefUIColorTableBase + depth. If this pref is found, it reloads
> the color table from there. Otherwise, it uses a hardcoded system
> resource.
Thanks Ben
This is exactly what I was doing also.
Actually for the debugging the depth is incremented by 1, so we have
(sysResIDPrefUIColorTableBase + depth) for production version and
(sysResIDPrefUIColorTableBase + depth + 1) for debugging.
Keeping this in mind, I wouldn't be surprised to find that the debug
version keeps both colour schemes, therefore we can just switch from one
to another (another dirty trick of course) :-)
A really amazing. Everything is ready, only the front end is missing!
Michael
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/