From a33094a7f475a34efe7d30e758c6c5c8cb904c7c Mon Sep 17 00:00:00 2001 From: Iftikhar Ahmed Date: Sat, 30 Dec 2023 21:54:30 -0700 Subject: [PATCH] modified raylib.h with added prototype --- src/raylib.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/raylib.h b/src/raylib.h index 8b126141a..04c026b39 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -1440,7 +1440,8 @@ RLAPI void UnloadFont(Font font); RLAPI bool ExportFontAsCode(Font font, const char *fileName); // Export font as code file, returns true on success // Text drawing functions -RLAPI void DrawFPS(int posX, int posY); // Draw current FPS +RLAPI void DrawFPS(int posX, int posY); // Draw current FPS +RLAPI void DrawFPS(int posX, int posY, Color color); // Draw current FPS in custom color RLAPI void DrawText(const char *text, int posX, int posY, int fontSize, Color color); // Draw text (using default font) RLAPI void DrawTextEx(Font font, const char *text, Vector2 position, float fontSize, float spacing, Color tint); // Draw text using font and additional parameters RLAPI void DrawTextPro(Font font, const char *text, Vector2 position, Vector2 origin, float rotation, float fontSize, float spacing, Color tint); // Draw text using Font and pro parameters (rotation)