summaryrefslogtreecommitdiffhomepage
path: root/src/raylib.h
diff options
context:
space:
mode:
authorTushar Singh <[email protected]>2021-12-30 17:43:50 +0530
committerGitHub <[email protected]>2021-12-30 13:13:50 +0100
commitd91b9171fa4d81dab8bcb84dc7e90a69fc908510 (patch)
treee5ab30b9fb5b2312609a9fd2e7f0bfacb8e55a3d /src/raylib.h
parentfef5be0bc79c366551d9b2fffd18ece8d3ddec8f (diff)
downloadraylib-d91b9171fa4d81dab8bcb84dc7e90a69fc908510.tar.gz
raylib-d91b9171fa4d81dab8bcb84dc7e90a69fc908510.zip
[Feature] Added SetWindowOpacity(float opacity) (#2254)
* Added drawing text with shadow * Added SetWindowOpacity() * Edited Mis-spell * Fixed conventions
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 c936afed..9be3e482 100644
--- a/src/raylib.h
+++ b/src/raylib.h
@@ -925,6 +925,7 @@ 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 SetWindowOpacity(float opacity); // Set window opacity, value opacity is between 0.0 and 1.0 (only PLATFORM_DESKTOP)
RLAPI void *GetWindowHandle(void); // Get native window handle
RLAPI int GetScreenWidth(void); // Get current screen width
RLAPI int GetScreenHeight(void); // Get current screen height