diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/third_party/raylib/custom.h	Thu Jan 15 08:29:26 2026 -0800
@@ -0,0 +1,24 @@
+#ifndef CUSTOM_UI
+#define CUSTOM_UI
+
+#include "dowa/dowa.h"
+
+// --- Functionality Helper --- //
+void DefaultBehaviours();
+void IncreaseFontSize();
+void DecreaseFontSize();
+
+// --- Layout helper --- //
+Rectangle RightOf(Rectangle ref, float padding);
+Rectangle Below(Rectangle ref, float padding);
+Rectangle LeftColumn(Rectangle container, float ratio, float padding);
+Rectangle RightColumn(Rectangle container, Rectangle leftCol, float padding);
+Rectangle HorizontalSplit(Rectangle container, float ratio);
+Rectangle AddPadding(Rectangle rect, float padding);
+Rectangle AddPaddingAll(Rectangle rect, float top, float right,float down, float left);
+Rectangle AddPaddingHorizontal(Rectangle rect, float padding);
+Rectangle AddPaddingVertical(Rectangle rect, float padding);
+
+void DrawRectangleSelectiveRounded(Rectangle rec, float radius, int segments, Color color, boolean roundTL, boolean roundTR, boolean roundBR, boolean roundBL);
+
+#endif // CUSTOM_UI