More progress on bindings

This commit is contained in:
Joshua Granick
2018-05-25 15:44:09 -07:00
parent 4d2e8febe3
commit 5dc5f47dd4
22 changed files with 2138 additions and 58 deletions

View File

@@ -2,6 +2,7 @@
#define LIME_UI_MOUSE_EVENT_H
#include <hl.h>
#include <hx/CFFI.h>
#include <stdint.h>
@@ -19,6 +20,20 @@ namespace lime {
};
struct HL_MouseEvent {
hl_type* t;
int button;
double movementX;
double movementY;
MouseEventType type;
int windowID;
double x;
double y;
};
class MouseEvent {
public: