camerauis/cameraapp/generic/GsCamcorderPlugin/src/GSCamQualitySettingContainer.cpp
branchRCL_3
changeset 35 e32fcfe0045f
parent 18 51dda465e618
equal deleted inserted replaced
31:8f559c47d7fd 35:e32fcfe0045f
   185     delete iCurrentDescLineArray;
   185     delete iCurrentDescLineArray;
   186     }
   186     }
   187 
   187 
   188   iLayoutSettingDescLines.Reset();
   188   iLayoutSettingDescLines.Reset();
   189   iEnumArray.Reset();
   189   iEnumArray.Reset();
   190   if ( iFeedback )
   190 
   191     {
       
   192     iFeedback->RemoveFeedbackForControl( iSlider );
       
   193     } 
       
   194   delete iSlider;
   191   delete iSlider;
   195   delete iTextTitle;
   192   delete iTextTitle;
   196   delete iTextTopSubtitle;
   193   delete iTextTopSubtitle;
   197   delete iTextBottomSubtitle;
   194   delete iTextBottomSubtitle;
   198   delete iTextRemainingTitle;
   195   delete iTextRemainingTitle;
   285   // Use the layout info from the first line for width and font
   282   // Use the layout info from the first line for width and font
   286   TAknLayoutText layout = iLayoutSettingDescLines[0];
   283   TAknLayoutText layout = iLayoutSettingDescLines[0];
   287   AknTextUtils::WrapToArrayL( ( *iDescArray )[iSelectedQuality], 
   284   AknTextUtils::WrapToArrayL( ( *iDescArray )[iSelectedQuality], 
   288                               layout.TextRect().Width(), 
   285                               layout.TextRect().Width(), 
   289                               *( layout.Font() ), 
   286                               *( layout.Font() ), 
   290                               *iCurrentDescLineArray );
   287                               *iCurrentDescLineArray );   
   291   iFeedback = MTouchFeedback::Instance();
       
   292   if ( iFeedback )  
       
   293     {
       
   294     iFeedback->SetFeedbackArea( iSlider, 0, iSlider->Rect(), 
       
   295                                 ETouchFeedbackBasic, ETouchEventStylusDown );
       
   296     }
       
   297   }
   288   }
   298 
   289 
   299 // -----------------------------------------------------------------------------
   290 // -----------------------------------------------------------------------------
   300 // CGSCamQualitySettingContainer::CountComponentControls
   291 // CGSCamQualitySettingContainer::CountComponentControls
   301 // return the number of component controls
   292 // return the number of component controls