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 > [email protected] > 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...
_______________________________________________ glob2-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/glob2-devel
