diff --git a/ui/stackview.h b/ui/stackview.h index 4837f9b38..433410dee 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 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;