1. Packaging Icons for distribution

Ok, this is probably a simple to answer question, but I'm gonna ask it anyway :)

Is there a standard way of packaging a lot of small icons, as used within
buttons in a win32lib app, into a single resource-like file?
I currently have a separate directory with the .ico's in, but it's really a
messy distribution option IMHO.  I would prefer to either incorporate the icons
into the exe or have a single virtual file thing that I can load the icons from. 
I'm currently using addIcon(extractIcon("..file..")) to append the individual
files to a imageList sequence for later use with ListViews, TreeViews, etc.  And
I also refer to the files directly for PictureButton's during the create call.
Is there a better, neater way of doing this?

Please don't say "use a resource editor from Visual Studio.." or suchlike - I'm
only using Euphoria, UltraEdit and Photoshop to develop this :)

I thought about an XPM pack/include, but I'm not to hot on how to convert the
ico's across.

Thanks in advance,

Dave

. .. : :: = == == = :: : .. .
Server-Side DB driven web sites,
Software Development
and part-time games developer

contact dave_p at purpletiger dot com
. .. : :: = == == = :: : .. .

new topic     » topic index » view message » categorize

2. Re: Packaging Icons for distribution

Dave Probert wrote:
> 
> Ok, this is probably a simple to answer question, but I'm gonna ask it anyway
> :)
> 
> Is there a standard way of packaging a lot of small icons, as used within
> buttons in
> a win32lib app, into a single resource-like file?
 
Dave:

Take a look at win32eru.ew.
Run the toolbar demo.

Bernie

My files in archive:
w32engin.ew mixedlib.e eu_engin.e win32eru.ew

Can be downloaded here:
http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=bernie+ryan

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

3. Re: Packaging Icons for distribution

i package icons in my programs a different way. using a library in the
archived call the sequencer, i turn my icons into sequences, which i
embed inside the program itself. i then extract the icons on execution
and viola - all your icons in one package.

demo program here: http://otterdad.dynip.com/filez/embed-icons.zip

Yours, OtterDad

Don't sweat it -- it's not real life. It's only ones and zeroes. Gene Spafford

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

Search



Quick Links

User menu

Not signed in.

Misc Menu