David Fedor wrote in message <5255@palm-dev-forum>...
>
>>So changing UI colors is accomplished by changing
>>the index used to draw a particular UI element?
>
>Yes, you just say which index in the active palette is to be used for a
>given UI object. That's the way you specify colors for doing anything and
>everything: by giving the index in the palette.
... or by setting the RGB triplets for a given palette entry...
>>Each method has it's own pros & cons, but the inability
>>to create bitmaps that match the UI elements is a big con imo.
>
>I agree that it'd be less work for you, but having the blitter and/or
>window driver code know about the implementation of the UI controls would
>break just about every rule of modularity ever written!
In what way would the blitter or window driver code have
have to know anything about the implementation of the UI
controls if the UI elements were designated w/ a fixed
index instead of a variable one?
--
-Richard M. Hartman
[EMAIL PROTECTED]
186,000 mi/sec: not just a good idea, it's the LAW!
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html