hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/src/ui/source_view.h
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2026-03-14 19:30:33 +0100
committerhachem <im@hachem.wtf>2026-03-14 19:30:33 +0100
commitfadc56fa2952ad4031247e9e642a0fa2eab92ee0 (patch)
treec8d535fad584825cc0746fa20987eade349de743 /src/ui/source_view.h
parent75c96946c9ad945fadede7d16130966f601ccaa7 (diff)
refactor: overhaul the ui
Diffstat (limited to 'src/ui/source_view.h')
-rw-r--r--src/ui/source_view.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/source_view.h b/src/ui/source_view.h
index bd0ae82..8b4c0a3 100644
--- a/src/ui/source_view.h
+++ b/src/ui/source_view.h
@@ -58,6 +58,8 @@ namespace Hsdbg
auto take_macro_request() -> std::optional<std::string>;
+ auto take_watch_request() -> std::optional<std::string>;
+
private:
auto draw_open_bar() -> void;
auto draw_lines(Debugger& debugger) -> void;
@@ -70,6 +72,7 @@ namespace Hsdbg
std::vector<std::vector<SourceSpan>> m_spans;
MacroTable m_macros;
std::optional<std::string> m_macro_request;
+ std::optional<std::string> m_watch_request;
bool m_highlight = false;
bool m_highlighting_enabled = true;
bool m_line_numbers = true;