There is a way to to adjust the 'brightness' of the 4 different shades of
grey, in greyscale mode, but this involves messing around with the
DragonBall  registers, something not recommended by Palm.
All 2 bit greyscale values map to a 3 bit grey palette code. This means that
8 shades of grey are possible, but only 4 of these are available at one
time. This mapping is done in the LCD Gray Palette Mapping
Register(0xFFFFFA32). This register is divided into four groups of 4 bits.
Each of the 4 groups represent one of the greyscale values (00 ->11).
So when your app starts, you could change the values in the LCD Gray Palette
Mapping Register, and when your app exits, you can restore it again.
 Your app will work on OS 3.0 -> 3.3, but not on the color devices.

Garth Watkins

----- Original Message -----
From: "Heather Tufts" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[email protected]>
Sent: Friday, July 14, 2000 4:21 PM
Subject: RE: setting grayscale brightness...?


> > I was reffering to the color tables and how to change them,
> > but cant fint
> > anything in the reference that comes with codewarrior 6, even
> > search the
> > document for "UI color list", returned zip, so I would relly
> > appreciate some
> > more directions if you have any, thx..
>
> The file reference.pdf that comes with CW for Palm R6 is the API Reference
> for the 3.1 SDK.  No mention of color support there.  However, if you
> download the 3.5 SDK Documentation from
> http://www.palmos.com/dev/tech/docs/, you will find the Palm OS
> Reference.pdf file.  In that document, the UI Color List chapter is CH 20,
> and begins on page 427.
> -hkmlt
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
>



-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to