summaryrefslogtreecommitdiff
path: root/include/engine.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/engine.h')
-rw-r--r--include/engine.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/engine.h b/include/engine.h
index cc78fc3..64e823d 100644
--- a/include/engine.h
+++ b/include/engine.h
@@ -18,12 +18,19 @@ namespace mogltk {
static void setcursorvisible(bool);
static bool getcursorvisible();
static bool quitrequested();
+ static int mouseX();
+ static int mouseY();
+ static int mousebuttons();
private:
static bool inited;
static bool postsetuped;
static bool appactive;
static bool cursorvisible;
static bool quitrequest;
+ static int mx;
+ static int my;
+ static int mbuttons;
+ static void updatemouse();
};
};