Mercurial
view third_party/raylib/custom.h @ 162:8ceb5d3c6bdd
Playing around with some random graphcis.
| author | June Park <parkjune1995@gmail.com> |
|---|---|
| date | Mon, 19 Jan 2026 04:51:50 -0800 |
| parents | 87d8d3eb3491 |
| children | 058de208e640 |
line wrap: on
line source
#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