videoplayback/videoplaybackcontrols/src/mpxvideoplaybackmediadetailsviewer.cpp
changeset 2 dec420019252
parent 1 6711b85517b7
child 6 7d91903f795f
equal deleted inserted replaced
1:6711b85517b7 2:dec420019252
    13 *
    13 *
    14 * Description: Media Details Viewer
    14 * Description: Media Details Viewer
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 // Version : %version:  e003sa33#10 %
    18 // Version : %version:  e003sa33#11 %
    19 
    19 
    20 
    20 
    21 // INCLUDE FILES
    21 // INCLUDE FILES
    22 #include <eikenv.h>
    22 #include <eikenv.h>
    23 #include <eiklabel.h>
    23 #include <eiklabel.h>
   581 
   581 
   582     // Filename
   582     // Filename
   583     iClipnameLabel = new (ELeave) CEikLabel;
   583     iClipnameLabel = new (ELeave) CEikLabel;
   584     iClipnameLabel->SetContainerWindowL( *this );     
   584     iClipnameLabel->SetContainerWindowL( *this );     
   585     iClipnameLabel->SetTextL( KNullDesC ); 
   585     iClipnameLabel->SetTextL( KNullDesC ); 
       
   586     iClipnameLabel->SetLabelAlignment( ELayoutAlignBidi );
   586     
   587     
   587     // Title
   588     // Title
   588     iTitleLabel = new (ELeave) CEikLabel;
   589     iTitleLabel = new (ELeave) CEikLabel;
   589     iTitleLabel->SetContainerWindowL( *this );     
   590     iTitleLabel->SetContainerWindowL( *this );     
   590     iTitleLabel->SetTextL( KNullDesC );     
   591     iTitleLabel->SetTextL( KNullDesC );     
       
   592     iTitleLabel->SetLabelAlignment( ELayoutAlignBidi );
   591     
   593     
   592     // Artist
   594     // Artist
   593     iArtistLabel = new (ELeave) CEikLabel;
   595     iArtistLabel = new (ELeave) CEikLabel;
   594     iArtistLabel->SetContainerWindowL( *this );     
   596     iArtistLabel->SetContainerWindowL( *this );     
   595     iArtistLabel->SetTextL( KNullDesC );        
   597     iArtistLabel->SetTextL( KNullDesC );        
       
   598     iArtistLabel->SetLabelAlignment( ELayoutAlignBidi );
   596     
   599     
   597     // Format
   600     // Format
   598     iFormatLabel = new (ELeave) CEikLabel;
   601     iFormatLabel = new (ELeave) CEikLabel;
   599     iFormatLabel->SetContainerWindowL( *this );     
   602     iFormatLabel->SetContainerWindowL( *this );     
   600     iFormatLabel->SetTextL( KNullDesC );
   603     iFormatLabel->SetTextL( KNullDesC );
       
   604     iFormatLabel->SetLabelAlignment( ELayoutAlignBidi );
   601     
   605     
   602     // Resolution
   606     // Resolution
   603     iResolutionLabel = new (ELeave) CEikLabel;
   607     iResolutionLabel = new (ELeave) CEikLabel;
   604     iResolutionLabel->SetContainerWindowL( *this );     
   608     iResolutionLabel->SetContainerWindowL( *this );     
   605     iResolutionLabel->SetTextL( KNullDesC );    
   609     iResolutionLabel->SetTextL( KNullDesC );    
       
   610     iResolutionLabel->SetLabelAlignment( ELayoutAlignBidi );
   606     
   611     
   607     // Duration
   612     // Duration
   608     iDurationLabel = new (ELeave) CEikLabel;
   613     iDurationLabel = new (ELeave) CEikLabel;
   609     iDurationLabel->SetContainerWindowL( *this );     
   614     iDurationLabel->SetContainerWindowL( *this );     
   610     iDurationLabel->SetTextL( KNullDesC );    
   615     iDurationLabel->SetTextL( KNullDesC );    
       
   616     iDurationLabel->SetLabelAlignment( ELayoutAlignBidi );
   611     
   617     
   612     // Bitrate
   618     // Bitrate
   613     iBitrateLabel = new (ELeave) CEikLabel;
   619     iBitrateLabel = new (ELeave) CEikLabel;
   614     iBitrateLabel->SetContainerWindowL( *this );     
   620     iBitrateLabel->SetContainerWindowL( *this );     
   615     iBitrateLabel->SetTextL( KNullDesC );   
   621     iBitrateLabel->SetTextL( KNullDesC );   
       
   622     iBitrateLabel->SetLabelAlignment( ELayoutAlignBidi );
   616 
   623 
   617     // Additional Labels
   624     // Additional Labels
   618     iAdditionalLabel = new (ELeave) CEikLabel;
   625     iAdditionalLabel = new (ELeave) CEikLabel;
   619     iAdditionalLabel->SetContainerWindowL( *this );     
   626     iAdditionalLabel->SetContainerWindowL( *this );     
   620     iAdditionalLabel->SetTextL( KNullDesC );   
   627     iAdditionalLabel->SetTextL( KNullDesC );   
       
   628     iAdditionalLabel->SetLabelAlignment( ELayoutAlignBidi );
   621 
   629 
   622 } 
   630 } 
   623 
   631 
   624 // -----------------------------------------------------------------------------
   632 // -----------------------------------------------------------------------------
   625 // CMPXVideoPlaybackMediaDetailsViewer::UpdateBackgroundBitmapL
   633 // CMPXVideoPlaybackMediaDetailsViewer::UpdateBackgroundBitmapL