39 aWTimer(
"vcl::SelectionEngine aWTimer" ),
58 if ( !aArea.Contains( aLastMove.GetPosPixel() ) )
59 SelMouseMove( aLastMove );
124 if ( !nSwap && (nModifier &
KEY_MOD2) )
260#if defined IOS || defined ANDROID
261 const bool bDoMessWithSelection = !rMEvt.
IsRight();
263 constexpr bool bDoMessWithSelection =
true;
281 if (bDoMessWithSelection)
286 if (bDoMessWithSelection)
289 if (bDoMessWithSelection)
349 if( pNewWin !=
pWin )
CommandEventId GetCommand() const
const Point & GetMousePosPixel() const
bool IsMouseEvent() const
virtual void DeselectAtPoint(const Point &rPointPixel)=0
virtual void DestroyAnchor()=0
virtual void SetCursorAtPoint(const Point &rPointPixel, bool bDontSelectAtCursor=false)=0
virtual void CreateAnchor()=0
virtual void BeginDrag()=0
virtual void DeselectAll()=0
virtual bool IsSelectionAtPoint(const Point &rPointPixel)=0
MouseEventModifiers GetMode() const
sal_uInt16 GetModifier() const
sal_uInt16 GetClicks() const
sal_uInt16 GetButtons() const
const Point & GetPosPixel() const
bool Command(const CommandEvent &rCEvt)
bool SelMouseMove(const MouseEvent &rMEvt)
bool ShouldDeselect(bool bModifierKey1) const
bool SelMouseButtonDown(const MouseEvent &rMEvt)
VclPtr< vcl::Window > pWin
void SetWindow(vcl::Window *)
SelectionEngine(vcl::Window *pWindow, FunctionSet *pFunctions=nullptr)
SelectionEngineFlags nFlags
bool IsAlwaysAdding() const
FunctionSet * pFunctionSet
void SetSelectionMode(SelectionMode eMode)
void CursorPosChanging(bool bShift, bool bMod1)
void SetUpdateInterval(sal_uLong nInterval)
sal_uLong nUpdateInterval
bool SelMouseButtonUp(const MouseEvent &rMEvt)
void SetTimeout(sal_uInt64 nTimeoutMs)
void SetInvokeHandler(const Link< Timer *, void > &rLink)
virtual void Start(bool bStartTimer=true) override
Schedules the task for execution.
bool IsMouseCaptured() const
constexpr sal_uInt16 KEY_MOD2
constexpr sal_uInt16 KEY_MOD1
constexpr sal_uInt16 KEY_SHIFT
#define LINK(Instance, Class, Member)
#define SAL_WARN_IF(condition, area, stream)
IMPL_LINK_NOARG(SelectionEngine, ImpWatchDog, Timer *, void)
#define SELENG_AUTOREPEAT_INTERVAL
#define SELENG_AUTOREPEAT_INTERVAL_MIN