summaryrefslogtreecommitdiff
path: root/src/ui_elements/UI.c
diff options
context:
space:
mode:
authorPhysick <96335032+DegustatorPonos@users.noreply.github.com>2026-07-07 23:41:37 +0500
committerPhysick <96335032+DegustatorPonos@users.noreply.github.com>2026-07-07 23:41:37 +0500
commit73efefa4c6800b04aedad9f6d80722caa66864a0 (patch)
treef1d5489d9c1660a4ae622bc3d4a31778369f9fc4 /src/ui_elements/UI.c
parent1a095735b1d8e7ade61ac4f936032e0c9dcc044f (diff)
design 1
Diffstat (limited to 'src/ui_elements/UI.c')
-rw-r--r--src/ui_elements/UI.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ui_elements/UI.c b/src/ui_elements/UI.c
new file mode 100644
index 0000000..fb469e3
--- /dev/null
+++ b/src/ui_elements/UI.c
@@ -0,0 +1,7 @@
+#include "UI.h"
+#include <raylib.h>
+
+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);
+}