2026 Renovation #3

Merged
talksik merged 14 commits from 2026-remake into main 2026-10-03 20:20:17 +00:00
2 changed files with 7 additions and 4 deletions
Showing only changes of commit 38075b1071 - Show all commits
+1
View File
@@ -1,5 +1,6 @@
- [x] model window state - [x] model window state
- [ ] create 2d matrix, and render values in a grid
- [ ] math behind animation engine - [ ] math behind animation engine
- [ ] grid system for win / loss - [ ] grid system for win / loss
+6 -4
View File
@@ -7,7 +7,7 @@
#define WINDOW_HEIGHT 700 #define WINDOW_HEIGHT 700
#define WINDOW_WIDTH 500 #define WINDOW_WIDTH 500
#define OVERLAY_HEIGHT 300 #define OVERLAY_HEIGHT 400
#define OVERLAY_WIDTH 700 #define OVERLAY_WIDTH 700
bool edit_mode = true; bool edit_mode = true;
@@ -53,9 +53,11 @@ void render_overlay() {
switch_mode(WINDOW); switch_mode(WINDOW);
} }
GuiSetStyle(DEFAULT, TEXT_SIZE, 100); GuiSetStyle(DEFAULT, TEXT_SIZE, 75);
GuiSetStyle(LABEL, TEXT_ALIGNMENT, TEXT_ALIGN_CENTER); GuiSetStyle(DEFAULT, TEXT_WRAP_MODE, TEXT_WRAP_CHAR);
GuiLabel((Rectangle){0, (OVERLAY_HEIGHT / 2), OVERLAY_WIDTH, 50}, get_intention()); //GuiSetStyle(LABEL, TEXT_ALIGNMENT, TEXT_ALIGN_CENTER);
GuiLabel((Rectangle){0, 0, OVERLAY_WIDTH, OVERLAY_HEIGHT}, get_intention());
GuiSetStyle(DEFAULT, TEXT_WRAP_MODE, 0);
} }
int main(int argc, char *argv[]) { int main(int argc, char *argv[]) {