diff options
| author | Brian Potchik <brian@vector35.com> | 2020-11-07 17:37:22 -0500 |
|---|---|---|
| committer | Brian Potchik <brian@vector35.com> | 2020-11-07 17:37:22 -0500 |
| commit | 2c312c8d5bca189241377c564ff5e9fb35fe9de2 (patch) | |
| tree | 217243b0d18bb8650893a5e18b8beb837edd0757 /ui/linearview.h | |
| parent | bbec694624d4d8bb127864f1794c6466746f3aa8 (diff) | |
Improved view location preservation when duplicating existing views in the UI.
Diffstat (limited to 'ui/linearview.h')
| -rw-r--r-- | ui/linearview.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ui/linearview.h b/ui/linearview.h index ec3ad3fe..fc91106a 100644 --- a/ui/linearview.h +++ b/ui/linearview.h @@ -126,7 +126,7 @@ class BINARYNINJAUIAPI LinearView: public QAbstractScrollArea, public View, publ SettingsRef m_settings; DisassemblySettingsRef m_options; - BNFunctionGraphType m_type; + BNFunctionGraphType m_ilViewType; InstructionEdit* m_instrEdit; @@ -320,8 +320,10 @@ public: virtual HighlightTokenState getHighlightTokenState() override { return m_highlight; } + BNFunctionGraphType getILViewType() { return m_ilViewType; }; + void setILViewType(BNFunctionGraphType ilViewType); + void toggleOption(BNDisassemblyOption option); - void setViewType(BNFunctionGraphType type); virtual bool goToReference(FunctionRef func, uint64_t source, uint64_t target) override; QFont getFont() override { return m_render.getFont(); } |
