25 #ifndef RAYLIB_CPP_INCLUDE_MOUSE_HPP_
26 #define RAYLIB_CPP_INCLUDE_MOUSE_HPP_
28 #include "./raylib.hpp"
30 #include "./Vector2.hpp"
36 return ::IsMouseButtonPressed(button);
40 return ::IsMouseButtonDown(button);
44 return ::IsMouseButtonReleased(button);
48 return ::IsMouseButtonUp(button);
60 ::SetMouseOffset(x,
GetY());
65 ::SetMouseOffset(
GetX(), y);
70 return ::GetMousePosition();
74 ::SetMousePosition(x, y);
79 ::SetMouseOffset(offsetX, offsetY);
84 ::SetMouseScale(scaleX, scaleY);
89 return ::GetMouseWheelMove();
93 return ::GetMouseCursor();
97 ::SetMouseCursor(cursor);
102 return ::GetTouchX();
106 return ::GetTouchY();
110 return ::GetTouchPosition(index);
115 #endif // RAYLIB_CPP_INCLUDE_MOUSE_HPP_