26 #include "common/events.h" 27 #include "common/str.h" 28 #include "lure/luredefs.h" 29 #include "lure/disk.h" 35 CursorType _cursorNum;
37 bool _lButton, _rButton, _mButton;
41 static Mouse &getReference();
46 void setCursorNum(CursorType cursorNum);
47 void setCursorNum(CursorType cursorNum,
int hotspotX,
int hotspotY);
48 CursorType getCursorNum() {
return _cursorNum; }
49 void setPosition(
int x,
int y);
50 int16 x() {
return _x; }
51 int16 y() {
return _y; }
52 bool lButton() {
return _lButton; }
53 bool rButton() {
return _rButton; }
54 bool mButton() {
return _mButton; }
55 void waitForRelease();
56 void pushCursorNum(CursorType cursorNum);
57 void pushCursorNum(CursorType cursorNum,
int hotspotX,
int hotspotY);
66 static Events &getReference();
70 bool interruptableDelay(uint32 milliseconds);
CustomEventType customType
Definition: events.h:226
EventType
Definition: events.h:49
uint32 CustomEventType
Definition: events.h:193
EventType type
Definition: events.h:202