|
1 /* |
|
2 * Copyright (c) 2008 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: Resource files for task switcher app |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 NAME HGTL |
|
20 |
|
21 #include <eikon.rh> |
|
22 #include <eikon.rsg> |
|
23 #include <avkon.rh> |
|
24 #include <avkon.rsg> |
|
25 #include <appinfo.rh> |
|
26 |
|
27 #include <avkon.loc> |
|
28 #include <taskswitcher.loc> |
|
29 |
|
30 #include "tscommands.hrh" |
|
31 |
|
32 // --------------------------------------------------------- |
|
33 // |
|
34 // Define the resource file signature |
|
35 // This resource should be empty. |
|
36 // |
|
37 // --------------------------------------------------------- |
|
38 // |
|
39 RESOURCE RSS_SIGNATURE { } |
|
40 |
|
41 // --------------------------------------------------------- |
|
42 // |
|
43 // Default Document Name |
|
44 // |
|
45 // --------------------------------------------------------- |
|
46 // |
|
47 RESOURCE TBUF r_default_document_name { buf=""; } |
|
48 |
|
49 // --------------------------------------------------------- |
|
50 // |
|
51 // Define default menu and CBA key. |
|
52 // |
|
53 // --------------------------------------------------------- |
|
54 // |
|
55 RESOURCE EIK_APP_INFO |
|
56 { |
|
57 menubar = r_ts_menubar; |
|
58 cba = r_ts_cba_nontouch; |
|
59 } |
|
60 |
|
61 // --------------------------------------------------------- |
|
62 // |
|
63 // CBA for non-touch. |
|
64 // |
|
65 // --------------------------------------------------------- |
|
66 // |
|
67 RESOURCE CBA r_ts_cba_nontouch |
|
68 { |
|
69 flags = 0; |
|
70 buttons = |
|
71 { |
|
72 CBA_BUTTON {id=EAknSoftkeySelect; txt=text_softkey_select;}, // left softkey |
|
73 CBA_BUTTON {id=EAknSoftkeyBack; txt=text_softkey_back;}, // right softkey |
|
74 CBA_BUTTON {id=EAknSoftkeySelect; txt=text_softkey_select;} // middle softkey, same as lsk, label is not shown in touch |
|
75 }; |
|
76 } |
|
77 |
|
78 // --------------------------------------------------------- |
|
79 // |
|
80 // CBA for touch. |
|
81 // |
|
82 // --------------------------------------------------------- |
|
83 // |
|
84 RESOURCE CBA r_ts_cba_touch |
|
85 { |
|
86 flags = 0; |
|
87 buttons = |
|
88 { |
|
89 CBA_BUTTON {id=EAknSoftkeySelect; txt=text_softkey_empty;}, // left softkey, no label |
|
90 CBA_BUTTON {id=EAknSoftkeyBack; txt=text_softkey_back;}, // right softkey |
|
91 CBA_BUTTON {id=EAknSoftkeySelect; txt=text_softkey_select;} // middle softkey, same as lsk, label is not shown in touch |
|
92 }; |
|
93 } |
|
94 |
|
95 |
|
96 // --------------------------------------------------------- |
|
97 // |
|
98 // r_ts_menubar |
|
99 // Menubar for ts |
|
100 // |
|
101 // --------------------------------------------------------- |
|
102 // |
|
103 RESOURCE MENU_BAR r_ts_menubar |
|
104 { |
|
105 titles = |
|
106 { |
|
107 MENU_TITLE {menu_pane = r_ts_menu;} |
|
108 }; |
|
109 } |
|
110 |
|
111 |
|
112 // --------------------------------------------------------- |
|
113 // |
|
114 // r_ts_menu |
|
115 // Menu for "Options" |
|
116 // |
|
117 // --------------------------------------------------------- |
|
118 // |
|
119 RESOURCE MENU_PANE r_ts_menu |
|
120 { |
|
121 items = |
|
122 { |
|
123 MENU_ITEM { command = ETsCmdHelp; txt = qtn_options_help; }, |
|
124 MENU_ITEM { command = EAknSoftkeyExit; txt = text_softkey_exit; } |
|
125 }; |
|
126 } |
|
127 |
|
128 // --------------------------------------------------------- |
|
129 // |
|
130 // r_ts_panel__name |
|
131 // task switcher panel name |
|
132 // |
|
133 // --------------------------------------------------------- |
|
134 // |
|
135 RESOURCE TBUF r_ts_panel_name |
|
136 { |
|
137 buf="Task Switcher"; |
|
138 } |
|
139 |
|
140 // --------------------------------------------------------- |
|
141 // |
|
142 // r_ts_message_dialog_okcancel |
|
143 // message dialog with ok and cancel softkeys labels |
|
144 // |
|
145 // --------------------------------------------------------- |
|
146 // |
|
147 RESOURCE DIALOG r_ts_message_dialog_okcancel |
|
148 { |
|
149 flags = EGeneralQueryFlags; |
|
150 buttons = R_AVKON_SOFTKEYS_OK_CANCEL; |
|
151 items = |
|
152 { |
|
153 DLG_LINE |
|
154 { |
|
155 type = EAknCtPopupHeadingPane; |
|
156 id = EAknMessageQueryHeaderId; |
|
157 control = AVKON_HEADING |
|
158 { |
|
159 headinglayout = 0; |
|
160 }; |
|
161 }, |
|
162 DLG_LINE |
|
163 { |
|
164 type = EAknCtMessageQuery; |
|
165 id = EAknMessageQueryContentId; |
|
166 control = AVKON_MESSAGE_QUERY { }; |
|
167 } |
|
168 }; |
|
169 } |
|
170 |
|
171 // --------------------------------------------------------- |
|
172 // |
|
173 // r_ts_message_dialog_yesno |
|
174 // message dialog with yes and no softkeys labels |
|
175 // |
|
176 // --------------------------------------------------------- |
|
177 // |
|
178 RESOURCE DIALOG r_ts_message_dialog_yesno |
|
179 { |
|
180 flags = EGeneralQueryFlags; |
|
181 buttons = R_AVKON_SOFTKEYS_YES_NO; |
|
182 items = |
|
183 { |
|
184 DLG_LINE |
|
185 { |
|
186 type = EAknCtPopupHeadingPane; |
|
187 id = EAknMessageQueryHeaderId; |
|
188 control = AVKON_HEADING |
|
189 { |
|
190 headinglayout = 0; |
|
191 }; |
|
192 }, |
|
193 DLG_LINE |
|
194 { |
|
195 type = EAknCtMessageQuery; |
|
196 id = EAknMessageQueryContentId; |
|
197 control = AVKON_MESSAGE_QUERY { }; |
|
198 } |
|
199 }; |
|
200 } |
|
201 |
|
202 // --------------------------------------------------------- |
|
203 // |
|
204 // r_ts_message_dialog_ok |
|
205 // message dialog with ok softkey label |
|
206 // |
|
207 // --------------------------------------------------------- |
|
208 // |
|
209 RESOURCE DIALOG r_ts_message_dialog_ok |
|
210 { |
|
211 flags = EGeneralQueryFlags; |
|
212 buttons = R_AVKON_SOFTKEYS_OK_EMPTY; |
|
213 items = |
|
214 { |
|
215 DLG_LINE |
|
216 { |
|
217 type = EAknCtPopupHeadingPane; |
|
218 id = EAknMessageQueryHeaderId; |
|
219 control = AVKON_HEADING |
|
220 { |
|
221 headinglayout = 0; |
|
222 }; |
|
223 }, |
|
224 DLG_LINE |
|
225 { |
|
226 type = EAknCtMessageQuery; |
|
227 id = EAknMessageQueryContentId; |
|
228 control = AVKON_MESSAGE_QUERY { }; |
|
229 } |
|
230 }; |
|
231 } |
|
232 |
|
233 // --------------------------------------------------------- |
|
234 // |
|
235 // r_ts_fsw_confirm_close_query |
|
236 // shown when Clear key is pressed in FSW |
|
237 // |
|
238 // --------------------------------------------------------- |
|
239 // |
|
240 RESOURCE DIALOG r_ts_fsw_confirm_close_query |
|
241 { |
|
242 flags = EGeneralQueryFlags; |
|
243 buttons = R_AVKON_SOFTKEYS_YES_NO; |
|
244 items = |
|
245 { |
|
246 DLG_LINE |
|
247 { |
|
248 type = EAknCtQuery; |
|
249 id = EGeneralQuery; |
|
250 control = AVKON_CONFIRMATION_QUERY |
|
251 { |
|
252 layout = EConfirmationQueryLayout; |
|
253 }; |
|
254 } |
|
255 }; |
|
256 } |
|
257 |
|
258 |
|
259 |
|
260 RESOURCE LOCALISABLE_APP_INFO r_localisable_app_info |
|
261 { |
|
262 short_caption = "Task Switcher"; |
|
263 caption_and_icon = |
|
264 { |
|
265 CAPTION_AND_ICON_INFO |
|
266 { |
|
267 caption="Task Switcher"; |
|
268 } |
|
269 }; |
|
270 } |
|
271 |
|
272 |
|
273 RESOURCE TBUF r_ts_title { buf = "Task Switcher"; } |
|
274 |
|
275 RESOURCE TBUF r_ts_fsw_activate { buf = qtn_task_switcher_popup_open_app; } |
|
276 RESOURCE TBUF r_ts_fsw_close { buf = qtn_task_switcher_popup_close_app; } |
|
277 RESOURCE TBUF r_ts_fsw_close_all { buf = qtn_task_switcher_popup_close_all; } |
|
278 RESOURCE TBUF r_ts_fsw_confirm_close { buf = qtn_memlo_confirm_close; } |
|
279 |
|
280 RESOURCE TBUF r_task_switcher_heading_applications { buf = qtn_task_switcher_heading_applications; } |
|
281 |
|
282 // end of file |