voicerecorder/RecViewSrc/CVRStateInfoPanel.cpp
branchRCL_3
changeset 13 4e5b531d23cb
parent 0 845549f293a7
child 14 f962425b9f8b
equal deleted inserted replaced
11:a2fdc35b8f46 13:4e5b531d23cb
   169 // CVRStateInfoPanel::SizeChanged
   169 // CVRStateInfoPanel::SizeChanged
   170 // 
   170 // 
   171 // ----------------------------------------------------------------------------
   171 // ----------------------------------------------------------------------------
   172 //		
   172 //		
   173 void CVRStateInfoPanel::SizeChanged()
   173 void CVRStateInfoPanel::SizeChanged()
   174 	{
   174     {
   175 	
   175     TAknTextComponentLayout layoutText;
   176 	for ( TInt i = 0; i < ENumLabels; i++ )
   176     
   177 		{
   177     for ( TInt i = 0; i < ENumLabels; i++ )
   178 		TAknTextComponentLayout layoutText = AknLayoutScalable_Apps::vorec_t(
   178         {
   179 			KVRLabelMap[i] );
   179         switch ( KVRLabelMap[i] )
       
   180             {
       
   181             case 0: 
       
   182                 layoutText = AknLayoutScalable_Apps::vorec_t1();
       
   183                 break;
       
   184             case 1:
       
   185                 layoutText = AknLayoutScalable_Apps::vorec_t2();
       
   186                 break;
       
   187             case 2: 
       
   188                 layoutText = AknLayoutScalable_Apps::vorec_t3();
       
   189                 break;
       
   190             case 3:
       
   191                 layoutText = AknLayoutScalable_Apps::vorec_t4();
       
   192                 break;
       
   193             case 4: 
       
   194                 layoutText = AknLayoutScalable_Apps::vorec_t5();
       
   195                 break;
       
   196             case 5:
       
   197                 layoutText = AknLayoutScalable_Apps::vorec_t6();
       
   198                 break;
       
   199             case 6:
       
   200                 layoutText = AknLayoutScalable_Apps::vorec_t7();
       
   201                 break;          
       
   202             }
       
   203         
   180 		AknLayoutUtils::LayoutLabel( iLabels.At( i ), Rect(), layoutText.LayoutLine() );
   204 		AknLayoutUtils::LayoutLabel( iLabels.At( i ), Rect(), layoutText.LayoutLine() );
   181 		
   205 		
   182 		if ( i != ELabelStatus )
   206 		if ( i != ELabelStatus )
   183 			{
   207 			{
   184 			// Get the correct text color from skin and override it
   208 			// Get the correct text color from skin and override it