summaryrefslogtreecommitdiff
path: root/ui/stackview.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/stackview.h')
-rw-r--r--ui/stackview.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/stackview.h b/ui/stackview.h
index 4837f9b3..433410de 100644
--- a/ui/stackview.h
+++ b/ui/stackview.h
@@ -198,6 +198,7 @@ class BINARYNINJAUIAPI StackView : public QAbstractScrollArea, public View
size_t m_lineIndex;
size_t m_tokenIndex;
bool m_needFirstFocus;
+ bool m_positionAware;
//! Bind and register all stack view actions.
void setupActions();
@@ -283,6 +284,9 @@ class BINARYNINJAUIAPI StackView : public QAbstractScrollArea, public View
//! Set the base offset to a constant (or clear on nullopt)
void setBaseOffset(FunctionRef func, std::optional<int64_t> offset);
+ //! Set whether we show only the vars relevant for the current address
+ void setPositionAware(bool positionAware);
+
//! Override the default event handler so we can have nice tooltips.
bool event(QEvent* event) override;