From 93e7885bc475bcf69f32f4ebdbf398f007a9ed2f Mon Sep 17 00:00:00 2001 From: Le Juez Victor <90587919+Bigfoot71@users.noreply.github.com> Date: Thu, 13 Mar 2025 18:53:02 +0100 Subject: [PATCH] add `Window::GetMonitor()` method --- include/Window.hpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/Window.hpp b/include/Window.hpp index 34a42187..02283787 100644 --- a/include/Window.hpp +++ b/include/Window.hpp @@ -349,6 +349,11 @@ class Window { */ static Vector2 GetPosition() { return ::GetWindowPosition(); } + /* + * Get current window monitor + */ + static int GetMonitor() { return ::GetCurrentMonitor(); } + /** * Get window scale DPI factor */