Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 31 Oct 2014, 04:29
All times are UTC - 4
 Forum index » Taking the Puppy out for a walk » Suggestions
look at these icons for Xdialog ...
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
zigbert


Joined: 29 Mar 2006
Posts: 5760
Location: Valåmoen, Norway

PostPosted: 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.
dialog_icons.tar.gz
Description 
gz

 Download 
Filename  dialog_icons.tar.gz 
Filesize  16.44 KB 
Downloaded  560 Time(s) 
dialog_icons.png
 Description   
 Filesize   56.93 KB
 Viewed   1020 Time(s)

dialog_icons.png

Back to top
View user's profile Send_private_message Visit_website 
Dougal


Joined: 19 Oct 2005
Posts: 2505
Location: Hell more grotesque than any medieval woodcut

PostPosted: 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
View user's profile Send_private_message 
zigbert


Joined: 29 Mar 2006
Posts: 5760
Location: Valåmoen, Norway

PostPosted: 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
View user's profile Send_private_message Visit_website 
Dougal


Joined: 19 Oct 2005
Posts: 2505
Location: Hell more grotesque than any medieval woodcut

PostPosted: 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
View user's profile Send_private_message 
zigbert


Joined: 29 Mar 2006
Posts: 5760
Location: Valåmoen, Norway

PostPosted: 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.
image.png
 Description   
 Filesize   43.42 KB
 Viewed   990 Time(s)

image.png

Back to top
View user's profile Send_private_message Visit_website 
zigbert


Joined: 29 Mar 2006
Posts: 5760
Location: Valåmoen, Norway

PostPosted: Mon 12 Feb 2007, 05:51    Post_subject:  

Here is the info icon in 6-bit colordepth. It saves around 5k.
info_icon.tar.gz
Description 
gz

 Download 
Filename  info_icon.tar.gz 
Filesize  1.61 KB 
Downloaded  482 Time(s) 
Back to top
View user's profile Send_private_message Visit_website 
zigbert


Joined: 29 Mar 2006
Posts: 5760
Location: Valåmoen, Norway

PostPosted: Mon 12 Feb 2007, 06:21    Post_subject:  

and the question icon.
question_icon.tar.gz
Description 
gz

 Download 
Filename  question_icon.tar.gz 
Filesize  1.4 KB 
Downloaded  502 Time(s) 
Back to top
View user's profile Send_private_message Visit_website 
Nathan F


Joined: 08 Jun 2005
Posts: 1760
Location: Wadsworth, OH (occasionally home)

PostPosted: 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
View user's profile Send_private_message AIM YIM MSNM 
zigbert


Joined: 29 Mar 2006
Posts: 5760
Location: Valåmoen, Norway

PostPosted: Mon 12 Feb 2007, 11:31    Post_subject:  

Very Happy Very Happy Very Happy

[/url]
Back to top
View user's profile Send_private_message Visit_website 
zigbert


Joined: 29 Mar 2006
Posts: 5760
Location: Valåmoen, Norway

PostPosted: 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
icons_original.tar.gz
Description 
gz

 Download 
Filename  icons_original.tar.gz 
Filesize  16.64 KB 
Downloaded  466 Time(s) 
Back to top
View user's profile Send_private_message Visit_website 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Taking the Puppy out for a walk » Suggestions
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0873s ][ Queries: 13 (0.0346s) ][ GZIP on ]