diff options
author | pixel <pixel> | 2003-03-09 17:58:46 +0000 |
---|---|---|
committer | pixel <pixel> | 2003-03-09 17:58:46 +0000 |
commit | 55ac920fdd64668b453955c7708028a04d942b3e (patch) | |
tree | 83f011eddf44fac3e25e5911fa86530507a11442 /include | |
parent | 3e0ecd83bcc10000600e997e4e60ca84aa20bb59 (diff) |
Testing mouse
Diffstat (limited to 'include')
-rw-r--r-- | include/engine.h | 7 |
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(); }; }; |