• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/contrib/src/fl/

Lines Matching defs:pTheBar

53 void cbRowLayoutPlugin::CheckIfAtTheBoundary( cbBarInfo* pTheBar, cbRowInfo& rowInfo )
63 if ( !pTheBar->IsFixed() || rowInfo.mHasOnlyFixedBars )
84 if ( pBar == pTheBar ) break;
108 if ( pBar == pTheBar ) break;
162 void cbRowLayoutPlugin::AdjustLengthOfInserted( cbRowInfo* WXUNUSED(pRow), cbBarInfo* WXUNUSED(pTheBar) )
170 // pTheBar is not-fixed
185 double curWidth = pTheBar->mBounds.width;
189 pTheBar->mBounds.width = int( mpPane->mPaneWidth * (curWidth / double(totalLen)) );
203 // if no longer "balanced", assume that `pTheBar' was previously
208 pTheBar->mBounds.width = freeSpc * (1.0 - pcntSum);
216 cbBarInfo* pTheBar, cbRowInfo* pRow )
221 if ( pTheBar->mBounds.x > from )
225 pTillBar = pTheBar;
229 pFromBar = pTheBar->mpNext;
294 if ( pTheBar->mBounds.x > from )
308 if ( pLast != pTheBar )
310 pTheBar->mBounds.width += freeSpc;
312 SlideRightSideBars( pTheBar );
553 void cbRowLayoutPlugin::RelayoutNotFixedBarsAround( cbBarInfo* pTheBar, cbRowInfo* pRow )
555 if ( !pTheBar->mpPrev )
557 if ( !pTheBar->IsFixed() )
561 pTheBar->mBounds.width += pTheBar->mBounds.x;
562 pTheBar->mBounds.x = 0;
566 FitBarsToRange( 0, pTheBar->mBounds.x, pTheBar, pRow );
568 if ( !pTheBar->mpNext )
570 if ( !pTheBar->IsFixed() )
575 pTheBar->mBounds.width = mpPane->mPaneWidth - pTheBar->mBounds.x;
579 FitBarsToRange( pTheBar->mBounds.x + pTheBar->mBounds.width, mpPane->mPaneWidth,
580 pTheBar, pRow
633 void cbRowLayoutPlugin::SlideLeftSideBars( cbBarInfo* pTheBar )
638 cbBarInfo* pBar = pTheBar->mpPrev;
639 cbBarInfo* pPrev = pTheBar;
655 void cbRowLayoutPlugin::SlideRightSideBars( cbBarInfo* pTheBar )
660 cbBarInfo* pBar = pTheBar->mpNext;
661 cbBarInfo* pPrev = pTheBar;
677 void cbRowLayoutPlugin::ShiftLeftTrashold( cbBarInfo* WXUNUSED(pTheBar), cbRowInfo& row )
689 void cbRowLayoutPlugin::ShiftRightTrashold( cbBarInfo* pTheBar, cbRowInfo& row )
691 wxRect& theBar = pTheBar->mBounds;
695 cbBarInfo* pBar = pTheBar;
723 pBar = pTheBar;
727 if ( pTheBar->IsFixed() )
747 if ( pTheBar->mpNext )
749 wxRect& next = pTheBar->mpNext->mBounds;
756 cbBarInfo* pNext = pTheBar->mpNext;
760 row.mBars.Insert( pNext, row.mBars.Index( pTheBar ) );
770 StickRightSideBars( pTheBar );
771 SlideLeftSideBars ( pTheBar );
783 StickRightSideBars( pTheBar );
784 SlideLeftSideBars ( pTheBar );
796 cbBarInfo* pTheBar,
801 row.mBars.Insert( pTheBar, row.mBars.Index( pBeforeBar ) );
803 row.mBars.Add( pTheBar );
805 pTheBar->mpRow = &row;
808 void cbRowLayoutPlugin::DoInsertBar( cbBarInfo* pTheBar, cbRowInfo& row )
810 wxRect& theBar = pTheBar->mBounds;
813 if ( theBar.x < 0 && !node_to_bar( pTheBar ).IsFixed() )
830 InsertBefore( &bar, pTheBar, row );
840 InsertBefore( bar.mpNext, pTheBar, row );
851 InsertBefore( &bar, pTheBar, row );
853 InsertBefore( bar.mpNext, pTheBar, row );
859 InsertBefore( NULL, pTheBar, row ); // insert at the end