implementation of input

This commit is contained in:
2025-12-09 20:41:26 +02:00
parent c9a3dada2f
commit 1f85236351
14 changed files with 273 additions and 29 deletions
+11
View File
@@ -21,6 +21,16 @@ typedef struct {
void *resp_data;
} callback_args_t;
enum rsize {
s_auto,
s_1,
s_1_2,
s_1_3,
s_2_3,
s_1_4,
s_3_4,
};
typedef struct widget_t {
uint32_t id;
char title[DIALOGUE_TITLE];
@@ -30,6 +40,7 @@ typedef struct widget_t {
uint32_t m_y;
WINDOW *const *parent_win;
struct widget_t *w_parent;
enum rsize rsize;
void (*callback)(callback_args_t *args);
} widget_t;