Alexandre Barreto wrote: > > but i have a new problem... when i change the palete.. it changes everthing > on the form... like the labels, butons, the title, menus background...
ain't that just logical !? > > > i just need the pic in the right palette and the rest in the default > you have 'only' 256 colors to play with in 8bpp mode. and that means 256 colors at all. > > i canged the palet before drwan the image and set back to default after > ploting it... > that doesn't make any sense. > > but when i use WinPallet it refreshs everthing painted on the screeen for > the new table... > if you use your custom palette with forms'n'tables: try to have ~16 colors out of the 256 not used in your image. set those 16 cols to the most frequent used 'standard' Palm-system colors. (mainly the greyscale-ones) btw... PalmOS does a ReColor matching of it's 'system'-palette to your new palette (when using WinPalette) . (that's also the reason why WinPalette is that DAMN slow... (on emulator at least - I can't judge how it looks on real 68K - devices) - on the other hand on the ARM-devices it's fast. (dunno why ... ;) (A solution for speed is HwrDisplayPalette (sets only the colors, but no Re-color matching) ... but not in the SDK. but it even works on my Tungsten-T ! :) Best regards, Carsten. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
