At 11:09 AM +0100 16-01-00, Scott Johnson (WA) wrote:
>(I don't think this is documented, so beware, yada yada...)

The feature should be documented.  Sorry if it's not, it may have slipped
through the cracks.

By the way, the actual meaning of this feature is 'the default depth to
use'.  Normally, the OS resets the display depth to the default (from the
feature) whenever you launch an app.  (UIReset does it.)


>Given the above, that's probably not safe.

Right!  The API to change the depth (WinScreenMode) is documented and
supported, so the 'current' screen mode could be anything.  (This API
actually existed as documented starting in 3.0.  It was called
ScrDisplayMode, and in OS 3.5 it's been renamed to WinScreenMode.  It's the
same trap though.)

If you're the main app running in the UI thread, you're expected to have
the most say over what the current depth should be.  i.e. don't be shy
about setting it to the right depth when you launch.

>Question for Palm: will the UI color schemes for 2- and 4-bit modes use any
>grays, such as for field text highlighting?  (Not that I'd want it; my app
>got painfully slow in 4-bit mode at 16MHz.)

Of course, no one's announced a color device yet, so no one can say what
the color schemes might be for that product for sure.  But I think if you
look at the 'release' (that is, not the 'debug') ROMs for the OS 3.5 early
release, that will give you a good idea of how it might be.  (Nevertheless,
you should probably avoid writing code that cares.)

                                --Bob


Reply via email to