Files
lime/project/include/ui/KeyEvent.h
Joshua Granick 82c52c44d4 Working on using flat event data, instead of event objects
Conflicts:
	tools/ndll/Linux64/lime.ndll
2014-06-19 00:51:49 -07:00

40 lines
407 B
C++

#ifndef LIME_UI_KEY_EVENT_H
#define LIME_UI_KEY_EVENT_H
#include <hx/CFFI.h>
namespace lime {
enum KeyEventType {
KEY_DOWN,
KEY_UP
};
class KeyEvent {
public:
static AutoGCRoot* callback;
static AutoGCRoot* eventObject;
KeyEvent ();
static void Dispatch (KeyEvent* event);
int keyCode;
int modifier;
KeyEventType type;
};
}
#endif