From feb80a2c787c3d9b46557acb3b8317e6e3dc5d22 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 8 Aug 2001 09:42:13 +0000 Subject: Added mouse dwell feature. --- src/Editor.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/Editor.h') diff --git a/src/Editor.h b/src/Editor.h index 0338467aa..5fdbbfae7 100644 --- a/src/Editor.h +++ b/src/Editor.h @@ -104,6 +104,9 @@ protected: // ScintillaBase subclass needs access to much of Editor Point lastClick; unsigned int lastClickTime; + int dwellDelay; + int ticksToDwell; + bool dwelling; enum { selChar, selWord, selLine } selectionType; Point ptMouseLast; bool firstExpose; @@ -259,6 +262,7 @@ protected: // ScintillaBase subclass needs access to much of Editor void NotifyPainted(); bool NotifyMarginClick(Point pt, bool shift, bool ctrl, bool alt); void NotifyNeedShown(int pos, int len); + void NotifyDwelling(Point pt, bool state); void NotifyModifyAttempt(Document *document, void *userData); void NotifySavePoint(Document *document, void *userData, bool atSavePoint); -- cgit v1.2.3