uifw/EikStd/coctlsrc/eikspane.cpp
branchRCL_3
changeset 5 aabf2c525e0f
parent 3 8ca85d2f0db7
child 6 9f56a4e1b8ab
--- a/uifw/EikStd/coctlsrc/eikspane.cpp	Fri Feb 19 23:04:46 2010 +0200
+++ b/uifw/EikStd/coctlsrc/eikspane.cpp	Fri Mar 12 15:43:43 2010 +0200
@@ -3929,9 +3929,31 @@
 	{
 	MakeVisible( aFlags & KEikStatusPaneBaseVisibleBit );
 	SetDimmed( aFlags & KEikStatusPaneBaseDimmedBit );
+	EnableTransparent( aFlags & KStatusPaneTransparentBit );
 	}
 
-
+EXPORT_C void CEikStatusPaneBase::EnableTransparent( TBool aTransparent )
+    {
+    if ( COMPARE_BOOLS( aTransparent, IsTransparent() ) )
+            {
+            return;
+            }
+    if( aTransparent )
+        {
+        iFlags |= KStatusPaneTransparentBit;
+        }
+    else
+        {
+        iFlags &= ~KStatusPaneTransparentBit;
+        }
+    DoDrawNow( EDrawDeferred );
+    
+    }
+
+EXPORT_C TBool CEikStatusPaneBase::IsTransparent() const
+    {
+    return iFlags & KStatusPaneTransparentBit;
+    }
 // ---------------------------------------------------------------------------
 // CEikStatusPaneBase::Flags
 // Returns the status pane flags.