diff options
| author | Rusty Wagner <rusty@vector35.com> | 2019-02-28 22:18:52 -0500 |
|---|---|---|
| committer | Rusty Wagner <rusty@vector35.com> | 2019-03-20 12:58:42 -0400 |
| commit | 4ed3228ecdb1a6ec5b22341ae2ddd1b090577628 (patch) | |
| tree | 9acbe4a714d6929b5fc26154a82c92a48da4a44c /binaryninjaapi.h | |
| parent | 6e05d56c53c31ac2b87cc64b48d6b501b1ca0650 (diff) | |
Add flow graph options for additional UI features
Diffstat (limited to 'binaryninjaapi.h')
| -rw-r--r-- | binaryninjaapi.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h index c374d954..236bde65 100644 --- a/binaryninjaapi.h +++ b/binaryninjaapi.h @@ -2776,7 +2776,9 @@ namespace BinaryNinja FlowGraph(); Ref<Function> GetFunction() const; + Ref<BinaryView> GetView() const; void SetFunction(Function* func); + void SetView(BinaryView* view); int GetHorizontalNodeMargin() const; int GetVerticalNodeMargin() const; @@ -2805,6 +2807,9 @@ namespace BinaryNinja void Show(const std::string& title); virtual Ref<FlowGraph> Update(); + + void SetOption(BNFlowGraphOption option, bool value = true); + bool IsOptionSet(BNFlowGraphOption option); }; class CoreFlowGraph: public FlowGraph |
