finished modal callbacks system

This commit is contained in:
2025-12-08 17:02:20 +02:00
parent 568876a7ef
commit c9a3dada2f
14 changed files with 138 additions and 140 deletions
+5 -8
View File
@@ -10,23 +10,20 @@ typedef enum {
} color;
typedef enum {
none_active = 0,
none = 0,
login = 1,
} dialogue_e;
typedef struct {
WINDOW *win;
WINDOW *menu_win;
WINDOW *action_win;
WINDOW *left_win;
WINDOW *right_win;
struct {
dialogue_e active;
dialogue_e type;
dialogue_t dialogue;
} modal;
// menu_bar_t *menu_bar;
// menu_t *menus;
// active_win_e active;
int cur_y, cur_x;
params_t *params;
} app_t;
app_t *init_app();