camerauis/cameraapp/generic/src/CamCaptureSetupContainer.cpp
branchRCL_3
changeset 57 2c87b2808fd7
parent 54 bac7acad7cb3
child 67 756ad29ed18e
--- a/camerauis/cameraapp/generic/src/CamCaptureSetupContainer.cpp	Wed Sep 01 12:30:54 2010 +0100
+++ b/camerauis/cameraapp/generic/src/CamCaptureSetupContainer.cpp	Tue Sep 14 20:46:07 2010 +0300
@@ -148,7 +148,7 @@
     // go around the problem
 
     TRect listboxRect;  
-    if ( CamUtility::IsNhdDevice() ) 
+    if ( AknLayoutUtils::PenEnabled() ) 
         {
         listboxRect = TouchLayout();
         }
@@ -327,7 +327,7 @@
     TRgb color;
     AknsUtils::GetCachedColor( skin, color, KAknsIIDQsnTextColors,
                                             EAknsCIQsnTextColorsCG6 );
-    if ( CamUtility::IsNhdDevice() )
+    if ( AknLayoutUtils::PenEnabled() )
         {
         if( appUi->IsDirectViewfinderActive() &&
             iViewFinding && iFullScreenVF )