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: |
|
15 * application grid |
|
16 * |
|
17 * |
|
18 */ |
|
19 |
|
20 |
|
21 #ifndef __AKNAPPGRID_H__ |
|
22 #define __AKNAPPGRID_H__ |
|
23 |
|
24 |
|
25 #include <eikfrlb.h> |
|
26 #include <AknGrid.h> |
|
27 #include "aknshortcuts.h" |
|
28 |
|
29 typedef AknListBoxShortCutTemplate<CAknGrid> CAknShortCutSelectionGridTypedef; |
|
30 #define AKNSHORTCUTGRID AknListBoxShortCutTemplate<CAknGrid> |
|
31 |
|
32 |
|
33 /** grid_app_pane |
|
34 * Application shell uses this (note that part of layout needs to be done |
|
35 * inside application -- the listbox will not be in correct position on the |
|
36 * screen by just using this -- see listapp) |
|
37 */ |
|
38 class CAknAppStyleGrid : public CAknShortCutSelectionGridTypedef |
|
39 { |
|
40 public: |
|
41 IMPORT_C virtual void ConstructL(const CCoeControl* aParent, TInt aFlags=0); |
|
42 IMPORT_C void SizeChanged(); |
|
43 IMPORT_C TSize MinimumSize(); |
|
44 IMPORT_C void SetShortcutEnabledL(TBool aValue); |
|
45 IMPORT_C void DrawBackgroundAroundGrid(CWindowGc &aGc, const TRect &aClientRect, const TRect &aGridRect); |
|
46 private: |
|
47 void SizeChangedL(); |
|
48 }; |
|
49 |
|
50 |
|
51 #endif |