mirror of
https://github.com/seekrs/MacroLibX.git
synced 2026-01-11 14:43:34 +00:00
added show and hide cursor support, fixing technological debt from original mlx, fixed missaligned comments in mlx.h
This commit is contained in:
@@ -137,7 +137,7 @@ namespace mlx
|
||||
CHECK_WINDOW_PTR(win);
|
||||
if(str == nullptr)
|
||||
{
|
||||
Error("wrong text (NULL)");
|
||||
Error("invalid text (NULL)");
|
||||
return;
|
||||
}
|
||||
if(std::strlen(str) == 0)
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user