At 6:25 AM +0100 21-01-00, Christopher Hunt wrote:
>Incidentally, some release notes for 3.5 would be nice. On the whole I
>really like 3.5's way of doing things; it'd just be nice not to have to
>spend hours discovering them!  :-)

Well, the 3.5 docs are upcoming.  You can read some more on the slides from
the developers conference.

The changes made to the UI library to support color aren't really very well
documented anywhere.  The actual implementation of the UI routines is
private to Palm, so naturally if you make assumptions about how they work
then, well, the assumptions are liable to change.  But, I agree that we
could do a MUCH better job of documenting what the assumptions are.

In general, for OS 3.5 almost every UI widget changed in the same way.  All
calls to WinInvert* were removed, because inverting does not have a good
meaning when color is involved.  So instead, the controls now redraw their
whole areas in the appropriate colors when the transition between selected
and unselected is made.

Often, this actually resulted in simpler code, and a few UI modules
actaully got smaller as a result.

There's one exception -- buttons that have no text in them.  We guessed
that if you did this, it was because you were putting some kind of graphic
in the button or otherwise drawing it yourself.  So, for that one case, a
WinInvertRectangle is still performed to draw the selection effect.  It
won't look right on color devices with an interesting set of UI colors
(e.g. on the debug ROMs), but at least the user will see something!

                                --Bob


Reply via email to