|
|
|
Re: pocket pc toolbar icons [message #457594 is a reply to message #457427] |
Tue, 28 June 2005 12:25 |
No real name Messages: 92 Registered: July 2009 |
Member |
|
|
Thanks Steve,
I've gotten to the bottom of this now I think. You must always use the basic
windows 16 colour palette or these types of issues arise. Must create
16x16x16 .ico files to use them on the toolbar. Also - when creating ico
files, the screen on your desktop PC should be set to 32bit colour. If you
use 16bit colour for instance you cannot seem to access or save the basic 16
windows colours in your icon editor of choice. I used "Icon Edit" in the end
to create the icons I needed.
I'd imagine all this is a limitation of the PocketPC, rather than SWT. One
to watch for though if you are using SWT on the PocketPC.
Andy
"Steve Northover" <steve_northover@ca.ibm.com> wrote in message
news:d9h8u0$pmq$1@news.eclipse.org...
> Enter a bug report and attach the images in question and snippet that
shows
> the problem. Thanks!
>
> "Andy Harrison" <andyh@agaricus.co.uk> wrote in message
> news:d9gah7$ioq$1@news.eclipse.org...
> > 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@agaricus.co.uk> wrote in message
> > news:d9eaee$aoo$1@news.eclipse.org...
> > > 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
|
|
|
Powered by
FUDForum. Page generated in 0.03318 seconds