added show and hide cursor support, fixing technological debt from original mlx, fixed missaligned comments in mlx.h

This commit is contained in:
Kbz-8
2024-10-31 15:16:01 +01:00
parent fc404a4d22
commit 77f1a2d8f8
7 changed files with 205 additions and 205 deletions

View File

@@ -22,6 +22,9 @@ namespace mlx
void GetScreenSizeWindowIsOn(Handle window, int* x, int* y) const noexcept;
void SetWindowPosition(Handle window, int x, int y) const noexcept;
static void HideCursor() noexcept;
static void ShowCursor() noexcept;
std::int32_t GetX() const noexcept;
std::int32_t GetY() const noexcept;
std::int32_t GetXRel() const noexcept;