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.

All classes should have been modified consequently... If not, please tell me or correct

I'll now delete const char* stuff in order to have a consistent design (only strings)

Sébastien

_______________________________________________
glob2-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/glob2-devel

Reply via email to