Re: [AD] Resizeable windows

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


Having a resizable Allegro window would really be useful.

Will an Allegro developer be able to resize his/her application
programmatically?

Can set_gfx_mode be called more than once from within an Allegro program?
For instance, can I or will I in the future be able to change my application
to go from full screen to windowed mode without having to restart?  That
would also be nice.

Kirk Black
President / Owner
Family Time! Interactive, L.L.C.
Mobile: 512.771.5762
Email: runesabre@xxxxxxxxxx

-----Original Message-----
From: alleg-developers-bounces@xxxxxxxxxx
[mailto:alleg-developers-bounces@xxxxxxxxxx] On Behalf Of Thomas
Fjellstrom
Sent: Saturday, August 19, 2006 8:57 PM
To: Coordination of admins/developers of the game programming library
Allegro
Subject: Re: [AD] Resizeable windows

On Saturday 19 August 2006 11:04 am, Elias Pschernig wrote:
> On Sat, 2006-08-19 at 17:57 +0100, Peter Hull wrote:
> > What's the plan for resizeable windows?
> >
> > There could be either
> > A flag (AL_RESIZEABLE) to al_create_display and an event to tell the
> > app it's been resized
> > or
> > An event which is a request for a resize, which a compliant app would
> > respond to by calling al_resize_display* If an app doesn't want to
> > resize it just ignores this message.
> > or
> > No resizing at all
> >
> > I prefer option (2) I think.
>
> I think (2) is problematic, because we may have to specify at window
> creation time if the window is resizable. And (3) already was ruled out
> some time ago.

I'm not sure anything but option2 will work properly. the app NEEDS to know 
when it gets resized. and I do believe theres a reason all the major gui 
toolkits do it the same way. it even makes it possible for a app to refuse 
the resize temporarily.

> --
> Elias Pschernig
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

-- 
Thomas Fjellstrom
tfjellstrom@xxxxxxxxxx

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
-- 
https://lists.sourceforge.net/lists/listinfo/alleg-developers





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