equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2005-2008 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: Rendering library static utility class. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef AKNSRLUTILS_H |
|
20 #define AKNSRLUTILS_H |
|
21 |
|
22 // INCLUDES |
|
23 #include <e32base.h> |
|
24 #include <AknsItemID.h> |
|
25 |
|
26 // FORWARD DECLARATIONS |
|
27 class MAknsSkinInstance; |
|
28 |
|
29 // CLASS DECLARATION |
|
30 |
|
31 /** |
|
32 * Rendering library static utility class. |
|
33 * |
|
34 * @since 2.8 |
|
35 */ |
|
36 NONSHARABLE_CLASS(AknsRlUtils) |
|
37 { |
|
38 private: // Constructors and destructor |
|
39 |
|
40 // Static class |
|
41 AknsRlUtils(); |
|
42 ~AknsRlUtils(); |
|
43 |
|
44 public: // New methods |
|
45 |
|
46 /** |
|
47 * Checks if the skin ID is popup center graphics. |
|
48 * @param aIID item ID to check |
|
49 * @return ETrue if check item ID is frame center piece. |
|
50 * @since 2.8 |
|
51 */ |
|
52 IMPORT_C static TBool IsPopupCenter( const TAknsItemID& aIID ); |
|
53 |
|
54 /** |
|
55 * Gets popup frame dimensions. |
|
56 * @par aTlSize top-left size |
|
57 * @par aBrSize bottom-right size |
|
58 * @since 2.8 |
|
59 */ |
|
60 IMPORT_C static void GetPopupFrameDimensions( |
|
61 TSize& aTlSize, TSize& aBrSize ); |
|
62 }; |
|
63 |
|
64 #endif // AKNSRLUTILS_H |
|
65 |
|
66 // End of File |