summaryrefslogtreecommitdiffhomepage
path: root/src/raylib.h
diff options
context:
space:
mode:
authorubkp <[email protected]>2023-09-13 11:37:11 -0300
committerGitHub <[email protected]>2023-09-13 16:37:11 +0200
commit719365f209d046f3fccefce2974b3dcb2e75cc8f (patch)
treec9c127400ec721c443510b15b6bc2f434a8d13a8 /src/raylib.h
parent2b1849e57d23f3ba53a8ee5200303694f7a3a63a (diff)
downloadraylib-719365f209d046f3fccefce2974b3dcb2e75cc8f.tar.gz
raylib-719365f209d046f3fccefce2974b3dcb2e75cc8f.zip
Add SetWindowMaxSize for desktop and web (#3309)
* Add SetWindowMaxSize for desktop and web * Remove SizeInt and respective adjustments
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 4f3e3538..94e79a5f 100644
--- a/src/raylib.h
+++ b/src/raylib.h
@@ -961,6 +961,7 @@ RLAPI void SetWindowTitle(const char *title); // Set title f
RLAPI void SetWindowPosition(int x, int y); // Set window position on screen (only PLATFORM_DESKTOP)
RLAPI void SetWindowMonitor(int monitor); // Set monitor for the current window
RLAPI void SetWindowMinSize(int width, int height); // Set window minimum dimensions (for FLAG_WINDOW_RESIZABLE)
+RLAPI void SetWindowMaxSize(int width, int height); // Set window maximum dimensions (for FLAG_WINDOW_RESIZABLE)
RLAPI void SetWindowSize(int width, int height); // Set window dimensions
RLAPI void SetWindowOpacity(float opacity); // Set window opacity [0.0f..1.0f] (only PLATFORM_DESKTOP)
RLAPI void SetWindowFocused(void); // Set window focused (only PLATFORM_DESKTOP)