Début de la saeé
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user