equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2002 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: Drawing utilities |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef CALENDRAWUTILS_H |
|
21 #define CALENDRAWUTILS_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <e32base.h> |
|
25 #include <gdi.h> |
|
26 |
|
27 // FORWARD DECLARATIONS |
|
28 class CWindowGc; |
|
29 class MAknsSkinInstance; |
|
30 class TAknsItemID; |
|
31 class TAknWindowLineLayout; |
|
32 class TAknTextLineLayout; |
|
33 class TAknLayoutRect; |
|
34 class CGulIcon; |
|
35 |
|
36 // CLASS DEFINITIONS |
|
37 |
|
38 /** |
|
39 * Drawing utilities |
|
40 */ |
|
41 |
|
42 NONSHARABLE_CLASS( CalenDrawUtils ) |
|
43 { |
|
44 public: |
|
45 static void TextPos( |
|
46 TPoint* aResultArray, |
|
47 const TAknTextLineLayout& aLayout, |
|
48 TSize aItemSize); |
|
49 |
|
50 static void GfxPos( |
|
51 TPoint* aResultArray, |
|
52 const TAknWindowLineLayout& aLayout, |
|
53 TSize aItemSize); |
|
54 |
|
55 static void SetIconSizes(const TAknLayoutRect& aIconLayout, |
|
56 CArrayPtr<CGulIcon>* aIconArray); |
|
57 }; |
|
58 |
|
59 #endif //CALENDRAWUTILS_H |
|
60 |
|
61 |
|
62 // End of file |