From f91f427d50fdefc8c351963ff6ea2305016dcc1d Mon Sep 17 00:00:00 2001 From: Glenn Smith Date: Thu, 15 Oct 2020 20:13:02 -0400 Subject: Keep track of mouse position when selecting --- ui/flowgraphwidget.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ui/flowgraphwidget.h') diff --git a/ui/flowgraphwidget.h b/ui/flowgraphwidget.h index 7407e00c..65254971 100644 --- a/ui/flowgraphwidget.h +++ b/ui/flowgraphwidget.h @@ -61,6 +61,9 @@ class BINARYNINJAUIAPI FlowGraphWidget: public QAbstractScrollArea, public View, size_t lineIndexForAddress; size_t tokenIndex; size_t characterIndex; + // Directly from QMouseEvent, not used in comparator + int cursorX; + int cursorY; bool operator<(const CursorPosition& other) const; }; -- cgit v1.3.1