Lines Matching refs:pos

287             int pos = mpParent->getChildPos( this );  in next()  local
288 return mpParent->getChild( pos+1 ); in next()
297 int pos = mpParent->getChildPos( this ); in prev() local
298 return mpParent->getChild( pos-1 ); in prev()
304 bool addChild( Widget *pChild, int pos = 0xffff ) in addChild() argument
321 if ( pos < nChildrenLen ) in addChild()
324 for ( int i = pos; i < nChildrenLen; i++ ) in addChild()
327 for ( int i = pos; i < nChildrenLen; i++ ) in addChild()
329 maChildren.insert( maChildren.begin()+pos, pChild ); in addChild()
366 unsigned int pos = getChildPos( pChild ); in removeChild() local
367 if ( pos < maChildren.size() ) in removeChild()
368 maChildren.erase( maChildren.begin()+pos ); in removeChild()
424 Widget *getChild( int pos ) in getChild() argument
426 if ( pos >= 0 && pos < (signed) maChildren.size() ) in getChild()
427 return *(maChildren.begin() + pos); in getChild()
1452 USHORT pos = mpListBox->GetSelectEntryPos(); in IMPL_LINK() local
1453 if ( pos > 0 && pos != LISTBOX_ENTRY_NOTFOUND ) in IMPL_LINK()
1454 upPressed( pos ); in IMPL_LINK()
1461 USHORT pos = mpListBox->GetSelectEntryPos(); in IMPL_LINK() local
1462 if ( pos < mpListBox->GetEntryCount() && pos != LISTBOX_ENTRY_NOTFOUND ) in IMPL_LINK()
1463 downPressed( pos ); in IMPL_LINK()
1470 USHORT pos = mpListBox->GetSelectEntryPos(); in IMPL_LINK() local
1471 if ( pos != LISTBOX_ENTRY_NOTFOUND ) in IMPL_LINK()
1472 removePressed( pos ); in IMPL_LINK()
1479 USHORT pos = mpListBox->GetSelectEntryPos(); in IMPL_LINK() local
1480 itemSelected( pos ); in IMPL_LINK()
1530 int pos = FlatLayout::get( mpRootWidget, pWidget ); in selectWidget() local
1531 if ( pos == -1 ) in selectWidget()
1533 pos = 0; in selectWidget()
1534 mpListBox->SelectEntryPos( sal::static_int_cast< USHORT >( pos ) ); in selectWidget()