Mercurial
comparison third_party/raylib/include/raygui.h @ 114:e2a73e64e8e6
[Postdog] Got history working.
| author | June Park <parkjune1995@gmail.com> |
|---|---|
| date | Tue, 06 Jan 2026 08:15:37 -0800 |
| parents | d6d578b49a19 |
| children | 7bd795bac997 |
comparison
equal
deleted
inserted
replaced
| 113:7a4e942814bc | 114:e2a73e64e8e6 |
|---|---|
| 6592 } | 6592 } |
| 6593 else if (state == STATE_DISABLED) | 6593 else if (state == STATE_DISABLED) |
| 6594 { | 6594 { |
| 6595 GuiDrawRectangle(bounds, GuiGetStyle(TEXTBOX, BORDER_WIDTH), GetColor(GuiGetStyle(TEXTBOX, BORDER + (state*3))), GetColor(GuiGetStyle(TEXTBOX, BASE_COLOR_DISABLED))); | 6595 GuiDrawRectangle(bounds, GuiGetStyle(TEXTBOX, BORDER_WIDTH), GetColor(GuiGetStyle(TEXTBOX, BORDER + (state*3))), GetColor(GuiGetStyle(TEXTBOX, BASE_COLOR_DISABLED))); |
| 6596 } | 6596 } |
| 6597 else GuiDrawRectangle(bounds, GuiGetStyle(TEXTBOX, BORDER_WIDTH), GetColor(GuiGetStyle(TEXTBOX, BORDER + (state*3))), BLANK); | 6597 else GuiDrawRectangle(bounds, GuiGetStyle(TEXTBOX, BORDER_WIDTH), GetColor(GuiGetStyle(TEXTBOX, BORDER + (state*3))), GetColor(GuiGetStyle(TEXTBOX, BASE_COLOR_PRESSED))); |
| 6598 | 6598 |
| 6599 // Draw text considering index offset if required | 6599 // Draw text considering index offset if required |
| 6600 // NOTE: Text index offset depends on cursor position | 6600 // NOTE: Text index offset depends on cursor position |
| 6601 // Set vertical alignment to top for multiline | 6601 // Set vertical alignment to top for multiline |
| 6602 int prevVerticalAlignment = GuiGetStyle(DEFAULT, TEXT_ALIGNMENT_VERTICAL); | 6602 int prevVerticalAlignment = GuiGetStyle(DEFAULT, TEXT_ALIGNMENT_VERTICAL); |