From b1b2586afa06105291355a19f581016c347463bc Mon Sep 17 00:00:00 2001 From: physick Date: Tue, 11 Aug 2026 21:08:37 +0500 Subject: arena + dir reading --- src/ui_elements/UI.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/ui_elements/UI.c') 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; -- cgit v1.3