|
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: Declarations of resource structures for Notepad Library. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef NPDLIB_RH |
|
20 #define NPDLIB_RH |
|
21 |
|
22 // INCLUDES |
|
23 #include <avkon.rsg> |
|
24 //#include "NpdLib.laf" |
|
25 |
|
26 // ----------------------------------------------------------------------------- |
|
27 // NOTEPAD_LIST_DIALOG |
|
28 // resource struct of CNotepadListDialog. |
|
29 // ----------------------------------------------------------------------------- |
|
30 // |
|
31 STRUCT NOTEPAD_LIST_DIALOG |
|
32 { |
|
33 LLINK menubar; // MENU_BAR |
|
34 LLINK dialog; // DIALOG |
|
35 LLINK model; // NOTEPAD_MODEL |
|
36 LLINK editor_dialog = 0; // NOTEPAD_EDITOR_DIALOG |
|
37 LTEXT title = ""; |
|
38 } |
|
39 |
|
40 // ----------------------------------------------------------------------------- |
|
41 // NOTEPAD_EDITOR_DIALOG |
|
42 // resource struct of CNotepadEditorDialog. |
|
43 // ----------------------------------------------------------------------------- |
|
44 // |
|
45 STRUCT NOTEPAD_EDITOR_DIALOG |
|
46 { |
|
47 LLINK menubar; // MENU_BAR |
|
48 LLINK dialog; // DIALOG |
|
49 LTEXT title = ""; |
|
50 } |
|
51 |
|
52 // ----------------------------------------------------------------------------- |
|
53 // NOTEPAD_MODEL |
|
54 // resource struct of CNotepadModel. |
|
55 // ----------------------------------------------------------------------------- |
|
56 // |
|
57 STRUCT NOTEPAD_MODEL |
|
58 { |
|
59 LLINK data_file; |
|
60 WORD listing_style; |
|
61 //WORD list_width_in_chars = NOTEPAD_LIST_WIDTH_IN_CHARS; |
|
62 LLINK date_format = 0; |
|
63 LLINK time_format = 0; |
|
64 } |
|
65 |
|
66 // ----------------------------------------------------------------------------- |
|
67 // NOTEPAD_EDITOR_LAF |
|
68 // resource struct of CNotepadEdwinLines. |
|
69 // ----------------------------------------------------------------------------- |
|
70 // |
|
71 STRUCT NOTEPAD_EDWIN_LINES_CONTROL |
|
72 { |
|
73 // WORD C=ELayoutEmpty; |
|
74 // WORD l=ELayoutEmpty; |
|
75 // WORD t=ELayoutEmpty; |
|
76 // WORD W=ELayoutEmpty; |
|
77 // WORD H=ELayoutEmpty; |
|
78 // WORD baselineskip; |
|
79 // WORD paperlines; |
|
80 } |
|
81 |
|
82 // ----------------------------------------------------------------------------- |
|
83 // NOTEPAD_VIEWER_DIALOG |
|
84 // resource struct of CNotepadViewerDialog. |
|
85 // ----------------------------------------------------------------------------- |
|
86 // |
|
87 STRUCT NOTEPAD_VIEWER_DIALOG |
|
88 { |
|
89 LLINK menubar; // MENU_BAR |
|
90 LLINK dialog; // DIALOG |
|
91 } |
|
92 |
|
93 // ----------------------------------------------------------------------------- |
|
94 // NOTEPAD_MARGINS |
|
95 // Margins of 1st column of list of memos. |
|
96 // ----------------------------------------------------------------------------- |
|
97 // |
|
98 STRUCT NOTEPAD_MARGINS |
|
99 { |
|
100 WORD left; |
|
101 WORD right; |
|
102 } |
|
103 |
|
104 #endif // NPDLIB_RH |
|
105 |
|
106 // End of File |