From c1af7c3edd127f24a86b951a4214d80264cceef8 Mon Sep 17 00:00:00 2001 From: Jaedeok Kim Date: Mon, 13 Sep 2021 01:04:22 +0900 Subject: [PATCH] Move declarations of GetCodepoint() and CodepointToUTF8() (#155) --- src/raygui.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/raygui.h b/src/raygui.h index 6d9a82a..19e020b 100644 --- a/src/raygui.h +++ b/src/raygui.h @@ -1235,6 +1235,9 @@ static const char **TextSplit(const char *text, char delimiter, int *count); static int TextToInteger(const char *text); // Get integer value from text static void DrawRectangleGradientV(int posX, int posY, int width, int height, Color color1, Color color2); // Draw rectangle vertical gradient + +static int GetCodepoint(const char *text, int *bytesProcessed); // Get next codepoint in a UTF-8 encoded text +static const char *CodepointToUTF8(int codepoint, int *byteSize); // Encode codepoint into UTF-8 text (char array size returned as parameter) //------------------------------------------------------------------------------- #endif // RAYGUI_STANDALONE @@ -1253,9 +1256,6 @@ static const char **GuiTextSplit(const char *text, int *count, int *textRow); static Vector3 ConvertHSVtoRGB(Vector3 hsv); // Convert color data from HSV to RGB static Vector3 ConvertRGBtoHSV(Vector3 rgb); // Convert color data from RGB to HSV -static const char *CodepointToUTF8(int codepoint, int *byteSize); // Encode codepoint into UTF-8 text (char array size returned as parameter) -static int GetCodepoint(const char *text, int *bytesProcessed); // Get next codepoint in a UTF-8 encoded text - //---------------------------------------------------------------------------------- // Gui Setup Functions Definition //----------------------------------------------------------------------------------