diff options
| -rw-r--r-- | ui/flowgraphwidget.h | 3 | ||||
| -rw-r--r-- | ui/linearview.h | 3 |
2 files changed, 6 insertions, 0 deletions
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; }; diff --git a/ui/linearview.h b/ui/linearview.h index f792d921..628f099f 100644 --- a/ui/linearview.h +++ b/ui/linearview.h @@ -30,6 +30,9 @@ struct BINARYNINJAUIAPI LinearViewCursorPosition size_t lineIndex; size_t tokenIndex; size_t characterIndex; + // Directly from QMouseEvent, not used in comparators + int cursorX; + int cursorY; LinearViewCursorPosition(); LinearViewCursorPosition(const LinearViewCursorPosition& pos); |
