Re: Custom Palette Info Needed

2005-01-10 Thread Vladan Markovic
Thank you for your answer, I am trying something, but it`s really not working, custom palette implementation is very poor documented with no example at all, i didn`t find anything on Internet neither. Can you help me with some simple example how can i display bitmap done it in custom palette.

Re: Custom Palette Info Needed

2005-01-10 Thread Tim Kostka
Where can i find values of that standard UI 16 colors? You can find these with UIColorGetTableEntryIndex. Look in the documentation, it's straightforward. However, the color indices used do not have to be the same on different devices, which is one big problem with changing the palette.

Custom Palette Info Needed

2005-01-09 Thread Vladan Markovic
Hi, I am developing graphic application for Palm OS in 256 colors, it happens that designer done some design in 256 colors, but in custom palette, 256 nuances of the same color, i heard that Palm OS have support for custom palette (with some programers work around), is that means that it can

Re: Custom Palette Info Needed

2005-01-09 Thread Henk Jonas
Hm, at least on the devices with a 16-bit display you will only see 64 nuances. Don't know about the other. Regards Henk Vladan Markovic wrote: Hi, I am developing graphic application for Palm OS in 256 colors, it happens that designer done some design in 256 colors, but in custom palette, 256

Re: Custom Palette Info Needed

2005-01-09 Thread Tim Kostka
Palm OS has custom palette support via WinPalette. So yes, it's able to display any 256 colors you tell it to. However, changing the palette changes the UI colors as well. If you make the bitmap only about 240 colors you can avoid changing any colors the UI uses. Anyhow, there you are. ---