From d5856e5182b8b01ce961d6cb266d9a4460a0b369 Mon Sep 17 00:00:00 2001 From: raysan5 Date: Fri, 9 Jul 2021 18:49:50 +0200 Subject: [PATCH] Minor tweaks --- src/raygui.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/raygui.h b/src/raygui.h index 1bc5772..fdc8fee 100644 --- a/src/raygui.h +++ b/src/raygui.h @@ -516,8 +516,8 @@ RAYGUIDEF bool GuiCheckIconPixel(int iconId, int x, int y); // Check icon pi #endif #include // Required for: FILE, fopen(), fclose(), fprintf(), feof(), fscanf(), vsprintf() -#include // Required for: strlen() on GuiTextBox() -#include // Required for: roundf() on GuiColorPicker() +#include // Required for: strlen() [GuiTextBox()] +#include // Required for: roundf() [GuiColorPicker()] #if defined(RAYGUI_STANDALONE) #include // Required for: va_list, va_start(), vfprintf(), va_end() @@ -1373,7 +1373,7 @@ bool GuiDropdownBox(Rectangle bounds, const char *text, int *active, bool editMo // NOTE 2: Returns if KEY_ENTER pressed (useful for data validation) bool GuiTextBox(Rectangle bounds, char *text, int textSize, bool editMode) { - static int framesCounter = 0; // Required for blinking cursor + static int framesCounter = 0; // Blinking cursor counter GuiControlState state = guiState; bool pressed = false; @@ -1561,7 +1561,7 @@ bool GuiValueBox(Rectangle bounds, const char *text, int *value, int minValue, i #define VALUEBOX_MAX_CHARS 32 #endif - static int framesCounter = 0; // Required for blinking cursor + static int framesCounter = 0; // Blinking cursor counter GuiControlState state = guiState; bool pressed = false; @@ -1678,7 +1678,7 @@ bool GuiValueBox(Rectangle bounds, const char *text, int *value, int minValue, i // Text Box control with multiple lines bool GuiTextBoxMulti(Rectangle bounds, char *text, int textSize, bool editMode) { - static int framesCounter = 0; // Required for blinking cursor + static int framesCounter = 0; // Blinking cursor counter GuiControlState state = guiState; bool pressed = false;