--- a/startupservices/Startup/src/startupview.cpp Mon May 03 12:40:23 2010 +0300
+++ b/startupservices/Startup/src/startupview.cpp Fri May 14 16:01:13 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 <aknappui.h>
-#include <AknsBasicBackgroundControlContext.h> // Skin support
-#include <AknsDrawUtils.h> // 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");
}