|
1 /* |
|
2 * Copyright (c) 2006 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: resources for the module |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // RESOURCE IDENTIFIER |
|
20 NAME TEMP |
|
21 |
|
22 // INCLUDES |
|
23 |
|
24 #include <eikon.rh> |
|
25 #include <eikon.rsg> |
|
26 #include <avkon.hrh> |
|
27 #include <avkon.mbg> |
|
28 #include <avkon.rsg> |
|
29 #include <avkon.rh> |
|
30 #include <avkonicons.hrh> |
|
31 |
|
32 #include <appinfo.rh> |
|
33 |
|
34 #include "bctestprivateuifrm.hrh" |
|
35 #include "bctestprivateuifrm.loc" |
|
36 |
|
37 // CONSTANTS |
|
38 #define APP_BITMAP_DIR "\\resource\\apps" |
|
39 #define AVKON_BMP_FILENAME AVKON_ICON_FILE |
|
40 #define bctestprivateuifrm_BMP_FNAME APP_BITMAP_DIR"\\bctestprivateuifrm.mbm" |
|
41 |
|
42 |
|
43 // MACROS |
|
44 |
|
45 |
|
46 |
|
47 // RESOURCE DEFINITIONS |
|
48 //----------------------------------------------------------------------------- |
|
49 // |
|
50 // RSS_SIGNATURE |
|
51 // |
|
52 // |
|
53 //----------------------------------------------------------------------------- |
|
54 // |
|
55 RESOURCE RSS_SIGNATURE |
|
56 { |
|
57 } |
|
58 |
|
59 //----------------------------------------------------------------------------- |
|
60 // |
|
61 // TBUF16 |
|
62 // |
|
63 // |
|
64 //----------------------------------------------------------------------------- |
|
65 // |
|
66 RESOURCE TBUF16 |
|
67 { |
|
68 buf = "privateuifrm"; |
|
69 } |
|
70 |
|
71 //----------------------------------------------------------------------------- |
|
72 // |
|
73 // EIK_APP_INFO |
|
74 // |
|
75 // |
|
76 //----------------------------------------------------------------------------- |
|
77 // |
|
78 RESOURCE EIK_APP_INFO |
|
79 { |
|
80 menubar = r_bctestprivateuifrm_menubar_main; |
|
81 cba = r_bctestprivateuifrm_cba_options_next; |
|
82 } |
|
83 |
|
84 // --------------------------------------------------------- |
|
85 // Provide Caption and Icon Info for Scalable UI |
|
86 // |
|
87 // --------------------------------------------------------- |
|
88 // |
|
89 RESOURCE LOCALISABLE_APP_INFO r_bctestprivateuifrm_localisable_app_info |
|
90 { |
|
91 short_caption = qtn_apps_tavl_grid; |
|
92 |
|
93 caption_and_icon = |
|
94 CAPTION_AND_ICON_INFO |
|
95 { |
|
96 caption = qtn_apps_tavl_list; |
|
97 //number_of_icons = 2; |
|
98 //icon_file = APP_BITMAP_DIR"\\bctestprivateuifrm_aif.mbm"; |
|
99 }; |
|
100 } |
|
101 |
|
102 //----------------------------------------------------------------------------- |
|
103 // |
|
104 // r_bctestprivateuifrm_view |
|
105 // AVKON_VIEW for CbctestprivateuifrmView |
|
106 // |
|
107 //----------------------------------------------------------------------------- |
|
108 // |
|
109 RESOURCE AVKON_VIEW r_bctestprivateuifrm_view |
|
110 { |
|
111 menubar = r_bctestprivateuifrm_menubar_main; |
|
112 } |
|
113 |
|
114 //----------------------------------------------------------------------------- |
|
115 // |
|
116 // r_bctestprivateuifrm_menubar |
|
117 // MenuBar |
|
118 // |
|
119 //----------------------------------------------------------------------------- |
|
120 // |
|
121 RESOURCE MENU_BAR r_bctestprivateuifrm_menubar_main |
|
122 { |
|
123 titles = |
|
124 { |
|
125 MENU_TITLE |
|
126 { |
|
127 menu_pane = r_bctestprivateuifrm_menu; |
|
128 }, |
|
129 MENU_TITLE |
|
130 { |
|
131 menu_pane = r_bctestprivateuifrm_case_menu; |
|
132 } |
|
133 }; |
|
134 } |
|
135 |
|
136 //----------------------------------------------------------------------------- |
|
137 // |
|
138 // r_bctestprivateuifrm_case_menu |
|
139 // Menu pane |
|
140 // |
|
141 //----------------------------------------------------------------------------- |
|
142 // |
|
143 RESOURCE MENU_PANE r_bctestprivateuifrm_case_menu |
|
144 { |
|
145 items = |
|
146 { |
|
147 MENU_ITEM |
|
148 { |
|
149 command = EBCTestCmdOutline1; |
|
150 txt = qtn_bctestprivateuifrm_outline1; |
|
151 } |
|
152 }; |
|
153 } |
|
154 |
|
155 //----------------------------------------------------------------------------- |
|
156 // |
|
157 // r_bctestprivateuifrm_menu |
|
158 // Menu pane |
|
159 // |
|
160 //----------------------------------------------------------------------------- |
|
161 // |
|
162 RESOURCE MENU_PANE r_bctestprivateuifrm_menu |
|
163 { |
|
164 items = |
|
165 { |
|
166 MENU_ITEM |
|
167 { |
|
168 command = EProgCmdAutoTest; |
|
169 txt = qtn_bctestprivateuifrm_autotest; |
|
170 }, |
|
171 MENU_ITEM // Menu "Exit" |
|
172 { |
|
173 command = EAknCmdExit; |
|
174 txt = qtn_bctestprivateuifrm_menu_exit; |
|
175 } |
|
176 }; |
|
177 } |
|
178 |
|
179 // ---------------------------------------------------------------------------- |
|
180 // |
|
181 // r_bctestprivateuifrm_cba_options_next |
|
182 // ?description |
|
183 // |
|
184 // ---------------------------------------------------------------------------- |
|
185 // |
|
186 |
|
187 RESOURCE CBA r_bctestprivateuifrm_cba_options_next |
|
188 { |
|
189 buttons = |
|
190 { |
|
191 CBA_BUTTON |
|
192 { |
|
193 id=EAknSoftkeyOptions; |
|
194 txt = text_softkey_option; |
|
195 }, |
|
196 AVKON_CBA_BUTTON |
|
197 { |
|
198 id = EBCTestPrivateUIFrmCbaCmdNext; |
|
199 txt = qtn_bctestprivateuifrm_cba_next; |
|
200 } |
|
201 }; |
|
202 } |
|
203 |
|
204 // ---------------------------------------------------------------------------- |
|
205 // |
|
206 // r_bctest_lbbut |
|
207 // ?description |
|
208 // |
|
209 // ---------------------------------------------------------------------------- |
|
210 // |
|
211 RESOURCE LBBUT r_bctestprivateui_lbbut |
|
212 { |
|
213 buttontype=0; // EEikCtCommandButton |
|
214 button = CMBUT |
|
215 { |
|
216 version=0; |
|
217 behavior=0; |
|
218 layout=0; // ETextRightPictureLeft|EEikCmdButShareExcess |
|
219 helptxt=""; |
|
220 extension=0; |
|
221 txt=""; |
|
222 bmpfile=""; |
|
223 bmpid=0xffff; |
|
224 bmpmask=0xffff; |
|
225 }; |
|
226 hotkey=0; |
|
227 flags=1; // EEikLabeledButtonShowHotKey |
|
228 } |
|
229 |
|
230 // ---------------------------------------------------------------------------- |
|
231 // |
|
232 // r_bctest_button_panel |
|
233 // |
|
234 // ---------------------------------------------------------------------------- |
|
235 // |
|
236 RESOURCE DLG_BUTTONS r_bctest_button_panel |
|
237 { |
|
238 buttons = {}; |
|
239 } |
|
240 |
|
241 // End of File |