camerauis/cameraapp/generic/src/CamContainerBase.cpp
branchRCL_3
changeset 27 53c8aa5d97a3
parent 12 8c55c525d5d7
--- a/camerauis/cameraapp/generic/src/CamContainerBase.cpp	Tue May 11 15:56:11 2010 +0300
+++ b/camerauis/cameraapp/generic/src/CamContainerBase.cpp	Tue May 25 12:22:04 2010 +0300
@@ -104,6 +104,7 @@
 void CCamContainerBase::BaseConstructL( const TRect& aRect )
   {
   CreateWindowL();
+  Window().SetBackgroundColor( KRgbBlack );
   SetRect( aRect );
   EnableDragEvents(); 
 
@@ -835,10 +836,11 @@
     if ( appUi 
          && ( !appUi->IsToolBarVisible() || !appUi->DrawPreCaptureCourtesyUI() )
          && ( aKeyEvent.iScanCode == EStdKeyDevice3
-              || aKeyEvent.iScanCode == EStdKeyEnter )
-         && !static_cast<CCamViewBase*>(&iView)->IsPostCapture() ) {
+              || aKeyEvent.iScanCode == EStdKeyEnter
+              || aKeyEvent.iScanCode == EStdKeyNkpEnter ) )
+        {
         isCapturekey = ETrue;
-    }
+        }
     return isCapturekey;
     }
 
@@ -853,10 +855,11 @@
     if ( appUi 
          && !appUi->IsToolBarVisible()
          && ( aKeyEvent.iScanCode == EStdKeyDevice3
-              || aKeyEvent.iScanCode == EStdKeyEnter )
-         && !static_cast<CCamViewBase*>(&iView)->IsPostCapture() ) {
+              || aKeyEvent.iScanCode == EStdKeyEnter
+              || aKeyEvent.iScanCode == EStdKeyNkpEnter ))
+        {
         isCapturekey = ETrue;
-    }
+        }
     return isCapturekey;            
     }