Files
lime/project/include/ui/KeyEvent.h
2015-08-19 16:30:36 -07:00

42 lines
452 B
C++

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