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: Declaration of customized ListBox control. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef NPDLISTBOX_H |
|
20 #define NPDLISTBOX_H |
|
21 |
|
22 // INCLUDES |
|
23 #include <aknlists.h> |
|
24 |
|
25 // FORWARD DECLARATIONS |
|
26 class CNotepadDialogBase; |
|
27 |
|
28 // CLASS DECLARATION |
|
29 /** |
|
30 * Customized control for 'list of memos'. |
|
31 * CNotepadListBox is a customized ListBox control class for 'list of memos'. |
|
32 * This class is used only to implement Notepad 'list of memos'. |
|
33 * |
|
34 * @lib NpdLib.lib |
|
35 * @see CAknColumnListBox |
|
36 */ |
|
37 class CNotepadListBox : public CAknSingleHeadingStyleListBox |
|
38 { |
|
39 public: // New function |
|
40 |
|
41 /** |
|
42 * Constructor |
|
43 * |
|
44 */ |
|
45 CNotepadListBox(CNotepadDialogBase& aParent); |
|
46 |
|
47 /** |
|
48 * Load margin parameters from the resource of NpdLib. |
|
49 * |
|
50 */ |
|
51 void LoadMarginsL(); |
|
52 |
|
53 /** |
|
54 * Handles pointer events from pen |
|
55 * |
|
56 */ |
|
57 void HandlePointerEventL( const TPointerEvent& aPointerEvent ); |
|
58 |
|
59 protected: // Functions from base classes |
|
60 |
|
61 /** |
|
62 * From CCoeControl. |
|
63 */ |
|
64 void SizeChanged(); |
|
65 |
|
66 private: // Data |
|
67 |
|
68 TMargins iMargins; |
|
69 CNotepadDialogBase& iParent; |
|
70 }; |
|
71 |
|
72 #endif // NPDLISTBOX_H |
|
73 |
|
74 // End of File |