summaryrefslogtreecommitdiff
path: root/ui/linearview.h
diff options
context:
space:
mode:
authorGlenn Smith <glenn@vector35.com>2020-10-15 20:13:02 -0400
committerGlenn Smith <glenn@vector35.com>2020-10-15 20:29:38 -0400
commitf91f427d50fdefc8c351963ff6ea2305016dcc1d (patch)
treec9e2836a361cff61b9b57a8be6a7b0bcc15f4956 /ui/linearview.h
parent13fdbe08bd92171c6d79b45cf331a3d82c25c10c (diff)
Keep track of mouse position when selecting
Diffstat (limited to 'ui/linearview.h')
-rw-r--r--ui/linearview.h3
1 files changed, 3 insertions, 0 deletions
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);