1 2 3 4 5 6 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); }