summaryrefslogtreecommitdiffhomepage
path: root/src/raylib.h
diff options
context:
space:
mode:
authorhristo <[email protected]>2020-12-29 14:37:08 +0200
committerGitHub <[email protected]>2020-12-29 13:37:08 +0100
commit75c6fd047bed24146fc6dca0c4a51c8555bc02e3 (patch)
treea4224ffc1443eb44fa6447247526b4e41d6817ab /src/raylib.h
parentd3db690c422862ba785d9f05f44d5e5068088bde (diff)
downloadraylib-75c6fd047bed24146fc6dca0c4a51c8555bc02e3.tar.gz
raylib-75c6fd047bed24146fc6dca0c4a51c8555bc02e3.zip
Monitor utilites (#1485)
* Added a new utility function to get the current monitor. Some of the other functions rely on passing on a monitor id but we only have a function for querying the count of monitors available. * Updated the comment to correctly reflect the function action
Diffstat (limited to 'src/raylib.h')
-rw-r--r--src/raylib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/raylib.h b/src/raylib.h
index 031640b1..fd85814b 100644
--- a/src/raylib.h
+++ b/src/raylib.h
@@ -916,6 +916,7 @@ RLAPI void *GetWindowHandle(void); // Get native
RLAPI int GetScreenWidth(void); // Get current screen width
RLAPI int GetScreenHeight(void); // Get current screen height
RLAPI int GetMonitorCount(void); // Get number of connected monitors
+RLAPI int GetCurrentMonitor(void); // Get current connected monitor
RLAPI Vector2 GetMonitorPosition(int monitor); // Get specified monitor position
RLAPI int GetMonitorWidth(int monitor); // Get specified monitor width
RLAPI int GetMonitorHeight(int monitor); // Get specified monitor height