Commit Graph

7 Commits

Author SHA1 Message Date
d9fd64718e Update Event 2017-04-25 12:09:35 +08:00
f5bb092f79 Add KeyEvent 2017-04-25 10:18:26 +08:00
b9daea0f25 Add namespace MiniEngine::EventSystem 2017-04-25 10:15:12 +08:00
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