file list fixes

This commit is contained in:
2026-05-08 15:10:33 +03:00
parent 16be688712
commit b346e364c5
6 changed files with 36 additions and 11 deletions
+5 -1
View File
@@ -89,11 +89,15 @@ enum main_window_type {
mw_f_desc, /* file description */
};
typedef void (draw_f_t) (void *fui) ;
typedef struct main_window {
enum main_window_type type;
void *ui; /* structure which describes window UI */
int32_t (*cb_b_press) (void *app, void *args); /* callback on button press */
void (*cb_refresh) (void *app); /* refresh callback */
void (*cb_ui_refresh) (void *app); /* refresh callback */
void (*reset) (void *app); /* reset state of the window */
draw_f_t *draw;
struct action_key *b_keys;
int32_t b_keys_len;
} main_window_t;