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: Active Palette Opaque Styler* |
|
15 */ |
|
16 |
|
17 |
|
18 /** |
|
19 * @file ActivePalette2OpaqueStyler.h |
|
20 * Active Palette Opaque Styler |
|
21 */ |
|
22 |
|
23 #ifndef _ACTIVE_PALETTE_2_OPAQUE_STYLER_H |
|
24 #define _ACTIVE_PALETTE_2_OPAQUE_STYLER_H |
|
25 |
|
26 #include "ActivePalette2Styler.h" |
|
27 |
|
28 /** |
|
29 * Renders the opaque drawing style 2D AP |
|
30 */ |
|
31 class CActivePalette2OpaqueStyler : public CActivePalette2Styler |
|
32 { |
|
33 public: |
|
34 /** |
|
35 * 2-stage construction |
|
36 * @return The newly-created object |
|
37 */ |
|
38 static CActivePalette2OpaqueStyler* NewL(); |
|
39 |
|
40 /// @name From CActivePalette2Styler |
|
41 //@{ |
|
42 virtual void ConstructL(); |
|
43 virtual void DrawItem(TInt aScreenPos, CFbsBitmap* aIcon, CFbsBitmap* aMask, TInt aOffsetFrame, TInt aOffsetTotal); |
|
44 virtual void DrawGap(TInt aScreenPos, TInt aOffsetFrame, TInt aOffsetTotal); |
|
45 virtual void AnimItem(TInt aScreenPos, CFbsBitmap* aIcon, CFbsBitmap* aMask); |
|
46 virtual void DrawTopScrollArrowSection(TBool aShowArrow); |
|
47 virtual void DrawBottomScrollArrowSection(TBool aShowArrow); |
|
48 //@} |
|
49 }; |
|
50 |
|
51 #endif // _ACTIVE_PALETTE_2_OPAQUE_STYLER_H |
|