Aaron Ardiri wrote:
On 12/5/05, Luc Le Blanc <[EMAIL PROTECTED]> wrote:
A user abroad tells me that on his OS 4.1 IIIxe, my application displays
its forms in a lighter shade of gray than others. He also notices that
with FileZ and a few apps, but says some other third party apps like
GPilotS appear as dark as the built-in ones. How can this be? Selective
screen fatigue???
Probably due to color -> grayscale conversion.
The IIIxe has 4 bit 'color', i.e. 16 shades of gray. Only if the form used
black it would show up as dark as the built-in ones.
All my forms are black only. The only time I use colors or grayscale
(machine dependent and self adapting) is for displaying the cave map.
The user says everything is lighter, even if he does not go to the map.
but, are you running your application in 1bpp or 4bpp?
that could be the difference between your app and the built in ones.
what you could do is download a utility like "toggle" which sets the
bit depth to non 1bpp and keeps it that way.
http://www.ardiri.com/palm/toggle/
it would probably be the only thing that can explain it :)
--
// Aaron Ardiri
Actually, Toggle does not really "keep it that way" because it only sets
the default bit depth. My app queries the OS for available bit depths
and selects the best one. But my user tells me that by setting the
display to 1bpp with Toggle, other apps suddenly turn darker, which
illustrates the problem.
Now, what must I do if I want to draw using gray shades in a form that
also contains standard controls? I currently set the bith depth upon
starting the app, assuming that by setting the bit depth to 4bpp, the
interface color would remain black and not turn to a lighter gray - is
this a wrong assumption? Am I supposed to explicitely set the fore/text
colors to black right after I change the bit depth? On color devices
like my T3, setting the bit depth seems to automatically select the
right theme colors, without any other programatic intervention
--
Luc Le Blanc
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/