2026 Renovation #3
@@ -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
@@ -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[]) {
|
||||||
|
|||||||
Reference in New Issue
Block a user