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/disassemblyview.h | |
| parent | bbec694624d4d8bb127864f1794c6466746f3aa8 (diff) | |
Improved view location preservation when duplicating existing views in the UI.
Diffstat (limited to 'ui/disassemblyview.h')
| -rw-r--r-- | ui/disassemblyview.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/ui/disassemblyview.h b/ui/disassemblyview.h index 4a053617..e689ce00 100644 --- a/ui/disassemblyview.h +++ b/ui/disassemblyview.h @@ -46,8 +46,9 @@ public: virtual StatusBarWidget* getStatusBarWidget() override; - void setGraphType(BNFunctionGraphType type); - BNFunctionGraphType getGraphType() { return m_graphType; }; + BNFunctionGraphType getILViewType() { return m_ilViewType; }; + void setILViewType(BNFunctionGraphType ilViewType); + void setOption(BNDisassemblyOption option, bool state = true); void toggleOption(BNDisassemblyOption option); @@ -86,7 +87,7 @@ private: void bindActions(); - BNFunctionGraphType m_graphType; + BNFunctionGraphType m_ilViewType; std::set<BNDisassemblyOption> m_options; DisassemblyContainer* m_container; SettingsRef m_settings; @@ -148,7 +149,7 @@ public: void updateFonts(); void setCurrentFunction(FunctionRef func); - void setGraphType(BNFunctionGraphType graphType); + void setILViewType(BNFunctionGraphType ilViewType); void setHighlightToken(const HighlightTokenState& state); virtual QSize sizeHint() const override; @@ -176,7 +177,7 @@ public: void updateFonts(); void refreshHeader(FunctionRef func); void setCurrentFunction(FunctionRef func); - void setGraphType(BNFunctionGraphType graphType); + void setILViewType(BNFunctionGraphType ilViewType); void setHeaderHighlightToken(const HighlightTokenState& state); protected: |
