summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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();
}