Commit Graph

4 Commits

Author SHA1 Message Date
4630a157dc [Big Update] New Widget with new event framework
New Event Framework
Events from SDL2 will be dispatched in Frame::run(). In class Frame,
events are dispatched to Board::event(), and Board with dispatched them
to inner Board or Widget.
If an event is not solved, the Frame will try to solve it.
2017-04-06 21:53:53 +08:00
0d4b0a534d Add MouseMotionEvent. Fix MouseButtonEvent 2017-04-05 12:20:13 +08:00
660ae74c52 Add EventBase and EventHandleBase 2017-04-05 08:34:01 +08:00
499c25ddd3 Remove Event Handling in main file 2017-04-04 09:49:18 +08:00