diff options
| author | physick <mynameisgennadiy@vk.com> | 2026-08-11 21:08:37 +0500 |
|---|---|---|
| committer | physick <mynameisgennadiy@vk.com> | 2026-08-29 14:12:58 +0500 |
| commit | b1b2586afa06105291355a19f581016c347463bc (patch) | |
| tree | 8630d1fb394d9c006f42af0b7da92998bb1518b8 /src/ui_elements/UI.c | |
| parent | d51d95b66dee211ef654693fb23238d5a234f48c (diff) | |
arena + dir reading
Diffstat (limited to 'src/ui_elements/UI.c')
| -rw-r--r-- | src/ui_elements/UI.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui_elements/UI.c b/src/ui_elements/UI.c index 9daed74..9f17826 100644 --- a/src/ui_elements/UI.c +++ b/src/ui_elements/UI.c @@ -6,8 +6,8 @@ const int MAX_LINES = 8192; const int SPACING_H = 1; void DrawRecBordered(Rectangle rec, Color bg, Color border_color, int border_width) { - DrawRectangleRounded(rec, 0.015f, 8, bg); - DrawRectangleRoundedLinesEx(rec, 0.015f, 8, border_width, border_color); + DrawRectangleRounded(rec, ROUNDNESS, ROUNDNESS_SEGMENTS, bg); + DrawRectangleRoundedLinesEx(rec, ROUNDNESS, ROUNDNESS_SEGMENTS, border_width, border_color); } float MeasureChar(Font *font, int height, char symbol) { @@ -126,7 +126,7 @@ void DrawPageView(int y, unsigned int pages, unsigned int current_page) { .b = COLORSCHEME_WHITE.b, .a = COLORSCHEME_WHITE.a & PAGE_DOTS_TRANSPARENCY }; - DrawRectangleRounded(rec, 0.15f, 8, color); + DrawRectangleRounded(rec, ROUNDNESS, ROUNDNESS_SEGMENTS, color); int x_pos = (int)rec.x + PAGE_DOTS_PADDING + PAGE_DOTS_RADIUS; int y_pos = (int)rec.y + PAGE_DOTS_PADDING + PAGE_DOTS_RADIUS; |
