|
From: | Sébastien |
Subject: | [glob2-devel] Widgets' Events handling system |
Date: | Wed, 26 Apr 2006 10:25:06 +0200 |
User-agent: | KMail/1.9.1 |
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 |
[Prev in Thread] | Current Thread | [Next in Thread] |