equal
deleted
inserted
replaced
1 /* |
|
2 * Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Application viewer for SVGT Viewer App. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #include "SvgtViewerAppView.h" |
|
21 #include <AknUtils.h> |
|
22 |
|
23 void CSvgtViewerAppView::ConstructL(const TRect& aRect) |
|
24 { |
|
25 CreateWindowL(); |
|
26 |
|
27 SetRect(aRect); |
|
28 ActivateL(); |
|
29 } |
|
30 |
|
31 CSvgtViewerAppView::~CSvgtViewerAppView() |
|
32 { |
|
33 } |
|
34 |
|
35 TInt CSvgtViewerAppView::CountComponentControls() const |
|
36 { |
|
37 return 0; |
|
38 } |
|
39 |
|
40 CCoeControl* CSvgtViewerAppView::ComponentControl(TInt /* aIndex */) const |
|
41 { |
|
42 return NULL; |
|
43 } |
|
44 |
|
45 void CSvgtViewerAppView::Draw(const TRect& /* aRect */) const |
|
46 { |
|
47 CWindowGc& gc = SystemGc(); |
|
48 gc.Clear(); |
|
49 } |
|
50 |
|
51 void CSvgtViewerAppView::HandleResourceChange (TInt /* aType */) |
|
52 { |
|
53 TRect rect; |
|
54 AknLayoutUtils::LayoutMetricsRect( AknLayoutUtils::EMainPane, rect ); |
|
55 SetRect( rect ); |
|
56 } |
|
57 |
|
58 //End of file |
|
59 |
|