hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/src/ui/ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/ui.h')
-rw-r--r--src/ui/ui.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ui/ui.h b/src/ui/ui.h
index dc2f76e..8c9bbbd 100644
--- a/src/ui/ui.h
+++ b/src/ui/ui.h
@@ -50,6 +50,8 @@ namespace Hsdbg
bool disassembly = true;
bool console = true;
bool profiler = true;
+ bool timeline = true;
+ bool macros = true;
bool demo = false;
};
@@ -74,6 +76,8 @@ namespace Hsdbg
auto draw_disassembly_panel(Debugger& debugger) -> void;
auto draw_console_panel(Debugger& debugger) -> void;
auto draw_profiler_panel(Debugger& debugger) -> void;
+ auto draw_timeline_panel(Debugger& debugger) -> void;
+ auto draw_macros_panel(Debugger& debugger) -> void;
auto push_console(std::string line) -> void;
auto report(const Result<void>& result, std::string_view action) -> void;
@@ -111,6 +115,10 @@ namespace Hsdbg
std::string m_source_filter;
std::string m_trace_input;
+ std::string m_macro_input;
+ std::string m_macro_output;
+ int m_macro_level = 0;
+
uint64_t m_followed_stop = 0;
std::filesystem::path m_followed_target;
@@ -119,6 +127,7 @@ namespace Hsdbg
bool m_console_scroll_pending = false;
bool m_load_target_pending = false;
bool m_focus_breakpoints = false;
+ bool m_focus_macros = false;
bool m_focus_symbols = false;
bool m_focus_disassembly = false;
bool m_scroll_to_program_counter = false;