25 #include "common/events.h" 38 kUninitializedCursor = 100,
53 bool isCursorOn()
const;
54 void setPosition(uint16 x, uint16 y);
55 CursorType getCursorType()
const {
return _cursorType; }
56 void setCursorType(CursorType cur);
57 void loadItemCursor(
const GameItem *item,
bool highlighted);
58 bool lButtonPressed()
const {
return _lButton; }
59 bool rButtonPressed()
const {
return _rButton; }
60 void lButtonSet(
bool state) { _lButton = state; }
61 void rButtonSet(
bool state) { _rButton = state; }
63 uint16 getPosX()
const {
return _x; }
64 uint16 getPosY()
const {
return _y; }
68 bool _lButton, _rButton;
69 CursorType _cursorType;
75 #endif // DRACI_MOUSE_H
Definition: animation.h:30