diff options
| author | Ray <[email protected]> | 2018-09-30 16:43:09 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-09-30 16:43:09 +0200 |
| commit | 47fab2f54d569554a185d820050a7a78826ae734 (patch) | |
| tree | 6e33ae383afb2c0166dd404904a9a553959c13d6 /src/raylib.h | |
| parent | 29eddb9ff3fda090ed416a2736a6d2db4cca77e9 (diff) | |
| parent | 67dc50ef0077b194fa51014880e531b126d0b059 (diff) | |
| download | raylib-47fab2f54d569554a185d820050a7a78826ae734.tar.gz raylib-47fab2f54d569554a185d820050a7a78826ae734.zip | |
Merge pull request #650 from ChrisDill/master
Added monitor functions
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/raylib.h b/src/raylib.h index a44b77ee..17c4234e 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -814,6 +814,12 @@ RLAPI void SetWindowMinSize(int width, int height); // Set window RLAPI void SetWindowSize(int width, int height); // Set window dimensions 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 GetMonitorWidth(int monitor); // Get primary monitor width +RLAPI int GetMonitorHeight(int monitor); // Get primary monitor height +RLAPI int GetMonitorPhysicalWidth(int monitor); // Get primary monitor physical width in millimetres +RLAPI int GetMonitorPhysicalHeight(int monitor); // Get primary monitor physical height in millimetres +RLAPI const char *GetMonitorName(int monitor); // Get the human-readable, UTF-8 encoded name of the primary monitor // Cursor-related functions RLAPI void ShowCursor(void); // Shows cursor |
