Lines Matching refs:pCursor

89 	pCursor 			= 0;  in SvImpLBox()
228 SvLBoxItem* pItem = pCursor->GetItem( nCurTabPos ); in CalcCellFocusRect()
229 rRect.Left() = pView->GetTab( pCursor, pItem )->GetPos(); in CalcCellFocusRect()
231 if ( pCursor->ItemCount() > ( nCurTabPos + 1 ) ) in CalcCellFocusRect()
233 SvLBoxItem* pNextItem = pCursor->GetItem( nCurTabPos + 1 ); in CalcCellFocusRect()
234 long nRight = pView->GetTab( pCursor, pNextItem )->GetPos() - 1; in CalcCellFocusRect()
268 if( pCursor ) in Clear()
272 pCursor = 0; in Clear()
584 if( pEntry==pCursor && pView->HasFocus() ) in InvalidateEntry()
598 if( pView->HasFocus() && pCursor ) in RecalcFocusRect()
601 long nY = GetEntryLine( pCursor ); in RecalcFocusRect()
602 Rectangle aRect = pView->GetFocusRect( pCursor, nY ); in RecalcFocusRect()
603 CalcCellFocusRect( pCursor, aRect ); in RecalcFocusRect()
622 pEntry == pCursor && in SetCursor()
636 SvLBoxEntry* pOldCursor = pCursor; in SetCursor()
637 if( pCursor && pEntry != pCursor ) in SetCursor()
639 pView->SetEntryFocus( pCursor, sal_False ); in SetCursor()
641 pView->Select( pCursor, sal_False ); in SetCursor()
644 pCursor = pEntry; in SetCursor()
645 if( pCursor ) in SetCursor()
650 pView->Select( pCursor, sal_True ); in SetCursor()
651 CallEventListeners( VCLEVENT_LISTBOX_TREEFOCUS, pCursor ); in SetCursor()
660 pView->Select( pCursor, sal_True ); in SetCursor()
661 CallEventListeners( VCLEVENT_LISTBOX_TREEFOCUS, pCursor ); in SetCursor()
668 CallEventListeners( VCLEVENT_LISTBOX_TREEFOCUS, pCursor); in SetCursor()
675 SetAnchorSelection( pOldCursor, pCursor ); in SetCursor()
685 if( !bShow || !pCursor || !pView->HasFocus() ) in ShowCursor()
695 long nY = GetEntryLine( pCursor ); in ShowCursor()
696 Rectangle aRect = pView->GetFocusRect( pCursor, nY ); in ShowCursor()
697 CalcCellFocusRect( pCursor, aRect ); in ShowCursor()
717 if( bSimpleTravel && pCursor && pView->HasFocus() ) in UpdateAll()
718 pView->Select( pCursor, sal_True ); in UpdateAll()
842 if( !pCursor ) in MakePointVisible()
850 pEntry = (SvLBoxEntry*)(pView->PrevVisible( pCursor )); in MakePointVisible()
852 pEntry = (SvLBoxEntry*)(pView->NextVisible( pCursor )); in MakePointVisible()
854 if( pEntry && pEntry != pCursor ) in MakePointVisible()
855 pView->SetEntryFocus( pCursor, sal_False ); in MakePointVisible()
873 if( pEntry != pCursor && in MakePointVisible()
876 pView->Select( pCursor, sal_False ); in MakePointVisible()
963 if ( !pCursor && ( ( nExtendedWinBits & EWB_NO_AUTO_CURENTRY ) == 0 ) ) in Paint()
1617 if( pTree->IsChild( pEntry, pCursor ) ) in EntryCollapsed()
1622 if( GetUpdateMode() && pCursor ) in EntryCollapsed()
1623 pView->Select( pCursor, sal_True ); in EntryCollapsed()
1690 pEntry != pCursor ) in EntrySelected()
1740 if( pCursor && pTree->IsChild( pEntry, pCursor) ) in RemovingEntry()
1741 pCursor = pEntry; in RemovingEntry()
1746 if( pCursor && pCursor == pEntry ) in RemovingEntry()
1749 pView->Select( pCursor, sal_False ); in RemovingEntry()
1752 pTemp = pView->NextSibling( pCursor ); in RemovingEntry()
1754 pTemp = (SvLBoxEntry*)(pView->PrevVisible( pCursor )); in RemovingEntry()
1788 if( !pCursor ) in EntryRemoved()
1791 if( pCursor && (bSimpleTravel || !pView->GetSelectionCount() )) in EntryRemoved()
1792 pView->Select( pCursor, sal_True ); in EntryRemoved()
1805 if( pCursor && pView->HasFocus() && !pView->IsSelected(pCursor) ) in EntryRemoved()
1810 SvLBoxEntry* pNextCursor = (SvLBoxEntry*)pView->PrevVisible( pCursor ); in EntryRemoved()
1812 pNextCursor = (SvLBoxEntry*)pView->NextVisible( pCursor ); in EntryRemoved()
1817 MakeVisible( pCursor ); in EntryRemoved()
1820 pView->Select( pCursor, sal_True ); in EntryRemoved()
1835 if( pEntry == pCursor ) in MovingEntry()
1876 if( pEntry == pCursor ) in EntryMoved()
1878 if( pView->IsEntryVisible( pCursor ) ) in EntryMoved()
1985 if( pCursor == pActiveEntry ) in ButtonDownCheckCtrl()
2046 if( pCursor == pActiveEntry ) in ButtonUpCheckCtrl()
2126 if ( pEntry != pCursor ) in MouseButtonDown()
2181 if( pEntry == pCursor ) // nur wenn Entryitem angeklickt wurde in MouseButtonDown()
2183 pView->Select( pCursor, sal_True ); in MouseButtonDown()
2251 if( !pCursor ) in KeyInput()
2252 pCursor = pStartEntry; in KeyInput()
2253 if( !pCursor ) in KeyInput()
2270 if( !IsEntryInView( pCursor ) ) in KeyInput()
2271 MakeVisible( pCursor ); in KeyInput()
2273 pNewCursor = pCursor; in KeyInput()
2286 if ( !pNewCursor && pCursor ) in KeyInput()
2287 pNewCursor = pCursor; in KeyInput()
2299 if( !IsEntryInView( pCursor ) ) in KeyInput()
2300 MakeVisible( pCursor ); in KeyInput()
2302 pNewCursor = pCursor; in KeyInput()
2316 if ( !pNewCursor && pCursor ) in KeyInput()
2317 pNewCursor = pCursor; in KeyInput()
2326 if( pCursor ) in KeyInput()
2327 pView->Select( pCursor, sal_False ); in KeyInput()
2340 pView->Expand( pCursor ); in KeyInput()
2341 else if ( bIsCellFocusEnabled && pCursor ) in KeyInput()
2347 CallEventListeners( VCLEVENT_LISTBOX_SELECT, pCursor ); in KeyInput()
2373 if ( bIsCellFocusEnabled && pCursor ) in KeyInput()
2379 CallEventListeners( VCLEVENT_LISTBOX_SELECT, pCursor ); in KeyInput()
2397 if( IsExpandable() && pView->IsExpanded( pCursor ) ) in KeyInput()
2398 pView->Collapse( pCursor ); in KeyInput()
2401 pNewCursor = pView->GetParent( pCursor ); in KeyInput()
2408 pView->Collapse( pCursor ); in KeyInput()
2417 pNewCursor = (SvLBoxEntry*)(pView->PrevVisible( pCursor, nDelta )); in KeyInput()
2427 DBG_ASSERT(pNewCursor&&(sal_uLong)pNewCursor!=(sal_uLong)pCursor,"Cursor?"); in KeyInput()
2445 pNewCursor= (SvLBoxEntry*)(pView->NextVisible( pCursor, nDelta )); in KeyInput()
2455 DBG_ASSERT(pNewCursor&&(sal_uLong)pNewCursor!=(sal_uLong)pCursor,"Cursor?"); in KeyInput()
2479 pView->Select( pCursor, !pView->IsSelected( pCursor ) ); in KeyInput()
2486 pView->Select( pCursor, !pView->IsSelected( pCursor ) ); in KeyInput()
2488 else if ( !pView->IsSelected( pCursor ) ) in KeyInput()
2491 pView->Select( pCursor, sal_True ); in KeyInput()
2506 if( pView->IsExpanded( pCursor ) ) in KeyInput()
2507 pView->Collapse( pCursor ); in KeyInput()
2509 pView->Expand( pCursor ); in KeyInput()
2541 MakeVisible( pCursor ); in KeyInput()
2547 pView->RemoveEntry( pCursor ); in KeyInput()
2552 if( pCursor ) in KeyInput()
2554 if( !pView->IsExpanded(pCursor)) in KeyInput()
2555 pView->Expand( pCursor ); in KeyInput()
2558 sal_uInt16 nRefDepth = pTree->GetDepth( pCursor ); in KeyInput()
2559 SvLBoxEntry* pCur = pTree->Next( pCursor ); in KeyInput()
2580 if( pCursor ) in KeyInput()
2582 if( pView->IsExpanded(pCursor)) in KeyInput()
2583 pView->Collapse( pCursor ); in KeyInput()
2587 SvLBoxEntry* pParentToCollapse = (SvLBoxEntry*)pTree->GetRootLevelParent(pCursor); in KeyInput()
2597 pParentToCollapse = pCursor; in KeyInput()
2645 if( pNewCursor && pNewCursor != pCursor ) in KeyInput()
2665 if( pNewCursor && pNewCursor != pCursor) in KeyInput()
2702 if( pCursor ) in GetFocus()
2704 pView->SetEntryFocus( pCursor, sal_True ); in GetFocus()
2739 if( pCursor ) in LoseFocus()
2740 pView->SetEntryFocus( pCursor,sal_False ); in LoseFocus()
2791 pImp->pAnchor = pImp->pCursor; in CreateAnchor()
2810 if( pNewCursor != pImp->pCursor ) in SetCursorAtPoint()
2976 if( pCursor && !pView->IsSelected( pCursor )) in SelAllDestrAnch()
2978 pView->Select( pCursor, sal_True ); in SelAllDestrAnch()
2984 if( bSimpleTravel && ( !GetUpdateMode() || !pCursor) ) in SelAllDestrAnch()
2993 if( !bSelect && pView->GetSelectionCount()==1 && pCursor && in SelAllDestrAnch()
2994 pView->IsSelected( pCursor )) in SelAllDestrAnch()
2996 pView->Select( pCursor, sal_False ); in SelAllDestrAnch()
3004 if( bSimpleTravel && !pCursor && !GetUpdateMode() ) in SelAllDestrAnch()