Re: [AD] Proposal for a set_icon function

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


From: "Eric Botcazou" <ebotcazou@xxxxxxxxxx>


> > > Personally I find the mere idea of setting an icon at runtime lame...
> >
> > Why is this?
>
> Well, I was too lazy to write the complete sentence ;-)
> "Personally I find the mere idea of setting an icon at runtime lame if one
> can not set it first at compile time."
>
> > What if I want to change my icon on the fly to indicate status?
>
> But next I can't help writing ;-)
> "Personally I find that changing an icon at runtime is a gadget."

By nature, all icons are gadgets.  If an Allegro programmer wants his
Windows program to look professional, though, these kinds of things are
necessary.  I'd be happy with the IDI_APPLICATION thing (which does set it
at compile time) if set_window_title didn't wipe out the icon.  :(

--Chris






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