diff options
Diffstat (limited to 'ui/flowgraphwidget.h')
| -rw-r--r-- | ui/flowgraphwidget.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ui/flowgraphwidget.h b/ui/flowgraphwidget.h index 7a26f5a8..7407e00c 100644 --- a/ui/flowgraphwidget.h +++ b/ui/flowgraphwidget.h @@ -60,6 +60,9 @@ class BINARYNINJAUIAPI FlowGraphWidget: public QAbstractScrollArea, public View, size_t instrIndex; size_t lineIndexForAddress; size_t tokenIndex; + size_t characterIndex; + + bool operator<(const CursorPosition& other) const; }; BinaryViewRef m_data; @@ -246,6 +249,11 @@ public: void paintMiniGraphAndViewport(QWidget* owner); bool paintMiniGraph(QWidget* owner, QPainter& p); + void paintNode(QPainter& p, FlowGraphNodeRef& node, int minY, int maxY); + void paintHighlight(QPainter& p, const std::vector<BinaryNinja::DisassemblyTextLine>& lines, + int nodeX, int nodeWidth, int x, int y, size_t line, int tagIndent); + void paintEdge(QPainter& p, const FlowGraphNodeRef& node, const BinaryNinja::FlowGraphEdge& edge); + void showAddress(uint64_t addr, bool select = false); void showTopNode(); void showNode(FlowGraphNodeRef node); |
