diff options
| author | jussi | 2022-03-31 12:58:50 +0300 |
|---|---|---|
| committer | jussi | 2022-03-31 12:58:50 +0300 |
| commit | a3c28c00016fb2a2bd13b36e7269c69b0529c6a4 (patch) | |
| tree | 03b1520eb2d3d0717bd584dd290e9720db2d950c /API.md | |
| parent | f5b723519f8dd9358db15ac5f366f6646905715f (diff) | |
| download | reilua-enhanced-a3c28c00016fb2a2bd13b36e7269c69b0529c6a4.tar.gz reilua-enhanced-a3c28c00016fb2a2bd13b36e7269c69b0529c6a4.tar.bz2 reilua-enhanced-a3c28c00016fb2a2bd13b36e7269c69b0529c6a4.zip | |
More window related functions.
Diffstat (limited to 'API.md')
| -rw-r--r-- | API.md | 117 |
1 files changed, 117 insertions, 0 deletions
@@ -702,6 +702,54 @@ int id. ModelAnimations --- +> state = RL_IsWindowReady() + +Check if window has been initialized successfully + +- Success return bool + +--- + +> state = RL_IsWindowFullscreen() + +Check if window is currently fullscreen + +- Success return bool + +--- + +> state = RL_IsWindowHidden() + +Check if window is currently hidden ( only PLATFORM_DESKTOP ) + +- Success return bool + +--- + +> state = RL_IsWindowMinimized() + +Check if window is currently minimized ( only PLATFORM_DESKTOP ) + +- Success return bool + +--- + +> state = RL_IsWindowMaximized() + +Check if window is currently maximized ( only PLATFORM_DESKTOP ) + +- Success return bool + +--- + +> state = RL_IsWindowFocused() + +Check if window is currently focused ( only PLATFORM_DESKTOP ) + +- Success return bool + +--- + > success = RL_SetWindowMonitor( int monitor ) Set monitor for the current window (fullscreen mode) @@ -729,6 +777,15 @@ Set window dimensions --- +> success = RL_SetWindowMinSize( Vector2 size ) + +Set window minimum dimensions ( for FLAG_WINDOW_RESIZABLE ) + +- Failure return false +- Success return true + +--- + > position = RL_GetMonitorPosition( int monitor ) Get specified monitor position @@ -823,12 +880,72 @@ Get number of connected monitors --- +> monitor = RL_GetCurrentMonitor() + +Get current connected monitor + +- Success return int + +--- + +> size = RL_GetMonitorPhysicalSize( int monitor ) + +Get specified monitor physical size in millimetres + +- Failure return false +- Success return Vector2 + +--- + +> size = RL_GetMonitorRefreshRate( int monitor ) + +Get specified monitor refresh rate + +- Failure return false +- Success return int + +--- + +> scale = RL_GetWindowScaleDPI() + +Get window scale DPI factor + +- Success return Vector2 + +--- + +> name = RL_GetMonitorName( int monitor ) + +Get the human-readable, UTF-8 encoded name of the monitor + +- Failure return false +- Success return string + +--- + > RL_CloseWindow() Close window and unload OpenGL context and free all resources --- +> success = RL_SetClipboardText( string text ) + +Set clipboard text content + +- Failure return false +- Success return true + +--- + +> text = RL_GetClipboardText() + +Get clipboard text content + +- Success return string + +--- + ## Core - Timing --- |
