Re: [AD] Proposal for a set_icon function

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


> Generally, I'd say the most useful thing there is using an
> Allegro bitmap -- anything else is platform-dependent so, if
> possible using standard API routines, might as well be done by
> the user directly.  Aside from image conversion, which could be
> useful.

Agreed on there


> I don't know whether people actually care very much what their
> icon is when they're running though -- it doesn't appear in many
> places.  In the old days it used to appear on the desktop, but
> not any more; the only place I know where you get a full-sized
> icon is in the Alt-Tab task switching box, and you get
> half-sized icons on the bar thing at the bottom of the screen
> and possibly as your control menu icon?  I don't remember.

Well, actually GDI mode and DIRECTX_WIN uses windows and shows
an ugly default icon =)
That's why mostly

 
> What most people want regarding icons is probably to be able to
> attach them to the executable.  Maybe there's more demand for a
> utility program which converts an Allegro bitmap into an
> OS-specific icon (scaling it and converting colour depth if
> required) so you can attach it.  I don't know how to attach in
> other OSes, and in Windows it varies between compilers, so even
> this is of limited use (you still need a load of OS and compiler
> specific commands to actually attach it, so it's not fully
> automated).  Simply converting the format is quite useful,
> though there's bound to be a utility online which already does
> this, surely? :)

in anyway, a seticon proposal to be able to set the window icon at runtime
(very like SDL does) is worth imho...



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