equal
deleted
inserted
replaced
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 |