Add WindowEvent

This commit is contained in:
Joshua Granick
2014-06-09 12:30:20 -07:00
parent 565c124c9f
commit 0f6adf39d7
10 changed files with 281 additions and 66 deletions

View File

@@ -0,0 +1,38 @@
#ifndef LIME_UI_WINDOW_EVENT_H
#define LIME_UI_WINDOW_EVENT_H
#include <hx/CFFI.h>
namespace lime {
enum WindowEventType {
WINDOW_ACTIVATE,
WINDOW_DEACTIVATE
};
class WindowEvent {
public:
static AutoGCRoot* callback;
static AutoGCRoot* eventObject;
WindowEvent ();
static void Dispatch (WindowEvent* event);
WindowEventType type;
};
}
#endif