|
MostlyHarmless 0.0.1
|
Functions | |
| auto | setCursorState (bool show) -> void |
| auto | getCursorPosition (std::uint32_t *x, std::uint32_t *y) -> void |
| auto | setCursorPosition (std::uint32_t x, std::uint32_t y) -> void |
| auto mostly_harmless::gui::cursor::getCursorPosition | ( | std::uint32_t * | x, |
| std::uint32_t * | y ) -> void |
Retrieves the screen x & y for the cursor, and stores the results in x and y.
| x | A pointer to a var to store the cursor's x position in. |
| y | A pointer to a var to store the cursor's y position in. |
| auto mostly_harmless::gui::cursor::setCursorPosition | ( | std::uint32_t | x, |
| std::uint32_t | y ) -> void |
Sets the cursor's position to the specified (screen) x & y coords.
| x | The new x position for the cursor (in screen bounds). |
| y | The new y position for the cursor (in screen bounds). |
| auto mostly_harmless::gui::cursor::setCursorState | ( | bool | show | ) | -> void |
Shows or hides the cursor
| show | Whether the cursor should be shown or hidden. |