added GetWindowHandle[GL/Native]

This commit is contained in:
Julianiolo 2021-06-20 13:27:15 +02:00
commit a9d85b0c3b
3 changed files with 19 additions and 7 deletions

View file

@ -15,7 +15,8 @@ SetWindowPosition|void|(int x, int y);|
SetWindowMonitor|void|(int monitor);|
SetWindowMinSize|void|(int width, int height);|
SetWindowSize|void|(int width, int height);|
GetWindowHandle|void *|(void);|
GetWindowHandleGL|void *|(void);|
GetWindowHandleNative|void *|(void);|
GetScreenWidth|int|(void);|
GetScreenHeight|int|(void);|
GetMonitorCount|int|(void);|

View file

@ -97,7 +97,10 @@
<Param name="int height" />
</Overload>
</KeyWord>
<KeyWord name="GetWindowHandle" func="yes">
<KeyWord name="GetWindowHandleGL" func="yes">
<Overload retVal="void" descr="Get opengl window handle"></Overload>
</KeyWord>
<KeyWord name="GetWindowHandleNative" func="yes">
<Overload retVal="void" descr="Get native window handle"></Overload>
</KeyWord>
<KeyWord name="GetScreenWidth" func="yes">

View file

@ -26,7 +26,8 @@ RLAPI void SetWindowPosition(int x, int y); // Set window
RLAPI void SetWindowMonitor(int monitor); // Set monitor for the current window (fullscreen mode)
RLAPI void SetWindowMinSize(int width, int height); // Set window minimum dimensions (for FLAG_WINDOW_RESIZABLE)
RLAPI void SetWindowSize(int width, int height); // Set window dimensions
RLAPI void *GetWindowHandle(void); // Get native window handle
RLAPI void *GetWindowHandleGL(void); // Get opengl window handle
RLAPI void *GetWindowHandleNative(void); // Get native window handle
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