glob2-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [glob2-devel] Widgets' Events handling system


From: Sébastien
Subject: Re: [glob2-devel] Widgets' Events handling system
Date: Fri, 28 Apr 2006 10:09:44 +0200
User-agent: KMail/1.9.1

Le Jeudi 27 Avril 2006 19:52, Nuage a écrit :
> Sébastien wrote:
> > Hi,
> >
> > I just commited the new Widgets' event handling system.
> >
> > Instead of having a single onSDLEvent method designed to handle all kind
> > of event, we know have a specific method for each event
> > (onSDLMouseMotion, onSDLKeyUp, etc.). This way instead of having a
> > switch in every onSDLEvent method, we have a single switch inside
> > Screen::dispatchEvents that call the appropriate method.
> >
> > Beware, onSDLEvent still exists but it is inly called for events that
> > haven't a specific method.
>
> Do you mind renaming it onSDLOtherEvent() ?
> This will be a bit more explicit and avoid unwanted compilation
> compatibility. So we can track any old fashion event use.
>
> Thank you for the work!
>
> Nuage
>
>
> _______________________________________________
> glob2-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/glob2-devel
I changed it for coherence reason... But it won't avoid compilation 
compatibility since old Widgets can still have a onSDLEvent method the only 
difference is that it'll never be called...
Normally I've ported everything to the new EventHandling system...




reply via email to

[Prev in Thread] Current Thread [Next in Thread]