diff options
| author | Ray <[email protected]> | 2019-01-21 10:32:14 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2019-01-21 10:32:14 +0100 |
| commit | 4467292a2d5a5e0fbe2c3a28f8ffb1480c7b66ed (patch) | |
| tree | 8768e9873ad6d050f9ff66a1eadb7bde24676f5a /src/raylib.h | |
| parent | e91c84e33a5ae1ab3a963445b545bbcde2298224 (diff) | |
| download | raylib-4467292a2d5a5e0fbe2c3a28f8ffb1480c7b66ed.tar.gz raylib-4467292a2d5a5e0fbe2c3a28f8ffb1480c7b66ed.zip | |
Review last PR formatting
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/raylib.h b/src/raylib.h index 11fe145b..f104ada8 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -423,14 +423,14 @@ typedef enum { // Trace log type typedef enum { - LOG_ALL, // Display all logs + LOG_ALL, // Display all logs LOG_TRACE, LOG_DEBUG, LOG_INFO, LOG_WARNING, LOG_ERROR, LOG_FATAL, - LOG_NONE // Disable logging + LOG_NONE // Disable logging } TraceLogType; // Keyboard keys @@ -900,10 +900,10 @@ RLAPI Color Fade(Color color, float alpha); // Color fade- // Misc. functions RLAPI void SetConfigFlags(unsigned char flags); // Setup window configuration flags (view FLAGS) -RLAPI void SetTraceLogLevel(int logType); // Set the current threshold (minimum) log level. -RLAPI void SetTraceLogExit(int logType); // Set the exit threshold (minimum) log level. -RLAPI void SetTraceLogCallback(TraceLogCallback callback); // Set a trace log callback to enable custom logging bypassing raylib's one -RLAPI void TraceLog(int logType, const char *text, ...); // Show trace log messages (LOG_INFO, LOG_WARNING, LOG_ERROR, LOG_DEBUG) +RLAPI void SetTraceLogLevel(int logType); // Set the current threshold (minimum) log level +RLAPI void SetTraceLogExit(int logType); // Set the exit threshold (minimum) log level +RLAPI void SetTraceLogCallback(TraceLogCallback callback); // Set a trace log callback to enable custom logging +RLAPI void TraceLog(int logType, const char *text, ...); // Show trace log messages (LOG_DEBUG, LOG_INFO, LOG_WARNING, LOG_ERROR) RLAPI void TakeScreenshot(const char *fileName); // Takes a screenshot of current screen (saved a .png) RLAPI int GetRandomValue(int min, int max); // Returns a random value between min and max (both included) |
