Skip to content

Commit 84f97bc

Browse files
authored
Merge pull request #352 from Bigfoot71/master
add `Window::GetMonitor()` method
2 parents 7d41ebe + 93e7885 commit 84f97bc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

include/Window.hpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,11 @@ class Window {
349349
*/
350350
static Vector2 GetPosition() { return ::GetWindowPosition(); }
351351

352+
/*
353+
* Get current window monitor
354+
*/
355+
static int GetMonitor() { return ::GetCurrentMonitor(); }
356+
352357
/**
353358
* Get window scale DPI factor
354359
*/

0 commit comments

Comments
 (0)