1. Toolbar Button System

For the love of all that's holy, does anybody who uses Windows have a
way to easily manage or use icons for buttons? I say somebody should
create a standard set of buttons, then an easy-to-use button-image
management program! Derek, does Win32Lib come with a standard portfolio
of button images?

-=ck
"Programming in a state of EUPHORIA."
http://www.cklester.com/euphoria/

new topic     » topic index » view message » categorize

2. Re: Toolbar Button System

cklester wrote:
> 
> For the love of all that's holy, does anybody who uses Windows have a
> way to easily manage or use icons for buttons? 

What exactly are the issues you are finding?

> I say somebody should
> create a standard set of buttons, then an easy-to-use button-image
> management program!

Sounds like a fair enough project. I'll put it onto my
to-do-sometime-I get-a-spare-moment list.

> Derek, does Win32Lib come with a standard portfolio
> of button images?

Sort of. There are three sets of XPM icon files in the demo folder...

 tbar_xpm.e
 tool_xpm.e
 xpm_icon.e



-- 
Derek Parnell
Melbourne, Australia

new topic     » goto parent     » topic index » view message » categorize

3. Re: Toolbar Button System

cklester wrote:
> 
> For the love of all that's holy, does anybody who uses Windows have a
> way to easily manage or use icons for buttons? I say somebody should
> create a standard set of buttons, then an easy-to-use button-image
> management program! Derek, does Win32Lib come with a standard portfolio
> of button images?

CK:
   Download win32eru.zip below and run the demo;
   and you will see how to do it.

Bernie

My files in archive:
http://www.rapideuphoria.com/w32engin.zip
http://www.rapideuphoria.com/mixedlib.zip
http://www.rapideuphoria.com/eu_engin.zip
http://www.rapideuphoria.com/win32eru.zip

new topic     » goto parent     » topic index » view message » categorize

4. Re: Toolbar Button System

Bernard Ryan wrote:
> 
>    Download win32eru.zip below and run the demo;
>    and you will see how to do it.

Bernie,

When I run that program, the buttons show two images per button.

Here's a screenshot: http://www.cklester.com/buttons2.jpg

I'm running Windows 2000 at 1024x768 if that matters.

-=ck
"Programming in a state of EUPHORIA."
http://www.cklester.com/euphoria/

new topic     » goto parent     » topic index » view message » categorize

5. Re: Toolbar Button System

Derek Parnell wrote:
> 
> cklester wrote:
> > 
> > For the love of all that's holy, does anybody who uses Windows have a
> > way to easily manage or use icons for buttons? 
> 
> What exactly are the issues you are finding?

Extracting button images from bitmaps containing multiple button images.

However, I'm going the route of XPMs, as they seem to be tons easier.

I looked at the GENERIC.EXW demo and it helped A LOT.

> Sounds like a fair enough project. I'll put it onto my
> to-do-sometime-I get-a-spare-moment list.

Don't you dare! All your spare moments should be for family and
Win32Lib (then come friends, work, etc.). heheh. :P

> Sort of. There are three sets of XPM icon files in the demo folder...
> 
>  tbar_xpm.e
>  tool_xpm.e
>  xpm_icon.e

Yes, this was exactly what I was looking for! Don has some nice-looking
button images in his Nexus editor, also, but using the XPM files seems
to be the easiest way to go and not have external resource files (that is,
bitmap files) required (meaning, I can include the images directly
in my program).

Now, are there libraries for XPM images?! You'd think there would be,
but I've googled from here to eternity-1 and haven't found any!!!

-=ck
"Programming in a state of EUPHORIA."
http://www.cklester.com/euphoria/

new topic     » goto parent     » topic index » view message » categorize

6. Re: Toolbar Button System

cklester wrote:
> 
> Now, are there libraries for XPM images?! You'd think there would be,
> but I've googled from here to eternity-1 and haven't found any!!!
> 
CK,

Check out my XPM Icon library in the user contributions.  There are a 
TON of XPMs in that library that you might find useful.  There is also
a browser but it doesn't work right all the time...no time to fix it,
though.

One word on using XPMs...I've found that using XPMs for toolbar buttons
is nice but if you disable the button the image gets mangled and doesn't
appear like you think it should.  Maybe my experience is unique and 
someone else knows how to use it correctly.  In one project I wound up
creating "disabled" versions of the XPMs in toolbar.xpm and setting the
images manually when I wanted to disable the button.

Good luck!

Jonas

new topic     » goto parent     » topic index » view message » categorize

7. Re: Toolbar Button System

Jonas Temple wrote:
> 
> Check out my XPM Icon library in the user contributions.

I don't know how I missed that. I coulda swore I searched the archive
for XPM... arrrrgh!

Thanks, Jonas! 2500 images?! AWESOME! :)

-=ck
"Programming in a state of EUPHORIA."
http://www.cklester.com/euphoria/

new topic     » goto parent     » topic index » view message » categorize

8. Re: Toolbar Button System

cklester wrote:
> When I run that program, the buttons show two images per button.
> 
> Here's a screenshot: <a
> href="http://www.cklester.com/buttons2.jpg">http://www.cklester.com/buttons2.jpg</a>
> 
> I'm running Windows 2000 at 1024x768 if that matters.
> 

CK:
   It seems that something has changed in the win32lib since
   I initialy tested that demo what changed I do not know.
   
   If you try the demo tbar.exw in w32engin.zip which is the same demo. 
    You will see that it will work up to 1280 X 1024;
    My display wont go any further.
     

Bernie

My files in archive:
http://www.rapideuphoria.com/w32engin.zip
http://www.rapideuphoria.com/mixedlib.zip
http://www.rapideuphoria.com/eu_engin.zip
http://www.rapideuphoria.com/win32eru.zip

new topic     » goto parent     » topic index » view message » categorize

9. Re: Toolbar Button System

cklester wrote:
> 
> Jonas Temple wrote:
> > 
> > Check out my XPM Icon library in the user contributions.
> 
> I don't know how I missed that. I coulda swore I searched the archive
> for XPM... arrrrgh!
> 
> Thanks, Jonas! 2500 images?! AWESOME! :)
> 
You're welcome.

Just for grins, I just ran xpmbrowse.exw and whatever problem the program
had before seems to be gone now!  I ran the program on XP Pro and all the
XPM "thumbnails" displayed fine.  Hmm.....

Jonas

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu