Page 1 of 1

look at these icons for Xdialog ...

Posted: Wed 27 Dec 2006, 20:30
by zigbert
Why not have some standard icons for the guys who write apps with Xdialog (and other GUIs as well)? Puppy could get a small facelift. If these icons was in a specified directory, it would be easy to call them from apps. It would both unify interface and save space.

I've made a suggestion out of the futurosoft icontheme. I have converted them to 48x48, *.xpm and 8 bit color-range.

Posted: Sun 31 Dec 2006, 11:09
by Dougal
Isn't there a built-in icon for error messages?

Posted: Sun 31 Dec 2006, 15:19
by zigbert
I've searched trough 'man Xdialog' but couldn't find any builtin icons, exept the button icons. Does GTK-dialog comes with icons?

Posted: Mon 01 Jan 2007, 13:57
by Dougal
Oh, I think I might have been mistaken... just remembered the image of the infobox with a "warning" image from the documentation -- which in fact shows an example of using the icon option.

Gtkdialog has things like "exit" and "apply" built in. It's hard to tell what else -- they're not great on documentation...

Posted: Thu 04 Jan 2007, 16:38
by zigbert
There are many nice icons on the Puppy CD, but most of them are *.png. Gtkdialog can use them, Xdialog needs raw files *.xpm. They are bigger in size, and after what I have seen, they can't show semi-transparent surfaces.

I have tweeked some icons futher to get them into PuppyBackup without blowing the idea of a tiny script.

The snapshot show 2 icons in 3 versions.
1. The original *.png
2. The earlier posted with 8 bits colordepth
3. The PuppyBackup icons with only 6 bits colordepth. That gives a much smaller filesize. Also smaller than the original *.png. It also gives a lower quality, but for me an PuppyBackup it is acceptable.

Posted: Mon 12 Feb 2007, 09:51
by zigbert
Here is the info icon in 6-bit colordepth. It saves around 5k.

Posted: Mon 12 Feb 2007, 10:21
by zigbert
and the question icon.

Posted: Mon 12 Feb 2007, 11:14
by Nathan F

Code: Select all

Gtkdialog can use them, Xdialog needs raw files *.xpm.
That is actually only true for the old gtk1 build of Xdialog. I'm using png icons in Grafburn no problem, and svg icons in several other scripts using Xdialog (but not in Puppy, as it's gtk+ doesn't support svg yet).

In general, .xpm images are ugly and of a lower quality than an equivelent .png. My preference is always for .png given the choice.

Nathan

Posted: Mon 12 Feb 2007, 15:31
by zigbert
:D :D :D

Image[/url]

Posted: Mon 12 Feb 2007, 15:43
by zigbert
This is good news. The size is bigger (much bigger compressed), but they looks gorgeous. I guess it's no point of making the *.png icons ugly to get them smaller. Convert from *.xpm if wanted.

Thanks Nathan