mirror of
https://github.com/seekrs/MacroLibX.git
synced 2026-01-12 07:03:34 +00:00
yes
This commit is contained in:
@@ -15,6 +15,7 @@ namespace mlx
|
||||
inline int GetWidth() const noexcept { return m_width; }
|
||||
inline int GetHeight() const noexcept { return m_height; }
|
||||
inline std::uint32_t GetID() const noexcept { return m_id; }
|
||||
inline const std::string& GetName() const { return m_name; }
|
||||
|
||||
inline void MoveMouse(int x, int y) { SDLManager::Get().MoveMouseOnWindow(p_window, x, y); }
|
||||
inline void GetScreenSizeWindowIsOn(int* x, int* y) { SDLManager::Get().GetScreenSizeWindowIsOn(p_window, x, y); }
|
||||
@@ -29,6 +30,7 @@ namespace mlx
|
||||
~Window() { Destroy(); }
|
||||
|
||||
private:
|
||||
std::string m_name;
|
||||
Handle p_window = nullptr;
|
||||
std::int32_t m_id;
|
||||
int m_width = 0;
|
||||
|
||||
Reference in New Issue
Block a user