equal
deleted
inserted
replaced
589 // |
589 // |
590 void CMusUiLiveSharingView::DoRefreshView() |
590 void CMusUiLiveSharingView::DoRefreshView() |
591 { |
591 { |
592 MUS_LOG( "mus: [MUSUI ] -> CMusUiLiveSharingView::DoRefreshView" ); |
592 MUS_LOG( "mus: [MUSUI ] -> CMusUiLiveSharingView::DoRefreshView" ); |
593 |
593 |
594 if ( iBackgroundContainer ) |
594 // Refresh background container before and after as display status |
595 { |
595 // may change due async orientation change handling. |
596 iBackgroundContainer->SetRect(ClientRect()); |
596 RefreshBackgroundContainer(); |
597 } |
|
598 |
597 |
599 if ( iContainer ) |
598 if ( iContainer ) |
600 { |
599 { |
601 TRect containerRect( ClientRect().iBr.iX - KMusUiContainerWidth, |
600 TRect containerRect( ClientRect().iBr.iX - KMusUiContainerWidth, |
602 ClientRect().iTl.iY, |
601 ClientRect().iTl.iY, |
618 { |
617 { |
619 MUS_LOG1( "mus: [MUSUI ] -> Orientation can not be changed =%d",err ); |
618 MUS_LOG1( "mus: [MUSUI ] -> Orientation can not be changed =%d",err ); |
620 } |
619 } |
621 iController->SetRect( videoRect ); |
620 iController->SetRect( videoRect ); |
622 } |
621 } |
|
622 |
|
623 RefreshBackgroundContainer(); |
623 |
624 |
624 MUS_LOG( "mus: [MUSUI ] <- CMusUiLiveSharingView::DoRefreshView" ); |
625 MUS_LOG( "mus: [MUSUI ] <- CMusUiLiveSharingView::DoRefreshView" ); |
625 } |
626 } |
626 |
627 |
627 // ----------------------------------------------------------------------------- |
628 // ----------------------------------------------------------------------------- |