Add adaptive text size

This commit is contained in:
2025-01-20 01:57:11 +01:00
parent d32c2fafb3
commit a0756a152f
4 changed files with 58 additions and 6 deletions

View File

@@ -37,4 +37,7 @@ private:
std::array<Unit, 2> unit = {0};
DnaManager manager;
Rectangle likedTextBox;
Rectangle genTextBox;
};

View File

@@ -1,4 +1,5 @@
#include <raylib.h>
Color ColorAdd(Color c1, Color c2);
Color ColorAddValue(Color c, int add);
Color ColorAddValue(Color c, int add);
Rectangle TextInSpace(Rectangle box, float textH, float textW, float margin);