|
- #ifndef NESE_MENU_H_
- #define NESE_MENU_H_
-
- #include "cartinfo.h"
- #include "action.h"
-
-
- typedef struct {
- int cursor;
- int top;
- } Menu_State;
-
- typedef struct {
- int count;
- char** files;
- } File_List;
-
- nese_Action run_menu(void*, Menu_State* state, const File_List* files, int x);
-
- nese_Action modal_popup(void*, const char* message, uint32_t color);
-
-
- #endif // NESE_MENU_H_
|