|
1 /* |
|
2 * Copyright (c) 2007-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 definitions for the Camera Application* |
|
15 */ |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 //---------------------------------------------------- |
|
22 // |
|
23 // r_cam_still_pre_capture_title_name |
|
24 // Title name used in still pre-capture view |
|
25 // |
|
26 //---------------------------------------------------- |
|
27 // |
|
28 RESOURCE TITLE_PANE r_cam_still_pre_capture_title_name |
|
29 { |
|
30 txt = qtn_lcam_title_text_camera; |
|
31 } |
|
32 |
|
33 // --------------------------------------------------- |
|
34 // |
|
35 // r_cam_image_saving_cancel_note |
|
36 // Dialog to display cancel image saving |
|
37 // confirmation note |
|
38 // |
|
39 // --------------------------------------------------- |
|
40 // |
|
41 RESOURCE DIALOG r_cam_image_saving_cancel_note |
|
42 { |
|
43 flags = EGeneralQueryFlags; |
|
44 buttons = R_AVKON_SOFTKEYS_YES_NO__YES; |
|
45 |
|
46 items = |
|
47 { |
|
48 DLG_LINE |
|
49 { |
|
50 type = EAknCtQuery; |
|
51 id = EGeneralQuery; |
|
52 control = AVKON_CONFIRMATION_QUERY |
|
53 { |
|
54 layout = EConfirmationQueryLayout; |
|
55 label = ""; |
|
56 }; |
|
57 } |
|
58 }; |
|
59 } |
|
60 |
|
61 //----------------------------------------------------------------------------- |
|
62 // |
|
63 // r_cam_image_saving_cancel_note_text |
|
64 // Cancel confirmation query text. |
|
65 // |
|
66 //----------------------------------------------------------------------------- |
|
67 // |
|
68 RESOURCE TBUF r_cam_image_saving_cancel_note_text |
|
69 { |
|
70 buf = qtn_lcam_note_cancel_images; |
|
71 } |
|
72 |
|
73 //---------------------------------------------------- |
|
74 // |
|
75 // r_cam_loading_image_wait_note |
|
76 // Wait note shown when setting background image |
|
77 // |
|
78 //---------------------------------------------------- |
|
79 // |
|
80 RESOURCE DIALOG r_cam_loading_image_wait_note |
|
81 { |
|
82 flags = EAknWaitNoteFlags; |
|
83 buttons = R_AVKON_SOFTKEYS_EMPTY; |
|
84 items= |
|
85 { |
|
86 DLG_LINE |
|
87 { |
|
88 type = EAknCtNote; |
|
89 id = ELoadingImageWaitNote; |
|
90 control = AVKON_NOTE |
|
91 { |
|
92 layout = EWaitLayout; |
|
93 animation = R_QGN_GRAF_WAIT_BAR_ANIM; |
|
94 singular_label = qtn_lcam_loading_image; |
|
95 }; |
|
96 } |
|
97 }; |
|
98 } |
|
99 |
|
100 //---------------------------------------------------- |
|
101 // |
|
102 // r_cam_move_to_still_image_interest |
|
103 // This resource is used to register an interest in |
|
104 // still-image Application InterWork (AIW) |
|
105 // |
|
106 //---------------------------------------------------- |
|
107 // |
|
108 RESOURCE AIW_INTEREST r_cam_move_to_still_image_interest |
|
109 { |
|
110 items = |
|
111 { |
|
112 AIW_CRITERIA_ITEM // PRINT still image |
|
113 { |
|
114 id = ECamCmdPrint; |
|
115 serviceCmd = KAiwCmdPrint; |
|
116 contentType = "image/*"; |
|
117 serviceClass = KAiwClassMenu; |
|
118 maxProviders = 5; |
|
119 } |
|
120 }; |
|
121 } |
|
122 |
|
123 //---------------------------------------------------- |
|
124 // |
|
125 // r_cam_move_to_still_image_interest_at |
|
126 // This resource is used to register an interest in |
|
127 // still-image Application InterWork (AIW) for use by |
|
128 // Active Toolbar - which only supports QuickPrint app |
|
129 // |
|
130 //---------------------------------------------------- |
|
131 // |
|
132 RESOURCE AIW_INTEREST r_cam_move_to_still_image_interest_at |
|
133 { |
|
134 items = |
|
135 { |
|
136 AIW_CRITERIA_ITEM // PRINT still image |
|
137 { |
|
138 id = ECamCmdPrint; |
|
139 serviceCmd = KAiwCmdPrint; |
|
140 contentType = "image/*"; |
|
141 serviceClass = KAiwClassBase; |
|
142 maxProviders = 1; |
|
143 loadOptions = AIW_OPTIONS_ROM_ONLY; |
|
144 } |
|
145 }; |
|
146 } |
|
147 |
|
148 //---------------------------------------------------- |
|
149 // |
|
150 // r_cam_move_to_still_image_sequence_interest |
|
151 // This resource is used to register an interest in |
|
152 // still-image Application InterWork (AIW) |
|
153 // |
|
154 //---------------------------------------------------- |
|
155 // |
|
156 RESOURCE AIW_INTEREST r_cam_move_to_still_image_sequence_interest |
|
157 { |
|
158 items = |
|
159 { |
|
160 AIW_CRITERIA_ITEM // PRINT still image |
|
161 { |
|
162 id = ECamCmdPrint; |
|
163 serviceCmd = KAiwCmdPrint; |
|
164 contentType = "image/*"; |
|
165 serviceClass = KAiwClassMenu; |
|
166 maxProviders = 5; |
|
167 } |
|
168 }; |
|
169 } |
|
170 |
|
171 //---------------------------------------------------- |
|
172 // |
|
173 // r_cam_share_on_ovi_interest |
|
174 // This resource is used to register an interest in |
|
175 // Share on Ovi Application InterWork (AIW) |
|
176 // |
|
177 //---------------------------------------------------- |
|
178 // |
|
179 RESOURCE AIW_INTEREST r_cam_share_on_ovi_interest |
|
180 { |
|
181 items = |
|
182 { |
|
183 AIW_CRITERIA_ITEM // Upload still image |
|
184 { |
|
185 id = ECamCmdShareOnOvi; |
|
186 serviceCmd = KAiwCmdUpload; |
|
187 //contentType = "image/*"; |
|
188 contentType = "*"; |
|
189 serviceClass = KAiwClassMenu; |
|
190 maxProviders = 1; |
|
191 } |
|
192 }; |
|
193 } |
|
194 |
|
195 //---------------------------------------------------- |
|
196 // |
|
197 // r_cam_set_as_call_image_interest |
|
198 // This resource is used to register an interest in |
|
199 // Set as contact call image Application InterWork (AIW) |
|
200 // |
|
201 //---------------------------------------------------- |
|
202 // |
|
203 RESOURCE AIW_INTEREST r_cam_set_as_call_image_interest |
|
204 { |
|
205 items = |
|
206 { |
|
207 AIW_CRITERIA_ITEM // |
|
208 { |
|
209 id = KAiwCmdAssign; |
|
210 serviceCmd = KAiwCmdAssign; |
|
211 contentType = "*"; |
|
212 serviceClass = KAiwClassMenu; |
|
213 //maxProviders = 1; |
|
214 //defaultProvider = 0x1020728f; |
|
215 } |
|
216 }; |
|
217 } |
|
218 |
|
219 // --------------------------------------------------- |
|
220 // |
|
221 // r_cam_saving_images_progress_note |
|
222 // Dialog to display whilst saving images |
|
223 // |
|
224 // --------------------------------------------------- |
|
225 // |
|
226 RESOURCE DIALOG r_cam_saving_images_progress_note |
|
227 { |
|
228 flags = EAknProgressNoteFlags | EEikDialogFlagWait; |
|
229 buttons = R_AVKON_SOFTKEYS_EMPTY; |
|
230 items= |
|
231 { |
|
232 DLG_LINE |
|
233 { |
|
234 type = EAknCtNote; |
|
235 id = ESavingImagesProgressNote; |
|
236 control = AVKON_NOTE |
|
237 { |
|
238 layout = EWaitLayout; |
|
239 singular_label = qtn_lcam_note_saving_images; |
|
240 imagefile = AVKON_ICON_FILE; |
|
241 imageid = EMbmAvkonQgn_note_progress; |
|
242 imagemask = EMbmAvkonQgn_note_progress_mask; |
|
243 }; |
|
244 } |
|
245 }; |
|
246 } |
|
247 |
|
248 //----------------------------------------------------------------------------- |
|
249 // |
|
250 // r_cam_self_timer_menu |
|
251 // Cascade menu option for showing the self-timer periods |
|
252 // |
|
253 //----------------------------------------------------------------------------- |
|
254 // |
|
255 RESOURCE MENU_PANE r_cam_self_timer_menu |
|
256 { |
|
257 items = |
|
258 { |
|
259 MENU_ITEM |
|
260 { |
|
261 command = ECamCmdSelfTimer1; |
|
262 txt = qtn_lcam_st_2; |
|
263 }, |
|
264 MENU_ITEM |
|
265 { |
|
266 command = ECamCmdSelfTimer2; |
|
267 txt = qtn_lcam_st_10; |
|
268 }, |
|
269 MENU_ITEM |
|
270 { |
|
271 command = ECamCmdSelfTimer3; |
|
272 txt = qtn_lcam_st_20; |
|
273 } |
|
274 }; |
|
275 } |
|
276 |
|
277 // --------------------------------------------------- |
|
278 // |
|
279 // r_cam_still_post_capture_delete_note |
|
280 // Dialog to display delete image confirmation note |
|
281 // |
|
282 // --------------------------------------------------- |
|
283 // |
|
284 RESOURCE DIALOG r_cam_still_post_capture_delete_note |
|
285 { |
|
286 flags = EGeneralQueryFlags; |
|
287 buttons = R_AVKON_SOFTKEYS_YES_NO__YES; |
|
288 |
|
289 items = |
|
290 { |
|
291 DLG_LINE |
|
292 { |
|
293 type = EAknCtQuery; |
|
294 id = EGeneralQuery; |
|
295 control = AVKON_CONFIRMATION_QUERY |
|
296 { |
|
297 layout = EConfirmationQueryLayout; |
|
298 label = ""; |
|
299 }; |
|
300 } |
|
301 }; |
|
302 } |
|
303 |
|
304 |
|
305 //----------------------------------------------------------------------------- |
|
306 // |
|
307 // r_cam_still_post_capture_delete_note_text |
|
308 // Delete confirmation query text. |
|
309 // |
|
310 //----------------------------------------------------------------------------- |
|
311 // |
|
312 RESOURCE TBUF r_cam_still_post_capture_delete_note_text |
|
313 { |
|
314 buf = qtn_lcam_note_delete_photo; |
|
315 } |
|
316 |
|
317 // --------------------------------------------------------- |
|
318 // |
|
319 // r_cam_timelapse_post_capture_menubar |
|
320 // Menubar for timelapse capture post capture view |
|
321 // |
|
322 // --------------------------------------------------------- |
|
323 // |
|
324 RESOURCE MENU_BAR r_cam_timelapse_post_capture_menubar |
|
325 { |
|
326 titles = |
|
327 { |
|
328 MENU_TITLE |
|
329 { |
|
330 menu_pane = r_cam_timelapse_post_capture_menu; |
|
331 } |
|
332 }; |
|
333 } |
|
334 |
|
335 // --------------------------------------------------------- |
|
336 // |
|
337 // r_cam_timelapse_post_capture_menu |
|
338 // Options menu for timelapse post capture view |
|
339 // |
|
340 // --------------------------------------------------------- |
|
341 // |
|
342 RESOURCE MENU_PANE r_cam_timelapse_post_capture_menu |
|
343 { |
|
344 items = |
|
345 { |
|
346 MENU_ITEM |
|
347 { |
|
348 command = ECamCmdNewPhoto; |
|
349 txt = qtn_lcam_options_new_photos; |
|
350 }, |
|
351 MENU_ITEM |
|
352 { |
|
353 command = ECamCmdDelete; |
|
354 txt = qtn_lcam_options_delete; |
|
355 }, |
|
356 MENU_ITEM |
|
357 { |
|
358 command = ECamCmdDeleteSequence; |
|
359 txt = qtn_lcam_options_deleteall; |
|
360 }, |
|
361 MENU_ITEM |
|
362 { |
|
363 command = ECamCmdPhotos; |
|
364 txt = qtn_lcam_options_go_to_photos; |
|
365 }, |
|
366 MENU_ITEM |
|
367 { |
|
368 command = EAknCmdHelp; |
|
369 txt = qtn_options_help; |
|
370 }, |
|
371 MENU_ITEM |
|
372 { |
|
373 command = ECamCmdInternalExit; |
|
374 txt = qtn_options_exit; |
|
375 } |
|
376 }; |
|
377 } |
|
378 |
|
379 |
|
380 |
|
381 // --------------------------------------------------------- |
|
382 // |
|
383 // r_cam_still_post_capture_ok_menubar |
|
384 // Ok menubar for still image post capture view |
|
385 // |
|
386 // --------------------------------------------------------- |
|
387 // |
|
388 RESOURCE MENU_BAR r_cam_still_post_capture_ok_menubar |
|
389 { |
|
390 titles = |
|
391 { |
|
392 MENU_TITLE |
|
393 { |
|
394 menu_pane = r_cam_still_post_capture_ok_menu; |
|
395 } |
|
396 }; |
|
397 } |
|
398 |
|
399 // --------------------------------------------------------- |
|
400 // |
|
401 // r_cam_still_post_capture_ok_menu |
|
402 // Context specific ok options menu for still |
|
403 // image post capture view |
|
404 // |
|
405 // --------------------------------------------------------- |
|
406 // |
|
407 RESOURCE MENU_PANE r_cam_still_post_capture_ok_menu |
|
408 { |
|
409 items = |
|
410 { |
|
411 MENU_ITEM |
|
412 { |
|
413 command = ECamCmdNewPhoto; |
|
414 txt = qtn_lcam_options_new_photo; |
|
415 }, |
|
416 MENU_ITEM |
|
417 { |
|
418 command = ECamCmdDelete; |
|
419 txt = qtn_lcam_options_delete; |
|
420 } |
|
421 }; |
|
422 } |
|
423 |
|
424 //----------------------------------------------------------------------------- |
|
425 // |
|
426 // r_cam_still_pre_capture_menu_burst_off_text |
|
427 // Switch to normal mode text |
|
428 // |
|
429 //----------------------------------------------------------------------------- |
|
430 // |
|
431 RESOURCE TBUF r_cam_still_pre_capture_menu_burst_off_text |
|
432 { |
|
433 buf = qtn_lcam_deact_seq_mode; |
|
434 } |
|
435 |
|
436 //---------------------------------------------------- |
|
437 // |
|
438 // r_cam_still_scene_setting_title |
|
439 // Title name used in still scene settings view |
|
440 // |
|
441 //---------------------------------------------------- |
|
442 // |
|
443 RESOURCE TITLE_PANE r_cam_still_scene_setting_title |
|
444 { |
|
445 txt = qtn_lcam_title_text_scenes_phot; |
|
446 } |
|
447 |
|
448 //---------------------------------------------------- |
|
449 // |
|
450 // r_cam_still_sequence_mode_setting_title |
|
451 // Title name used in still sequence mode settings view |
|
452 // |
|
453 //---------------------------------------------------- |
|
454 // |
|
455 RESOURCE TITLE_PANE r_cam_still_sequence_mode_setting_title |
|
456 { |
|
457 txt = qtn_lcam_selector_title_tl; |
|
458 } |
|
459 |
|
460 //----------------------------------------------------------------------------- |
|
461 // |
|
462 // r_cam_img_precap_reticule |
|
463 // The size and position of the still reticule |
|
464 // |
|
465 //----------------------------------------------------------------------------- |
|
466 // |
|
467 RESOURCE AVKON_LAYOUT_RECT r_cam_img_precap_reticule |
|
468 { |
|
469 //l = 80; t = 60; W = 160; H = 120; |
|
470 l = 200; t = 90; W = 240; H = 180; |
|
471 |
|
472 // { r = 142 ; t = 106; W = 36; H = 27; } |
|
473 } |
|
474 |
|
475 //----------------------------------------------------------------------------- |
|
476 // |
|
477 // r_cam_img_precap_flash_icon |
|
478 // The size and position of flash charging indicator |
|
479 // |
|
480 //----------------------------------------------------------------------------- |
|
481 // |
|
482 RESOURCE AVKON_LAYOUT_RECT r_cam_img_precap_flash_icon |
|
483 { r = 249 ; t = 3; W = 16; H = 16; } |
|
484 |
|
485 |
|
486 |
|
487 //---------------------------------------------------- |
|
488 // |
|
489 // r_cam_saving_image_wait_note |
|
490 // Wait note shown when saving image after capture |
|
491 // |
|
492 //---------------------------------------------------- |
|
493 // |
|
494 RESOURCE DIALOG r_cam_processing_wait_note |
|
495 { |
|
496 flags = EAknWaitNoteFlags | EEikDialogFlagNoBackgroundFade; |
|
497 buttons = R_AVKON_SOFTKEYS_EMPTY; |
|
498 items= |
|
499 { |
|
500 DLG_LINE |
|
501 { |
|
502 type = EAknCtNote; |
|
503 id = EGenProcessingWaitNote; |
|
504 control = AVKON_NOTE |
|
505 { |
|
506 layout = EWaitLayout; |
|
507 animation = R_QGN_GRAF_WAIT_BAR_ANIM; |
|
508 singular_label = qtn_gen_note_processing; |
|
509 }; |
|
510 } |
|
511 }; |
|
512 } |
|
513 |
|
514 |