summaryrefslogtreecommitdiffhomepage
path: root/src/raylib.h
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2017-04-16 13:47:49 +0200
committerraysan5 <[email protected]>2017-04-16 13:47:49 +0200
commit7e65c300b6927bff3fb9cfa84e98fd662941fc20 (patch)
treec082451401161daf5ea1b44a02aa7adf02df7e4b /src/raylib.h
parent9956344215f688ba3297ba50b239f3743f533d1d (diff)
downloadraylib-7e65c300b6927bff3fb9cfa84e98fd662941fc20.tar.gz
raylib-7e65c300b6927bff3fb9cfa84e98fd662941fc20.zip
Make public TakeScreenshot() function
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 e8f301ec..b82ec342 100644
--- a/src/raylib.h
+++ b/src/raylib.h
@@ -690,6 +690,7 @@ RLAPI Color Fade(Color color, float alpha); // Color fade-
RLAPI void ShowLogo(void); // Activates raylib logo at startup (can be done with flags)
RLAPI void SetConfigFlags(char flags); // Setup some window configuration flags
//RLAPI void TraceLog(int logType, const char *text, ...); // Show trace log messages (INFO, WARNING, ERROR, DEBUG)
+RLAPI void TakeScreenshot(void); // Takes a screenshot and saves it in the same folder as executable
RLAPI bool IsFileExtension(const char *fileName, const char *ext);// Check file extension
RLAPI bool IsFileDropped(void); // Check if a file have been dropped into window