camerauis/cameraapp/generic/src/camcapturebuttoncontainer.cpp
branchRCL_3
changeset 67 756ad29ed18e
parent 62 f0c0788c4de2
equal deleted inserted replaced
62:f0c0788c4de2 67:756ad29ed18e
   283     {
   283     {
   284     PRINT( _L("Camera => CCamCaptureButtonContainer::DrawCaptureButton") );
   284     PRINT( _L("Camera => CCamCaptureButtonContainer::DrawCaptureButton") );
   285     TRect boundingRect( iCaptureRect );
   285     TRect boundingRect( iCaptureRect );
   286     boundingRect.Move( -boundingRect.iTl.iX, -boundingRect.iTl.iY );
   286     boundingRect.Move( -boundingRect.iTl.iX, -boundingRect.iTl.iY );
   287 
   287 
       
   288     // Clear the window
       
   289     aGc.SetPenStyle( CGraphicsContext::ENullPen );
       
   290     aGc.SetBrushStyle( CGraphicsContext::ESolidBrush );
       
   291     aGc.SetDrawMode( CGraphicsContext::EDrawModeWriteAlpha );
       
   292     aGc.SetBrushColor( TRgb::Color16MA( 0 ) );
       
   293     aGc.Clear( boundingRect ); 
       
   294 
   288     if ( iCaptureButtonPressed )
   295     if ( iCaptureButtonPressed )
   289         {
   296         {
   290         aGc.BitBltMasked( iCaptureRect.iTl, iCaptureIconPressed, boundingRect, iCaptureIconPressedMask, EFalse );
   297         aGc.BitBltMasked( iCaptureRect.iTl, iCaptureIconPressed, boundingRect, iCaptureIconPressedMask, EFalse );
   291         }
   298         }
   292     else
   299     else