|
1 /* |
|
2 * Copyright (c) 2002-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: Grid handling the list functionality in fast application swap. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef AKNFASTSWAPWINDOWGRID_H |
|
19 #define AKNFASTSWAPWINDOWGRID_H |
|
20 |
|
21 // INCLUDES |
|
22 #include <AknGrid.h> |
|
23 #include <eikfrlb.h> |
|
24 #include <bldvariant.hrh> |
|
25 |
|
26 /** |
|
27 * Grid handling the list functionality in fast application swap |
|
28 * Basically a listbox with a different item drawer. |
|
29 */ |
|
30 NONSHARABLE_CLASS(CAknFastSwapWindowGrid): public CAknGrid |
|
31 { |
|
32 public: // Functions from base classes |
|
33 /** |
|
34 * From CCoeControl. |
|
35 */ |
|
36 void SizeChanged(); |
|
37 |
|
38 /** |
|
39 * From CAknGrid/CEikFormattedCellListBox. |
|
40 */ |
|
41 void CreateItemDrawerL(); |
|
42 |
|
43 /** |
|
44 * From CAknGrid/CEikFormattedCellListBox. |
|
45 */ |
|
46 void HandleItemRemovalL(); |
|
47 |
|
48 void UpdateScrollBarsL(); |
|
49 |
|
50 private: |
|
51 /** |
|
52 * Color and border setting. |
|
53 */ |
|
54 void SetupStandardGrid(); |
|
55 |
|
56 /** |
|
57 * From CCoeControl Method handling the pointer events while the fsw is used. |
|
58 * @param aPointerEvent Information about the event. |
|
59 */ |
|
60 void HandlePointerEventL( const TPointerEvent &aPointerEvent ); |
|
61 |
|
62 private: // listbox use only |
|
63 IMPORT_C virtual void CEikListBox_Reserved(); |
|
64 |
|
65 }; |
|
66 |
|
67 #endif // AKNFSGRID_H |
|
68 |
|
69 // End of File |