diff -r 0818dd463d41 -r 924385140d98 startupservices/Startup/src/startupview.cpp --- a/startupservices/Startup/src/startupview.cpp Thu Aug 19 10:05:08 2010 +0300 +++ b/startupservices/Startup/src/startupview.cpp Tue Aug 31 15:24:25 2010 +0300 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2007,2008 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" @@ -16,9 +16,7 @@ */ -#include -#include // Skin support -#include // Skin support + #include "startupview.h" #include "StartupDefines.h" @@ -52,7 +50,7 @@ CStartupView::~CStartupView() { TRACES("CStartupView::~CStartupView()"); - delete iBgContext; + TRACES("CStartupView::~CStartupView(): End"); } @@ -94,12 +92,6 @@ void CStartupView::SizeChanged() { TRACES("CStartupView::SizeChanged()"); - - if (iBgContext) - { - iBgContext->SetRect( Rect() ); - } - if ( iComponent ) { iComponent->SetRect( Rect() ); @@ -144,23 +136,15 @@ TRACES("CStartupView::Draw()"); CWindowGc& gc = SystemGc(); - MAknsSkinInstance* skin = AknsUtils::SkinInstance(); + gc.SetPenStyle( CGraphicsContext::ENullPen ); gc.SetBrushStyle( CGraphicsContext::ESolidBrush ); - - // Draw skin background - if ( !AknsDrawUtils::Background( skin, iBgContext, gc, aRect ) ) - { - // If Skin is missing, clear with default color - gc.SetClippingRect( aRect ); - gc.SetBrushColor( KRgbWhite ); - gc.Clear(); - } - + gc.SetClippingRect( aRect ); + gc.SetBrushColor( KRgbWhite ); + gc.Clear(); TRACES("CStartupView::Draw(): End"); } - // --------------------------------------------------------------------------- // CStartupView::CStartupView // @@ -172,7 +156,6 @@ TRACES("CStartupView::CStartupView(): End"); } - // --------------------------------------------------------------------------- // CStartupView::ConstructL // @@ -181,18 +164,11 @@ void CStartupView::ConstructL( const TRect& aRect ) { TRACES("CStartupView::ConstructL()"); - - iAvkonAppUi->StatusPane()->MakeVisible( EFalse ); CreateWindowL(); SetRect( aRect ); // Create background drawing context TRect bgrect(aRect.Size()); - iBgContext = CAknsBasicBackgroundControlContext::NewL( - KAknsIIDQsnBgScreen, - bgrect, EFalse ); - ActivateL(); - TRACES("CStartupView::ConstructL(): End"); }