summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik@mailbox.org>2026-01-08 17:40:15 +0100
committerAldrik Ramaekers <aldrik@mailbox.org>2026-01-08 17:40:15 +0100
commit0d70098dd5b704f2953c63f0c827b46b11935b81 (patch)
tree05efcc8cfac52672b147c2a32a66f87a05f881e7 /include
parent9b87e0d3123bbc533c2e4d452b16fe82de0e5cd4 (diff)
setup window
Diffstat (limited to 'include')
-rw-r--r--include/ui.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/ui.hpp b/include/ui.hpp
index 9649eb8..8648518 100644
--- a/include/ui.hpp
+++ b/include/ui.hpp
@@ -34,6 +34,7 @@ namespace ui {
UI_PROJECTS = 5,
UI_SETTINGS = 6,
UI_LOG = 7,
+ UI_SETUP = 8,
UI_END
} main_state;
@@ -51,6 +52,8 @@ namespace ui {
extern ImFont* fontBig;
void set_state(main_state state);
+
+ void recreate_window_for_main_views();
// Draw calls.
void draw_main();
@@ -62,6 +65,7 @@ namespace ui {
void draw_earnings();
void draw_log();
void draw_tax_report();
+ void draw_setup();
// Setup calls.
void setup_invoices();
@@ -71,6 +75,7 @@ namespace ui {
void setup_expenses();
void setup_earnings();
void setup_tax_report();
+ void setup_setup();
// Destroy calls.
void destroy_invoices();
@@ -78,6 +83,7 @@ namespace ui {
void destroy_expenses();
void destroy_earnings();
void destroy_tax_report();
+ void destroy_setup();
}