uifw/AvKon/src/aknbattery.cpp
branchRCL_3
changeset 4 8ca85d2f0db7
parent 0 2f259fa3e83a
child 9 aabf2c525e0f
equal deleted inserted replaced
0:2f259fa3e83a 4:8ca85d2f0db7
   350     if ( iIsActiveIdle )
   350     if ( iIsActiveIdle )
   351         {
   351         {
   352         return;
   352         return;
   353         }
   353         }
   354 
   354 
   355     if ( AknStatuspaneUtils::StaconPaneActive() )
   355     // Don't allow normal background drawing if
   356         {
   356     // background is already drawn with a background drawer.
   357         DrawInStaconPane( Rect() );
   357     const MCoeControlBackground* backgroundDrawer = FindBackground();
   358         }
   358     if ( !backgroundDrawer )
   359     else if ( AknStatuspaneUtils::FlatLayoutActive() )
   359         {
   360         {
   360         if ( AknStatuspaneUtils::StaconPaneActive() )
   361         DrawInFlatStatusPane( Rect() );
   361             {
   362         }
   362             DrawInStaconPane( Rect() );
   363     else
   363             }
   364         {
   364         else if ( AknStatuspaneUtils::FlatLayoutActive() )
   365         DrawInNormalStatusPane( Rect() );
   365             {
       
   366             DrawInFlatStatusPane( Rect() );
       
   367             }
       
   368         else
       
   369             {
       
   370             DrawInNormalStatusPane( Rect() );
       
   371             }
   366         }
   372         }
   367     }
   373     }
   368 
   374 
   369 
   375 
   370 // ---------------------------------------------------------------------------
   376 // ---------------------------------------------------------------------------