diff -r bf64cebf4673 -r 53c8aa5d97a3 camerauis/cameraapp/generic/src/CamContainerBase.cpp --- 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(&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(&iView)->IsPostCapture() ) { + || aKeyEvent.iScanCode == EStdKeyEnter + || aKeyEvent.iScanCode == EStdKeyNkpEnter )) + { isCapturekey = ETrue; - } + } return isCapturekey; }