camerauis/cameraapp/generic/src/CamCaptureSetupSlider.cpp
branchRCL_3
changeset 12 51dda465e618
parent 11 d486e5e3cc9a
child 22 f54ad444594d
--- a/camerauis/cameraapp/generic/src/CamCaptureSetupSlider.cpp	Wed Mar 31 21:06:44 2010 +0300
+++ b/camerauis/cameraapp/generic/src/CamCaptureSetupSlider.cpp	Wed Apr 14 15:41:04 2010 +0300
@@ -422,18 +422,12 @@
     else
         {
         gc.SetDrawMode( CGraphicsContext::EDrawModeWriteAlpha );
+        gc.SetPenSize( TSize (1,1) );
+        gc.SetPenStyle( CGraphicsContext::ENullPen );
+        gc.SetPenColor( TRgb( 0x00ffffff, KToolBarExtensionBgAlpha ) );
         gc.SetBrushColor( TRgb( KToolbarExtensionBgColor, KToolBarExtensionBgAlpha ) );
         gc.SetBrushStyle( CGraphicsContext::ESolidBrush );
         gc.DrawRect( Rect() );            
-        // Reset the brush after use (otherwise anything drawn
-        // after the viewfinder will also show viewfinder frames)    
-        gc.SetDrawMode( CGraphicsContext::EDrawModePEN );
-        TSize penSize( 1, 1 );
-        gc.SetPenSize( penSize );
-        gc.SetPenStyle( CGraphicsContext::EDottedPen );
-        gc.SetPenColor( KRgbWhite );
-        gc.SetBrushStyle( CGraphicsContext::ENullBrush );
-        gc.DrawRect( Rect() );                            
         }
     
     // STEP 1: Draw the legend text