diff options
| author | raysan5 <[email protected]> | 2017-09-08 09:35:54 +0200 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2017-09-08 09:35:54 +0200 |
| commit | f3f6d3fd8ee5145a9ac8d66ebccc1d75e3e73dff (patch) | |
| tree | d57ca735ea0bec5492d5b99e5755299bcf20138c /src/raylib.h | |
| parent | fb334e2fd11ade79377a2d95a83000763c047975 (diff) | |
| download | raylib-f3f6d3fd8ee5145a9ac8d66ebccc1d75e3e73dff.tar.gz raylib-f3f6d3fd8ee5145a9ac8d66ebccc1d75e3e73dff.zip | |
Added new functions
SetWindowTitle()
GetExtension()
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/raylib.h b/src/raylib.h index 152b6aee..bc7a0677 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -701,6 +701,7 @@ RLAPI bool WindowShouldClose(void); // Check if KE RLAPI bool IsWindowMinimized(void); // Check if window has been minimized (or lost focus) RLAPI void ToggleFullscreen(void); // Toggle fullscreen mode (only PLATFORM_DESKTOP) RLAPI void SetWindowIcon(Image image); // Set icon for window (only PLATFORM_DESKTOP) +RLAPI void SetWindowTitle(const char *title); // Set title for window (only PLATFORM_DESKTOP) 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 (fullscreen mode) RLAPI void SetWindowMinSize(int width, int height); // Set window minimum dimensions (for FLAG_WINDOW_RESIZABLE) @@ -759,6 +760,7 @@ RLAPI int GetRandomValue(int min, int max); // Returns a r // Files management functions RLAPI bool IsFileExtension(const char *fileName, const char *ext);// Check file extension +RLAPI const char *GetExtension(const char *fileName); // Get file extension RLAPI const char *GetDirectoryPath(const char *fileName); // Get directory for a given fileName (with path) RLAPI const char *GetWorkingDirectory(void); // Get current working directory RLAPI bool ChangeDirectory(const char *dir); // Change working directory, returns true if success |
