comparison third_party/raylib/include/raygui.h @ 163:058de208e640

[Config] Adding os ignore files.
author June Park <parkjune1995@gmail.com>
date Mon, 19 Jan 2026 04:52:02 -0800
parents 87d8d3eb3491
children
comparison
equal deleted inserted replaced
162:8ceb5d3c6bdd 163:058de208e640
3160 //-------------------------------------------------------------------- 3160 //--------------------------------------------------------------------
3161 3161
3162 // Draw control 3162 // Draw control
3163 //-------------------------------------------------------------------- 3163 //--------------------------------------------------------------------
3164 if (state == STATE_PRESSED) 3164 if (state == STATE_PRESSED)
3165 { 3165 GuiDrawRectangle(bounds, 0, GetColor(GuiGetStyle(TEXTBOX, BORDER + (state*3))), BLANK);
3166 GuiDrawRectangle(bounds, GuiGetStyle(TEXTBOX, BORDER_WIDTH), GetColor(GuiGetStyle(TEXTBOX, BORDER + (state*3))), GetColor(GuiGetStyle(TEXTBOX, BASE_COLOR_PRESSED)));
3167 }
3168 else if (state == STATE_DISABLED) 3166 else if (state == STATE_DISABLED)
3169 { 3167 GuiDrawRectangle(bounds, 0, GetColor(GuiGetStyle(TEXTBOX, BORDER + (state*3))), GetColor(GuiGetStyle(TEXTBOX, BASE_COLOR_DISABLED)));
3170 GuiDrawRectangle(bounds, GuiGetStyle(TEXTBOX, BORDER_WIDTH), GetColor(GuiGetStyle(TEXTBOX, BORDER + (state*3))), GetColor(GuiGetStyle(TEXTBOX, BASE_COLOR_DISABLED))); 3168 else GuiDrawRectangle(bounds, 0, GetColor(GuiGetStyle(TEXTBOX, BORDER + (state*3))), BLANK);
3171 }
3172 else GuiDrawRectangle(bounds, GuiGetStyle(TEXTBOX, BORDER_WIDTH), GetColor(GuiGetStyle(TEXTBOX, BORDER + (state*3))), BLANK);
3173 3169
3174 // Draw text considering index offset if required 3170 // Draw text considering index offset if required
3175 // NOTE: Text index offset depends on cursor position 3171 // NOTE: Text index offset depends on cursor position
3176 GuiDrawText(text + textIndexOffset, textBounds, GuiGetStyle(TEXTBOX, TEXT_ALIGNMENT), GetColor(GuiGetStyle(TEXTBOX, TEXT + (state*3)))); 3172 GuiDrawText(text + textIndexOffset, textBounds, GuiGetStyle(TEXTBOX, TEXT_ALIGNMENT), GetColor(GuiGetStyle(TEXTBOX, TEXT + (state*3))));
3177 3173