uifw/AvKon/src/akndigitalclock.cpp
branchRCL_3
changeset 4 8ca85d2f0db7
parent 0 2f259fa3e83a
child 9 aabf2c525e0f
equal deleted inserted replaced
0:2f259fa3e83a 4:8ca85d2f0db7
     1 /*
     1 /*
     2 * Copyright (c) 2006-2008 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
   321         {
   321         {
   322         CWindowGc& gc = SystemGc();
   322         CWindowGc& gc = SystemGc();
   323 
   323 
   324         TRect rect( Rect() );
   324         TRect rect( Rect() );
   325 
   325 
   326         if ( iFlags & EAknDigitalClockInStatusPane )
   326         const MCoeControlBackground* backgroundDrawer = FindBackground();
       
   327         if ( !backgroundDrawer &&
       
   328              iFlags & EAknDigitalClockInStatusPane )
   327             {
   329             {
   328             MAknsSkinInstance* skin = AknsUtils::SkinInstance();
   330             MAknsSkinInstance* skin = AknsUtils::SkinInstance();
   329             MAknsControlContext* cc = AknsDrawUtils::ControlContext( this );
   331             MAknsControlContext* cc = AknsDrawUtils::ControlContext( this );
   330             AknsDrawUtils::Background( skin, cc, this, gc, Rect() );
   332             AknsDrawUtils::Background( skin, cc, this, gc, Rect() );
   331             }
   333             }