Re: [AD] Resizeable windows

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


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




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