Author |
Message |
zigbert

Joined: 29 Mar 2006 Posts: 6541 Location: Valåmoen, Norway
|
Posted: Wed 27 Dec 2006, 16:30 Post subject:
look at these icons for Xdialog ... |
|
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.
Description |
|

Download |
Filename |
dialog_icons.tar.gz |
Filesize |
16.44 KB |
Downloaded |
694 Time(s) |
Description |
|
Filesize |
56.93 KB |
Viewed |
1094 Time(s) |

|
|
Back to top
|
|
 |
Dougal

Joined: 19 Oct 2005 Posts: 2504 Location: Hell more grotesque than any medieval woodcut
|
Posted: Sun 31 Dec 2006, 07:09 Post subject:
|
|
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
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 6541 Location: Valåmoen, Norway
|
Posted: Sun 31 Dec 2006, 11:19 Post subject:
|
|
I've searched trough 'man Xdialog' but couldn't find any builtin icons, exept the button icons. Does GTK-dialog comes with icons?
|
Back to top
|
|
 |
Dougal

Joined: 19 Oct 2005 Posts: 2504 Location: Hell more grotesque than any medieval woodcut
|
Posted: Mon 01 Jan 2007, 09:57 Post subject:
|
|
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
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 6541 Location: Valåmoen, Norway
|
Posted: Thu 04 Jan 2007, 12:38 Post subject:
|
|
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.
Description |
|
Filesize |
43.42 KB |
Viewed |
1144 Time(s) |

|
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 6541 Location: Valåmoen, Norway
|
Posted: Mon 12 Feb 2007, 05:51 Post subject:
|
|
Here is the info icon in 6-bit colordepth. It saves around 5k.
Description |
|

Download |
Filename |
info_icon.tar.gz |
Filesize |
1.61 KB |
Downloaded |
609 Time(s) |
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 6541 Location: Valåmoen, Norway
|
Posted: Mon 12 Feb 2007, 06:21 Post subject:
|
|
and the question icon.
Description |
|

Download |
Filename |
question_icon.tar.gz |
Filesize |
1.4 KB |
Downloaded |
618 Time(s) |
|
Back to top
|
|
 |
Nathan F

Joined: 08 Jun 2005 Posts: 1760 Location: Wadsworth, OH (occasionally home)
|
Posted: Mon 12 Feb 2007, 07:14 Post subject:
|
|
Code: | 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 ...
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 6541 Location: Valåmoen, Norway
|
Posted: Mon 12 Feb 2007, 11:31 Post subject:
|
|
[/url]
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 6541 Location: Valåmoen, Norway
|
Posted: Mon 12 Feb 2007, 11:43 Post subject:
|
|
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
Description |
|

Download |
Filename |
icons_original.tar.gz |
Filesize |
16.64 KB |
Downloaded |
564 Time(s) |
|
Back to top
|
|
 |
|