[AD] Multiple window icons

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


Hi,

Allegro doesn't support multiple window icons at the moment.
Here is a possibility:

    bool al_set_display_icons(ALLEGRO_DISPLAY *display,
	int num_icons, ALLEGRO_BITMAP *icons[]);

where num_icons >= 1.

On some systems, Allegro may just pass converted but otherwise unscaled
images through to the window environment, and let it choose the
appropriate one for whatever context (taskbar, alt-tab selector, etc.)

On other systems, Allegro may use an exact size bitmap if possible or
upscale the next smallest bitmap to the size required by the
environment.  I assume scaling up is preferable to scaling down at
icon resolutions.

How does that sound?

Peter




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