diff options
| author | David Moc <personal@cdatgoose.org> | 2026-06-02 13:50:21 +0200 |
|---|---|---|
| committer | David Moc <personal@cdatgoose.org> | 2026-06-02 13:50:21 +0200 |
| commit | a15cb041654ae307add0b998b526c87c3f42bf5f (patch) | |
| tree | 225bb4b70e9fa05aa5f4d2722a1a9cf5fc6fca7f /include/app.h | |
| parent | 6aeaa171dc1ca43392f53cbd02097f76e1b1c5a0 (diff) | |
Add plugin hooks and mode plugins
Diffstat (limited to 'include/app.h')
| -rw-r--r-- | include/app.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/app.h b/include/app.h index a420f00..9db977e 100644 --- a/include/app.h +++ b/include/app.h @@ -7,7 +7,8 @@ #include <GLFW/glfw3.h> #include <stddef.h> -#define ECEX_MINIBUFFER_SIZE 256 +#define ECEX_MINIBUFFER_SIZE 1024 +#define ECEX_MINIBUFFER_MAX_ROWS 6 #define ECEX_PREFIX_SIZE 128 typedef enum app_mode { @@ -89,11 +90,15 @@ typedef struct app { font_t font; char font_path[4096]; + unsigned long ui_revision_seen; + unsigned long font_revision_seen; + unsigned long message_revision_seen; } app_t; void app_init(app_t *app, ecex_t *ed); void app_set_window(app_t *app, GLFWwindow *window); void app_install_callbacks(app_t *app); +void app_sync_editor_ui(app_t *app); void app_message(app_t *app, const char *msg); #endif |
