Lines Matching refs:nFlags
59 nFlags = SELENG_EXPANDONMOVE; in SelectionEngine()
147 if ( !(nFlags & SELENG_HAS_ANCH) ) in CursorPosChanging()
150 nFlags |= SELENG_HAS_ANCH; in CursorPosChanging()
155 if ( !(nFlags & SELENG_HAS_ANCH) ) in CursorPosChanging()
160 nFlags |= SELENG_HAS_ANCH; in CursorPosChanging()
168 if ( nFlags & SELENG_HAS_ANCH ) in CursorPosChanging()
172 nFlags &= (~SELENG_HAS_ANCH); in CursorPosChanging()
181 nFlags &= (~SELENG_HAS_ANCH); in CursorPosChanging()
198 nFlags &= (~SELENG_CMDEVT); in SelMouseButtonDown()
216 nFlags |= SELENG_IN_SEL; in SelMouseButtonDown()
228 nFlags &= (~SELENG_IN_ADD); in SelMouseButtonDown()
229 if ( (nFlags & SELENG_DRG_ENAB) && bSelAtPoint ) in SelMouseButtonDown()
231 nFlags |= SELENG_WAIT_UPEVT; in SelMouseButtonDown()
232 nFlags &= ~(SELENG_IN_SEL); in SelMouseButtonDown()
242 nFlags &= (~SELENG_HAS_ANCH); // bHasAnchor = sal_False; in SelMouseButtonDown()
247 if (eSelMode == SINGLE_SELECTION && (nFlags & SELENG_DRG_ENAB)) in SelMouseButtonDown()
248 nFlags |= SELENG_WAIT_UPEVT; in SelMouseButtonDown()
256 nFlags &= (~SELENG_IN_SEL); in SelMouseButtonDown()
259 if ( nFlags & SELENG_ADD_ALW ) in SelMouseButtonDown()
260 nFlags |= SELENG_IN_ADD; in SelMouseButtonDown()
262 nFlags &= (~SELENG_IN_ADD); in SelMouseButtonDown()
264 if( !(nFlags & SELENG_HAS_ANCH) ) in SelMouseButtonDown()
266 if ( !(nFlags & SELENG_IN_ADD) ) in SelMouseButtonDown()
269 nFlags |= SELENG_HAS_ANCH; in SelMouseButtonDown()
278 nFlags &= (~SELENG_IN_SEL); in SelMouseButtonDown()
282 if ( nFlags & SELENG_HAS_ANCH ) in SelMouseButtonDown()
286 nFlags &= (~SELENG_HAS_ANCH); in SelMouseButtonDown()
303 nFlags &= (~SELENG_IN_SEL); in SelMouseButtonDown()
306 nFlags |= SELENG_IN_ADD; //bIsInAddMode = sal_True; in SelMouseButtonDown()
307 if ( !(nFlags & SELENG_HAS_ANCH) ) in SelMouseButtonDown()
310 nFlags |= SELENG_HAS_ANCH; in SelMouseButtonDown()
335 nFlags &= ~(SELENG_CMDEVT | SELENG_WAIT_UPEVT | SELENG_IN_SEL); in SelMouseButtonUp()
344 if( (nFlags & SELENG_WAIT_UPEVT) && !(nFlags & SELENG_CMDEVT) && in SelMouseButtonUp()
355 nFlags &= (~SELENG_HAS_ANCH); // nix Anker in SelMouseButtonUp()
358 nFlags &= (~SELENG_HAS_ANCH); // nix Anker in SelMouseButtonUp()
364 nFlags &= (~SELENG_HAS_ANCH); // nix Anker in SelMouseButtonUp()
369 nFlags &= ~(SELENG_CMDEVT | SELENG_WAIT_UPEVT | SELENG_IN_SEL); in SelMouseButtonUp()
386 if ( !pFunctionSet || !(nFlags & SELENG_IN_SEL) || in SelMouseMove()
387 (nFlags & (SELENG_CMDEVT | SELENG_WAIT_UPEVT)) ) in SelMouseMove()
390 if( !(nFlags & SELENG_EXPANDONMOVE) ) in SelMouseMove()
403 if ( !(nFlags & SELENG_HAS_ANCH) ) in SelMouseMove()
407 nFlags |= SELENG_HAS_ANCH; in SelMouseMove()
431 if ( pWin && (nFlags & SELENG_IN_SEL) ) in SetWindow()
434 if ( pWin && ( nFlags & SELENG_IN_SEL ) ) in SetWindow()
452 if ( nFlags & SELENG_IN_SEL ) in Reset()
454 nFlags &= ~(SELENG_HAS_ANCH | SELENG_IN_SEL); in Reset()
474 nFlags |= SELENG_CMDEVT; in Command()
477 if ( nFlags & SELENG_DRG_ENAB ) in Command()
486 nFlags &= ~(SELENG_CMDEVT|SELENG_WAIT_UPEVT|SELENG_IN_SEL); in Command()
489 nFlags &= ~SELENG_CMDEVT; in Command()
492 nFlags &= ~SELENG_CMDEVT; in Command()