Lines Matching refs:nIndex

364 	const sal_Int32 nIndex) const  in GetButton()
370 if (nIndex<0 || sal_uInt32(nIndex)>=rButtons.size()) in GetButton()
372 OSL_ASSERT(nIndex<0 || sal_uInt32(nIndex)>=rButtons.size()); in GetButton()
376 return rButtons[sal_uInt32(nIndex)]; in GetButton()
389 for (sal_uInt32 nIndex=0; nIndex<rButtons.size(); ++nIndex) in GetButtonAt() local
391 if (rButtons[sal_uInt32(nIndex)]->GetBoundingBox().IsInside(aLocalLocation)) in GetButtonAt()
393 if (rButtons[sal_uInt32(nIndex)]->IsEnabled()) in GetButtonAt()
394 return rButtons[sal_uInt32(nIndex)]; in GetButtonAt()
459 for (sal_uInt32 nIndex=0; nIndex<rButtons.size(); ++nIndex) in Paint() local
460 rButtons[nIndex]->Paint( in Paint()
566 for (sal_uInt32 nIndex=0; nIndex<maExcludedButtons.size(); ++nIndex) in LayoutButtons() local
567 maExcludedButtons[nIndex]->SetIconSize(eIconSize); in LayoutButtons()
568 for (sal_uInt32 nIndex=0; nIndex<maRegularButtons.size(); ++nIndex) in LayoutButtons() local
569 maRegularButtons[nIndex]->SetIconSize(eIconSize); in LayoutButtons()
575 for (sal_uInt32 nIndex=0; nIndex<maExcludedButtons.size(); ++nIndex) in LayoutButtons() local
577 const Size aSize (maExcludedButtons[nIndex]->GetSize()); in LayoutButtons()
585 for (sal_uInt32 nIndex=0; nIndex<maRegularButtons.size(); ++nIndex) in LayoutButtons() local
587 const Size aSize (maRegularButtons[nIndex]->GetSize()); in LayoutButtons()
607 for (sal_Int32 nIndex=maRegularButtons.size()-1; nIndex>=0; --nIndex) in LayoutButtons() local
609 maRegularButtons[nIndex]->Place(aBox); in LayoutButtons()
610 aBox.Right() = maRegularButtons[nIndex]->GetBoundingBox().Left() - nGap; in LayoutButtons()
622 for (sal_uInt32 nIndex=0; nIndex<maExcludedButtons.size(); ++nIndex) in LayoutButtons() local
623 if ( ! maExcludedButtons[nIndex]->IsActive()) in LayoutButtons()
625 for (sal_uInt32 nIndex=0; nIndex<maRegularButtons.size(); ++nIndex) in LayoutButtons() local
626 if ( ! maRegularButtons[nIndex]->IsActive()) in LayoutButtons()
830 for (sal_uInt32 nIndex=0; nIndex<rButtons.size(); ++nIndex) in UpdateMinimumIconSizes() local
833 Size aSize = rButtons[nIndex]->GetSize(Button::IconSize_Large); in UpdateMinimumIconSizes()
839 aSize = rButtons[nIndex]->GetSize(Button::IconSize_Medium); in UpdateMinimumIconSizes()
845 aSize = rButtons[nIndex]->GetSize(Button::IconSize_Small); in UpdateMinimumIconSizes()