Add more Window events

This commit is contained in:
Joshua Granick
2014-07-09 17:16:36 -07:00
parent 0faa375f72
commit 60679bd514
6 changed files with 127 additions and 10 deletions

View File

@@ -11,7 +11,12 @@ namespace lime {
enum WindowEventType {
WINDOW_ACTIVATE,
WINDOW_DEACTIVATE
WINDOW_CLOSE,
WINDOW_DEACTIVATE,
WINDOW_FOCUS_IN,
WINDOW_FOCUS_OUT,
WINDOW_MOVE,
WINDOW_RESIZE
};
@@ -27,7 +32,11 @@ namespace lime {
static void Dispatch (WindowEvent* event);
int height;
WindowEventType type;
int width;
int x;
int y;
};