Added monitor functions
- Get number of monitors - Get size, physical size and name of primary monitor. Could pass monitor id instead not sure.
This commit is contained in:
parent
9efe5c6802
commit
1836e02c1e
2 changed files with 55 additions and 0 deletions
|
@ -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(void); // Get primary monitor width
|
||||
RLAPI int GetMonitorHeight(void); // Get primary monitor height
|
||||
RLAPI int GetMonitorPhysicalWidth(void); // Get primary monitor physical width in millimetres
|
||||
RLAPI int GetMonitorPhysicalHeight(void); // Get primary monitor physical height in millimetres
|
||||
RLAPI const char *GetMonitorName(void); // Get the human-readable, UTF-8 encoded name of the primary monitor
|
||||
|
||||
// Cursor-related functions
|
||||
RLAPI void ShowCursor(void); // Shows cursor
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue