• 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 refs:pPane

173 bool cbBarDragPlugin::HitsPane( cbDockPane* pPane, wxRect& rect )
175 return rect_hits_rect( pPane->mBoundsInParent, rect );
178 int cbBarDragPlugin::GetDistanceToPane( cbDockPane* pPane, wxPoint& mousePos )
180 wxRect& bounds = pPane->mBoundsInParent;
182 switch( pPane->mAlignment )
196 cbDockPane* pPane = HitTestPanes( mousePos );
198 if ( pPane && pPane != mpCurPane ) return true;
249 void cbBarDragPlugin::StickToPane( cbDockPane* pPane, wxPoint& mousePos )
251 int wInPane = GetBarWidthInPane ( pPane );
252 int hInPane = GetBarHeightInPane( pPane );
256 if ( pPane->IsHorizontal() )
269 wxRect& bounds = pPane->mBoundsInParent;
273 bool fromLowerEdge = ( pPane->IsHorizontal() )
281 if ( pPane->IsHorizontal() && fromLowerEdge )
291 if ( pPane->IsHorizontal() && !fromLowerEdge )
300 if ( !pPane->IsHorizontal() && fromLowerEdge )
309 if ( !pPane->IsHorizontal() && !fromLowerEdge )
321 mpCurPane = pPane; // memorize pane to which the hint is currently sticked
324 void cbBarDragPlugin::UnstickFromPane( cbDockPane* pPane, wxPoint& mousePos )
343 wxRect& bounds = pPane->mBoundsInParent;
347 bool fromLowerEdge = ( pPane->IsHorizontal() )
353 if ( pPane->IsHorizontal() && fromLowerEdge )
367 if ( pPane->IsHorizontal() && !fromLowerEdge )
379 if ( !pPane->IsHorizontal() && fromLowerEdge )
391 if ( !pPane->IsHorizontal() && !fromLowerEdge )
409 int cbBarDragPlugin::GetBarWidthInPane( cbDockPane* pPane )
411 if ( pPane == mpSrcPane )
416 if ( pPane->IsHorizontal() )
422 int cbBarDragPlugin::GetBarHeightInPane( cbDockPane* pPane )
424 if ( pPane->IsHorizontal() )
547 cbDockPane* pPane = HitTestPanes( mHintRect );
550 if ( !pPane )
553 if ( mCanStick && pPane &&
554 GetDistanceToPane( pPane, mousePos ) < GetBarHeightInPane( pPane ) )
555 StickToPane( pPane, mousePos );
557 if ( pPane && HitTestPanes( mousePos ) == pPane && 0 ) // FOR NOW:: disabled
559 StickToPane( pPane, mousePos );
572 cbDockPane* pPane = HitTestPanes( mousePos );
574 StickToPane( pPane, mousePos );
580 cbDockPane* pPane = HitTestPanes( mHintRect );
582 if ( pPane &&
583 pPane != mpCurPane &&
584 GetDistanceToPane( pPane, mousePos ) < GetBarHeightInPane( pPane ) )
585 StickToPane( pPane, mousePos );
587 if ( !pPane )
597 if ( GetDistanceToPane( pPane, mousePos ) > GetBarHeightInPane( pPane ) )