equal
deleted
inserted
replaced
863 } |
863 } |
864 return toolbarPlaceHolderHeight; |
864 return toolbarPlaceHolderHeight; |
865 } |
865 } |
866 |
866 |
867 // ----------------------------------------------------------------------------- |
867 // ----------------------------------------------------------------------------- |
|
868 // |
|
869 // ----------------------------------------------------------------------------- |
|
870 // |
|
871 TInt CMusUiGeneralView::ToolbarPlaceHolderWidth() const |
|
872 { |
|
873 TInt toolbarPlaceHolderWidth( 0 ); |
|
874 CAknAppUiBase::TAppUiOrientation orientation = MusAppUi()->AppOrientation(); |
|
875 if ( !Toolbar()->IsShown() && |
|
876 orientation == CAknAppUiBase::EAppUiOrientationLandscape && |
|
877 AknLayoutUtils::PenEnabled() ) |
|
878 { |
|
879 // In touch UI in EAppUiOrientationLandscape mode the toolbar |
|
880 // fills the whole lower part of the screen |
|
881 toolbarPlaceHolderWidth = Toolbar()->Size().iWidth; |
|
882 } |
|
883 return toolbarPlaceHolderWidth; |
|
884 } |
|
885 |
|
886 // ----------------------------------------------------------------------------- |
868 // Increase/Decrease background container ordinal so that other controls |
887 // Increase/Decrease background container ordinal so that other controls |
869 // can preceed background |
888 // can preceed background |
870 // ----------------------------------------------------------------------------- |
889 // ----------------------------------------------------------------------------- |
871 // |
890 // |
872 void CMusUiGeneralView::UpdateBackgroundOrdinalPosition( TBool aUp ) |
891 void CMusUiGeneralView::UpdateBackgroundOrdinalPosition( TBool aUp ) |