[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: pocket pc toolbar icons

It seems like i need to keep images to 16 colours only, but even then my
results are patchy. Anyone any ideas? The actual code isn't too tricky, but
the display of the images is really a mess.

final Menu mb = new Menu(shell, SWT.BAR);
final MenuItem icon1 = new MenuItem(mb,SWT.PUSH);
icon1.setImage(myIcon1);

andy


"Andy Harrison" <andyh@xxxxxxxxxxxxxx> wrote in message
news:d9eaee$aoo$1@xxxxxxxxxxxxxxxxxxx
> Does anyone have experience of creating icons for MenuItems on the
PocketPC
> shell? I've been trying to create images for MenuItems, similar to what
you
> would find in other pocket PC apps. It seems that you need to use 16x16
> pixel images, but the colour palette seems to affect things drastically.
> (see attached image.)
>
> I'm using 16x16 gifs, I've tried the web colour palette in photoshop but
I'm
> still getting distorted icons on the pocket pc. The image shows a floppy
> disk icon at the bottom of the screen that is distorted. different colour
> palettes are causing different pixels that are maybe out of gamut? Anyone
> come across this before?
>
> Andy
>
>
>