ui: dialogue: +id_map

This commit is contained in:
2026-02-23 16:32:02 +02:00
parent acd03b2769
commit 57b858f98f
22 changed files with 106 additions and 28 deletions
+3 -1
View File
@@ -6,7 +6,8 @@
#include <ncurses.h>
#include <stdint.h>
#include <widget_core.h>
#include <utils.h>
#define MAX_IDS 64
enum g_type { g_content, g_action };
enum d_color_scheme { dc_normal, dc_alert };
@@ -25,6 +26,7 @@ typedef struct {
bool needs_destroy;
coordinates_t *p_coordinates;
enum d_color_scheme color_scheme;
d_array_ptr_t id_map;
} dialogue_t;
void init_dialogue(dialogue_t *d, const char title[], const char text[],