Début de la saeé

This commit is contained in:
lecointre
2025-11-25 13:12:45 +01:00
parent e9addbb184
commit 553532c887
15 changed files with 873 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
#ifndef MENU_VIEW_H
#define MENU_VIEW_H
struct MenuState {
int selected_image;
int rows;
int cols;
int ready;
};
void render_menu(const struct MenuState* menu);
void menu_handle_mouse(struct MenuState* menu, int x, int y);
void menu_handle_key(struct MenuState* menu, int key);
#endif