diff options
| author | physick <mynameisgennadiy@vk.com> | 2026-07-15 21:09:40 +0500 |
|---|---|---|
| committer | physick <mynameisgennadiy@vk.com> | 2026-07-15 21:09:40 +0500 |
| commit | 5344758bc04ef948f22e507531d54eccbff70e18 (patch) | |
| tree | 0d45d24899cf826497af9068496dca597d966cca /src/ui_elements/UI.h | |
| parent | 8b79b8149d1e23d90b5871f980aec65d8aa7ae23 (diff) | |
test verification
Diffstat (limited to 'src/ui_elements/UI.h')
| -rw-r--r-- | src/ui_elements/UI.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui_elements/UI.h b/src/ui_elements/UI.h index bab154c..06d127f 100644 --- a/src/ui_elements/UI.h +++ b/src/ui_elements/UI.h @@ -7,7 +7,9 @@ static const float SCROLL_SENC = 10; static const float TAB_WIDTH = 4; +// Sure about this value static const int MIN_FONT_SIZE = 10; +// Unsure about this value static const int MAX_FONT_SIZE = 100; void DrawRecBordered(Rectangle rec, Color bg, Color border_color, int border_width); @@ -22,6 +24,7 @@ static const size_t DEFAULT_TEXT_NODE_SIZE = 256; typedef struct { void *PrevNode; void *NextNode; + char *text; size_t len; size_t cap; |
