Files
lime/project/include/ui/TextEvent.h
2015-05-12 07:11:21 -07:00

41 lines
435 B
C++

#ifndef LIME_UI_TEXT_EVENT_H
#define LIME_UI_TEXT_EVENT_H
#include <hx/CFFI.h>
namespace lime {
enum TextEventType {
TEXT_INPUT,
TEXT_EDIT
};
class TextEvent {
public:
static AutoGCRoot* callback;
static AutoGCRoot* eventObject;
TextEvent ();
static void Dispatch (TextEvent* event);
long length;
long start;
char text[32];
TextEventType type;
};
}
#endif