comparison third_party/raylib/custom.h @ 161:87d8d3eb3491

[PostDog] WIP to make it more mordern looking
author June Park <parkjune1995@gmail.com>
date Thu, 15 Jan 2026 08:29:26 -0800
parents
children 058de208e640
comparison
equal deleted inserted replaced
160:948de3f54cea 161:87d8d3eb3491
1 #ifndef CUSTOM_UI
2 #define CUSTOM_UI
3
4 #include "dowa/dowa.h"
5
6 // --- Functionality Helper --- //
7 void DefaultBehaviours();
8 void IncreaseFontSize();
9 void DecreaseFontSize();
10
11 // --- Layout helper --- //
12 Rectangle RightOf(Rectangle ref, float padding);
13 Rectangle Below(Rectangle ref, float padding);
14 Rectangle LeftColumn(Rectangle container, float ratio, float padding);
15 Rectangle RightColumn(Rectangle container, Rectangle leftCol, float padding);
16 Rectangle HorizontalSplit(Rectangle container, float ratio);
17 Rectangle AddPadding(Rectangle rect, float padding);
18 Rectangle AddPaddingAll(Rectangle rect, float top, float right,float down, float left);
19 Rectangle AddPaddingHorizontal(Rectangle rect, float padding);
20 Rectangle AddPaddingVertical(Rectangle rect, float padding);
21
22 void DrawRectangleSelectiveRounded(Rectangle rec, float radius, int segments, Color color, boolean roundTL, boolean roundTR, boolean roundBR, boolean roundBL);
23
24 #endif // CUSTOM_UI