2026 Renovation #3
+1
-1
@@ -90,7 +90,7 @@ void draw_graph(int x, int y) {
|
|||||||
if (result) {
|
if (result) {
|
||||||
GuiSetStyle(BUTTON, BASE_COLOR_NORMAL, ColorToInt(GREEN));
|
GuiSetStyle(BUTTON, BASE_COLOR_NORMAL, ColorToInt(GREEN));
|
||||||
} else {
|
} else {
|
||||||
GuiSetStyle(BUTTON, BASE_COLOR_NORMAL, ColorToInt(GRAY));
|
GuiSetStyle(BUTTON, BASE_COLOR_NORMAL, ColorToInt(BLANK));
|
||||||
}
|
}
|
||||||
if (GuiButton((Rectangle) {cell_x + x, cell_y + y, CELL_SIZE, CELL_SIZE}, " ")) {
|
if (GuiButton((Rectangle) {cell_x + x, cell_y + y, CELL_SIZE, CELL_SIZE}, " ")) {
|
||||||
printf("clicked row %d | column %d\n", r, c);
|
printf("clicked row %d | column %d\n", r, c);
|
||||||
|
|||||||
Reference in New Issue
Block a user