camerauis/cameraapp/generic/src/CamCaptureSetupContainer.cpp
branchRCL_3
changeset 67 756ad29ed18e
parent 57 2c87b2808fd7
equal deleted inserted replaced
62:f0c0788c4de2 67:756ad29ed18e
   146     // for the client area. aRect is the container size that might include or
   146     // for the client area. aRect is the container size that might include or
   147     // might not include statuspane area. calculating area self will
   147     // might not include statuspane area. calculating area self will
   148     // go around the problem
   148     // go around the problem
   149 
   149 
   150     TRect listboxRect;  
   150     TRect listboxRect;  
   151     if ( AknLayoutUtils::PenEnabled() ) 
   151     if ( CamUtility::IsNhdDevice() ) 
   152         {
   152         {
   153         listboxRect = TouchLayout();
   153         listboxRect = TouchLayout();
   154         }
   154         }
   155     else
   155     else
   156         {
   156         {
   325 
   325 
   326     // draw the title text   
   326     // draw the title text   
   327     TRgb color;
   327     TRgb color;
   328     AknsUtils::GetCachedColor( skin, color, KAknsIIDQsnTextColors,
   328     AknsUtils::GetCachedColor( skin, color, KAknsIIDQsnTextColors,
   329                                             EAknsCIQsnTextColorsCG6 );
   329                                             EAknsCIQsnTextColorsCG6 );
   330     if ( AknLayoutUtils::PenEnabled() )
   330     if ( CamUtility::IsNhdDevice() )
   331         {
   331         {
   332         if( appUi->IsDirectViewfinderActive() &&
   332         if( appUi->IsDirectViewfinderActive() &&
   333             iViewFinding && iFullScreenVF )
   333             iViewFinding && iFullScreenVF )
   334             {
   334             {
   335             gc.SetBrushColor( TRgb( KToolbarExtensionBgColor, KToolBarExtensionBgAlpha ) );            
   335             gc.SetBrushColor( TRgb( KToolbarExtensionBgColor, KToolBarExtensionBgAlpha ) );