summaryrefslogtreecommitdiffhomepage
path: root/src/raylib.h
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2021-08-11 18:31:32 +0200
committerraysan5 <[email protected]>2021-08-11 18:31:32 +0200
commit5a259fa10ffb1ad44528d2678d3781cddd0bb1c0 (patch)
tree34b56e3182114a0b601fd79a4f8d81ac1fb3d0e2 /src/raylib.h
parent0ba49cce45405a688f7e7893e203f7d3f0bc780c (diff)
downloadraylib-5a259fa10ffb1ad44528d2678d3781cddd0bb1c0.tar.gz
raylib-5a259fa10ffb1ad44528d2678d3781cddd0bb1c0.zip
WARNING: REMOVED: DrawTextRec() and DrawTextRecEx()
- DrawTextRec() and DrawTextRecEx() have been moved to example, those functions could be very specific depending on user needs so it's better to give the user the full source in case of special requirements instead of allowing a function with +10 input parameters.
Diffstat (limited to 'src/raylib.h')
-rw-r--r--src/raylib.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/raylib.h b/src/raylib.h
index f02f46f6..fc64858e 100644
--- a/src/raylib.h
+++ b/src/raylib.h
@@ -1329,9 +1329,6 @@ RLAPI void UnloadFont(Font font);
RLAPI void DrawFPS(int posX, int posY); // Draw current FPS
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);
-RLAPI void DrawTextRec(Font font, const char *text, Rectangle rec, float fontSize, float spacing, bool wordWrap, Color tint); // Draw text using font inside rectangle limits
-RLAPI void DrawTextRecEx(Font font, const char *text, Rectangle rec, float fontSize, float spacing, bool wordWrap, Color tint, int selectStart, int selectLength, Color selectTint, Color selectBackTint); // Draw text using font inside rectangle limits with support for text selection
RLAPI void DrawTextCodepoint(Font font, int codepoint, Vector2 position, float fontSize, Color tint); // Draw one character (codepoint)
// Text misc. functions