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/linearview.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ui/linearview.h') 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); -- cgit v1.3.1