diff options
| author | Brian Potchik <brian@vector35.com> | 2024-10-19 11:13:54 -0400 |
|---|---|---|
| committer | Brian Potchik <brian@vector35.com> | 2024-10-19 11:13:54 -0400 |
| commit | f5273b29f60826b693b45404a8a428d3f1d1bda5 (patch) | |
| tree | 98a235307b21266355f328197bfb8389c75e3ba5 /ui | |
| parent | c9793998fcfa0ebf04cccb3937229b745ccb8bfd (diff) | |
Improved support for interactive flowgraphs.
Diffstat (limited to 'ui')
| -rw-r--r-- | ui/flowgraphwidget.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/flowgraphwidget.h b/ui/flowgraphwidget.h index 321a8480..e41c8586 100644 --- a/ui/flowgraphwidget.h +++ b/ui/flowgraphwidget.h @@ -262,6 +262,7 @@ class BINARYNINJAUIAPI FlowGraphWidget : virtual bool canCopyWithTransform() override; virtual bool canCut() override; virtual bool canCopy() override; + virtual bool canCopyAddress() override; virtual bool canPaste() override; virtual void cut() override; virtual void copy(TransformRef xform) override; @@ -312,7 +313,7 @@ class BINARYNINJAUIAPI FlowGraphWidget : virtual bool goToReference(FunctionRef func, uint64_t source, uint64_t target) override; - void setHighlightToken(const HighlightTokenState& state, bool notify = true); + void setHighlightToken(const HighlightTokenState& state, bool notify = true, bool update = false); virtual void notifyUpdateInProgress(FunctionRef func); virtual void onFunctionSelected(FunctionRef func); @@ -323,8 +324,7 @@ class BINARYNINJAUIAPI FlowGraphWidget : // and they have out parameters (and thus need to be re-implemented) they must be public bool getNodeForMouseEvent(QMouseEvent* event, FlowGraphNodeRef& node); bool getLineForMouseEvent(QMouseEvent* event, CursorPosition& pos); - bool getEdgeForMouseEvent( - QMouseEvent* event, FlowGraphNodeRef& source, BinaryNinja::FlowGraphEdge& edge, bool& incoming); + bool getEdgeForMouseEvent(QMouseEvent* event, FlowGraphNodeRef& source, BinaryNinja::FlowGraphEdge& edge, bool& incoming); FlowGraphWidget* duplicate(); |
