look at these icons for Xdialog ...

What features/apps/bugfixes needed in a future Puppy
Post Reply
Message
Author
User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

look at these icons for Xdialog ...

#1 Post 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.
Attachments
dialog_icons.tar.gz
(16.44 KiB) Downloaded 815 times
dialog_icons.png
(56.93 KiB) Downloaded 1129 times

User avatar
Dougal
Posts: 2502
Joined: Wed 19 Oct 2005, 13:06
Location: Hell more grotesque than any medieval woodcut

#2 Post by Dougal »

Isn't there a built-in icon for error messages?
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#3 Post 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?

User avatar
Dougal
Posts: 2502
Joined: Wed 19 Oct 2005, 13:06
Location: Hell more grotesque than any medieval woodcut

#4 Post 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...
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#5 Post 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.
Attachments
image.png
(43.42 KiB) Downloaded 1175 times

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#6 Post by zigbert »

Here is the info icon in 6-bit colordepth. It saves around 5k.
Attachments
info_icon.tar.gz
(1.61 KiB) Downloaded 721 times

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#7 Post by zigbert »

and the question icon.
Attachments
question_icon.tar.gz
(1.4 KiB) Downloaded 734 times

User avatar
Nathan F
Posts: 1764
Joined: Wed 08 Jun 2005, 14:45
Location: Wadsworth, OH (occasionally home)
Contact:

#8 Post 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
Bring on the locusts ...

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#9 Post by zigbert »

:D :D :D

Image[/url]

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#10 Post 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
Attachments
icons_original.tar.gz
(16.64 KiB) Downloaded 667 times

Post Reply