Re: [AD] Proposal for a set_icon function

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


On 18 Aug 2001, Angelo Mottola <a.mottola@xxxxxxxxxx> wrote:
> >What do you mean by "shared by all ports" ? Would such a function be really
> >portable ? What of the n X window managers, the m Unix desktop
> >environments... ?
> 
> I thought there was a way to set the window icon into Xlib... maybe I'm 
> wrong. 

Yes, it's possible.  I tried it a few days ago.

> I see your points and that's fine to me. But if we provide the user with an 
> utility to setup the icon of a program, what do you think it would have to 
> look like? If that is the way to go, I'd try to make it as much os-
> indipendent as possible, i.e. some command line tool which would be called in 
> a way like (for example):
> 
> fixicon myprogram.exe myicon.bmp|pcx|tga|...
> 
> And it would do all the dirty stuff to provide the OS-dependent executable to
> have an icon attached to it. Could this be doable, even with some evil hacks?

Well, it wouldn't do anything for Unix/X programs.

-- 
NARCOLEPULACY (nar ko LEP ul ah see), n.  The contagious act of yawning
which causes everyone else in sight to also yawn.
	-- Rich Hall, "Sniglets"



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