Files
lime/project/include/ui/KeyEvent.h
2014-06-19 00:33:47 -07:00

39 lines
387 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 code;
KeyEventType type;
};
}
#endif