Re: [AD] Proposal for a set_icon function

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Quoting Elias Pschernig,
> wfixicon outputs a .ico and .rc file. "windres name.rc name.o" then creates
> the .o file to be linked. It might be quite useful, if you want to have icons
> under windows, but can only provide a .bmp. Outside of makefiles it is not
> much more than a standard ->.ico converter, but it has only about 150 lines.
> When used in a makefile, it is very nice. The source distribution of my
> current project compiles to icon-executables on BeOS as well as windows
> now with wfixicon and bfixicon, by only providing a single bitmap in any
> Allegro-readable format :)
> 
> I adjusted it to have exactly the same format as bfixicon, and can copy it
> to the /tools dir as well if it seems useful..

Just a thought, but wouldn't it be more logical to create a single fixicon
utility? What I mean is, make it so that wfixicon is compiled to fixicon under
windows, bfixicon is compiled to fixicon under BeOS etc.
I think this would give a more `platform independant' feel.

Evert



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/