"Michael Glickman" <[EMAIL PROTECTED]> wrote in message
news:70301@palm-dev-forum...
>
> To be serious there is a problem with own icon.
>
> As you noticed, a dbg ROM version uses a different
> colour scheme, and the implication (as I understand it)
> is that your app should not rely on standard colour scheme.
>
> We can use a transparent colour for the background,
> but can predict the foregound colour for "I" icon,
> and you don't have a function to colourize your
> monochrome bitmap (X11 has it, in MS Windows you can
> also do it not without a hassle)

You don't have to worry about the bitmap yourself.  The help (i) icon is
defined in the Palm OS font "Symbol 11" as character 4.  The "selected"
version is character 10 in the "Symbol" font.

All you would need to do is set the right foreground and background
colors then use WinDrawChar to draw the character in the appropriate
spot.  Of course, you get the colors using calls to
UIGetColorTableEntryIndex -- UIDialogFrame and UIDialogFill seem the
appropriate entries to use.



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to