summaryrefslogtreecommitdiff
path: root/include/engine.h
diff options
context:
space:
mode:
authorpixel <pixel>2003-03-09 17:58:46 +0000
committerpixel <pixel>2003-03-09 17:58:46 +0000
commit55ac920fdd64668b453955c7708028a04d942b3e (patch)
tree83f011eddf44fac3e25e5911fa86530507a11442 /include/engine.h
parent3e0ecd83bcc10000600e997e4e60ca84aa20bb59 (diff)
Testing mouse
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();
};
};