summaryrefslogtreecommitdiff
path: root/ui/flowgraphwidget.h
diff options
context:
space:
mode:
authorXusheng <xusheng@vector35.com>2020-11-16 17:51:46 +0800
committerXusheng <xusheng@vector35.com>2021-02-17 12:05:47 +0800
commitd9b1df165f9daad6a5229718ecd0ee50a5ef6bf1 (patch)
tree6307b8c16c80f8203bdb96ebc3d54a8d9f10b3bf /ui/flowgraphwidget.h
parentb651141704a555cf0b6c53152ab0f70d011ec8af (diff)
add support for type xref and variable xref
Diffstat (limited to 'ui/flowgraphwidget.h')
-rw-r--r--ui/flowgraphwidget.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/flowgraphwidget.h b/ui/flowgraphwidget.h
index 7b6fc036..1b313c31 100644
--- a/ui/flowgraphwidget.h
+++ b/ui/flowgraphwidget.h
@@ -213,7 +213,7 @@ public:
virtual BinaryViewRef getData() override { return m_data; }
virtual uint64_t getCurrentOffset() override;
virtual BNAddressRange getSelectionOffsets() override;
- virtual BNAddressRange getSelectionForInfo() override;
+ virtual SelectionInfoForXref getSelectionForXref() override;
virtual void setSelectionOffsets(BNAddressRange range) override;
virtual bool navigate(uint64_t pos) override;
virtual bool navigateToFunction(FunctionRef func, uint64_t pos) override;
@@ -275,7 +275,7 @@ public:
void showLineInNode(FlowGraphNodeRef node, size_t lineIndex);
void ensureCursorVisible();
- void viewInTypesView(std::string typeName);
+ void viewInTypesView(std::string typeName, uint64_t offset = 0);
void setInstructionHighlight(BNHighlightColor color);
void setBlockHighlight(BNHighlightColor color);