equal
deleted
inserted
replaced
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 } |