uifw/AvKon/src/akntitle.cpp
branchRCL_3
changeset 5 aabf2c525e0f
parent 3 8ca85d2f0db7
child 6 9f56a4e1b8ab
--- a/uifw/AvKon/src/akntitle.cpp	Fri Feb 19 23:04:46 2010 +0200
+++ b/uifw/AvKon/src/akntitle.cpp	Fri Mar 12 15:43:43 2010 +0200
@@ -96,6 +96,8 @@
 
     TBool                    iImageAutoscaling;
     TBool                    iSmallImageAutoscaling;
+    
+    CEikStatusPaneBase*      iStatusPane;
     };
 
 
@@ -212,6 +214,9 @@
         // set flags to default values
         iExtension->iFlags = 0;
         }
+    
+    iExtension->iStatusPane = CEikStatusPaneBase::Current();
+    	
     }
 
 
@@ -676,9 +681,9 @@
 //
 EXPORT_C void CAknTitlePane::Draw( const TRect& aRect ) const
     {
-    const TUid KActiveIdle2Uid = {0x102750F0};
-
-    if ( AppUid() == KActiveIdle2Uid )
+    	      
+    if ( iExtension->iStatusPane && 
+         iExtension->iStatusPane->IsTransparent() )
         {
         CWindowGc& gc = SystemGc();
         TRgb rgb(TRgb::Color16MA(0));