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 definitions for the Camera Application* |
|
15 */ |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 #define KPhotoQualitySliderLegendCentreX 20 |
|
21 |
|
22 |
|
23 //---------------------------------------------------- |
|
24 // |
|
25 // r_cam_photo_quality_slider_array_camcorder |
|
26 // Legend data for the photo quality slider |
|
27 // |
|
28 //---------------------------------------------------- |
|
29 // |
|
30 RESOURCE ARRAY r_cam_photo_quality_slider_array_camcorder |
|
31 { |
|
32 items = |
|
33 { |
|
34 CAM_SLIDER_LEGEND_ITEM |
|
35 { |
|
36 item = ECamSliderLegendItemIcon; |
|
37 position = AVKON_LAYOUT_RECT { l = KPhotoQualitySliderLegendCentreX - KResolutionBurstQXGAIconWidth/2; |
|
38 t = 10; |
|
39 W = KResolutionBurstQXGAIconWidth; |
|
40 H = KResolutionBurstQXGAIconHeight; }; |
|
41 // bitmap_id = EMbmCameraappQgn_indi_lcam_res_qxga_list; |
|
42 // mask_id = EMbmCameraappQgn_indi_lcam_res_qxga_list; |
|
43 }, |
|
44 CAM_SLIDER_LEGEND_ITEM |
|
45 { |
|
46 item = ECamSliderLegendItemIcon; |
|
47 position = AVKON_LAYOUT_RECT { l = KPhotoQualitySliderLegendCentreX - KResolutionBurstUXGAIconWidth/2; |
|
48 t = 62; |
|
49 W = KResolutionBurstUXGAIconWidth; |
|
50 H = KResolutionBurstUXGAIconHeight; }; |
|
51 // bitmap_id = EMbmCameraappQgn_indi_lcam_res_uxga_list; |
|
52 // mask_id = EMbmCameraappQgn_indi_lcam_res_uxga_list; |
|
53 }, |
|
54 CAM_SLIDER_LEGEND_ITEM |
|
55 { |
|
56 item = ECamSliderLegendItemIcon; |
|
57 position = AVKON_LAYOUT_RECT { l = KPhotoQualitySliderLegendCentreX - KResolutionBurstSXGAIconWidth/2; |
|
58 t = 114; |
|
59 W = KResolutionBurstSXGAIconWidth; |
|
60 H = KResolutionBurstSXGAIconHeight; }; |
|
61 // bitmap_id = EMbmCameraappQgn_indi_lcam_res_sxga_list; |
|
62 // mask_id = EMbmCameraappQgn_indi_lcam_res_sxga_list; |
|
63 }, |
|
64 CAM_SLIDER_LEGEND_ITEM |
|
65 { |
|
66 item = ECamSliderLegendItemIcon; |
|
67 position = AVKON_LAYOUT_RECT { l = KPhotoQualitySliderLegendCentreX - KResolutionBurstVGAIconWidth/2; |
|
68 t = 166; |
|
69 W = KResolutionBurstVGAIconWidth; |
|
70 H = KResolutionBurstVGAIconHeight; }; |
|
71 // bitmap_id = EMbmCameraappQgn_indi_lcam_res_vga_list; |
|
72 // mask_id = EMbmCameraappQgn_indi_lcam_res_vga_list; |
|
73 } |
|
74 }; |
|
75 } |
|
76 |
|
77 //---------------------------------------------------- |
|
78 // |
|
79 // r_cam_photo_quality_slider_array_ah_camcorder |
|
80 // Legend data for the photo quality slider (Arabic/Hebrew) |
|
81 // |
|
82 //---------------------------------------------------- |
|
83 // |
|
84 RESOURCE ARRAY r_cam_photo_quality_slider_array_ah_camcorder |
|
85 { |
|
86 items = |
|
87 { |
|
88 CAM_SLIDER_LEGEND_ITEM |
|
89 { |
|
90 item = ECamSliderLegendItemIcon; |
|
91 position = AVKON_LAYOUT_RECT { r = KPhotoQualitySliderLegendCentreX - KResolutionBurstQXGAIconWidth/2; |
|
92 t = 10; |
|
93 W = KResolutionBurstQXGAIconWidth; |
|
94 H = KResolutionBurstQXGAIconHeight; }; |
|
95 // bitmap_id = EMbmCameraappQgn_indi_lcam_res_qxga_list; |
|
96 // mask_id = EMbmCameraappQgn_indi_lcam_res_qxga_list; |
|
97 }, |
|
98 CAM_SLIDER_LEGEND_ITEM |
|
99 { |
|
100 item = ECamSliderLegendItemIcon; |
|
101 position = AVKON_LAYOUT_RECT { r = KPhotoQualitySliderLegendCentreX - KResolutionBurstUXGAIconWidth/2; |
|
102 t = 62; |
|
103 W = KResolutionBurstUXGAIconWidth; |
|
104 H = KResolutionBurstUXGAIconHeight; }; |
|
105 // bitmap_id = EMbmCameraappQgn_indi_lcam_res_uxga_list; |
|
106 // mask_id = EMbmCameraappQgn_indi_lcam_res_uxga_list; |
|
107 }, |
|
108 CAM_SLIDER_LEGEND_ITEM |
|
109 { |
|
110 item = ECamSliderLegendItemIcon; |
|
111 position = AVKON_LAYOUT_RECT { r = KPhotoQualitySliderLegendCentreX - KResolutionBurstSXGAIconWidth/2; |
|
112 t = 114; |
|
113 W = KResolutionBurstSXGAIconWidth; |
|
114 H = KResolutionBurstSXGAIconHeight; }; |
|
115 // bitmap_id = EMbmCameraappQgn_indi_lcam_res_sxga_list; |
|
116 // mask_id = EMbmCameraappQgn_indi_lcam_res_sxga_list; |
|
117 }, |
|
118 CAM_SLIDER_LEGEND_ITEM |
|
119 { |
|
120 item = ECamSliderLegendItemIcon; |
|
121 position = AVKON_LAYOUT_RECT { r = KPhotoQualitySliderLegendCentreX - KResolutionBurstVGAIconWidth/2; |
|
122 t = 166; |
|
123 W = KResolutionBurstVGAIconWidth; |
|
124 H = KResolutionBurstVGAIconHeight; }; |
|
125 // bitmap_id = EMbmCameraappQgn_indi_lcam_res_vga_list; |
|
126 // mask_id = EMbmCameraappQgn_indi_lcam_res_vga_list; |
|
127 } |
|
128 }; |
|
129 } |
|
130 |
|
131 //*********************************************************** |
|
132 // THE FOLLOWING RESOURCES BELOW ARE COMPILED ONLY FOR CAMERA |
|
133 //*********************************************************** |
|
134 |
|
135 #ifndef CAMERAAPP_PLUGIN_BUILD |
|
136 // --------------------------------------------------- |
|
137 // |
|
138 // r_cam_img_precap_imgcounter |
|
139 // Layout for remaining images in navi pane. |
|
140 // |
|
141 // --------------------------------------------------- |
|
142 // |
|
143 RESOURCE AVKON_LAYOUT_TEXT r_cam_img_precap_imgcounter |
|
144 { |
|
145 font = ELatinPlain12; C=0; r=237; l=51; B=233; J=ELayoutAlignRight; |
|
146 } |
|
147 |
|
148 // --------------------------------------------------- |
|
149 // |
|
150 // r_cam_img_precap_imgcounter_ah |
|
151 // Arabic/Hebrew layout for remaining images in navi pane. |
|
152 // |
|
153 // --------------------------------------------------- |
|
154 // |
|
155 RESOURCE AVKON_LAYOUT_TEXT r_cam_img_precap_imgcounter_ah |
|
156 { |
|
157 //font = ELatinBold12; C=0; l=23; B=234; W=100; J=ELayoutAlignLeft; |
|
158 //font = ELatinPlain12; C=0; r=243; l=52; B=233; J=ELayoutAlignLeft; |
|
159 font = ELatinPlain12; C=0; r=216; l=72; B=233; J=ELayoutAlignLeft; |
|
160 } |
|
161 |
|
162 //---------------------------------------------------- |
|
163 // |
|
164 // r_cam_post_capture_image_size_layout_camcorder |
|
165 // Layout for image size in post-capture navi-counter |
|
166 // |
|
167 //---------------------------------------------------- |
|
168 // |
|
169 RESOURCE AVKON_LAYOUT_TEXT r_cam_post_capture_image_size_layout_camcorder |
|
170 { |
|
171 font = EAknLogicalFontSecondaryFont; C=0; l=20; r = 320-20-50; B=234; W=50; J=ELayoutAlignRight; |
|
172 } |
|
173 |
|
174 //---------------------------------------------------- |
|
175 // |
|
176 // r_cam_post_capture_image_size_layout_ah_camcorder |
|
177 // Layout for image size in post-capture navi-counter |
|
178 // |
|
179 //---------------------------------------------------- |
|
180 // |
|
181 RESOURCE AVKON_LAYOUT_TEXT r_cam_post_capture_image_size_layout_ah_camcorder |
|
182 { |
|
183 font = EAknLogicalFontSecondaryFont; C=35; r=20; B=234; W=100; J=ELayoutAlignRight; |
|
184 } |
|
185 |
|
186 //----------------------------------------------------------------------------- |
|
187 // |
|
188 // r_cam_snapshot_rect_still_camcorder |
|
189 // The size and position of the snapshot in still post capture |
|
190 // |
|
191 //----------------------------------------------------------------------------- |
|
192 // |
|
193 RESOURCE AVKON_LAYOUT_RECT r_cam_snapshot_rect_still_camcorder |
|
194 { l = 0; t = 0; W = 320; H = 240; } |
|
195 |
|
196 //----------------------------------------------------------------------------- |
|
197 // |
|
198 // r_cam_snapshot_rect_still_rotated |
|
199 // The size and position of the snapshot in still post capture |
|
200 // |
|
201 //----------------------------------------------------------------------------- |
|
202 // |
|
203 RESOURCE AVKON_LAYOUT_RECT r_cam_snapshot_rect_still_rotated |
|
204 { l = 0; t = 0; W = 240; H = 320; } |
|
205 |
|
206 //----------------------------------------------------------------------------- |
|
207 // |
|
208 // r_cam_snapshot_rect_cif_camcorder |
|
209 // The size and position of the snapshot in video post capture view |
|
210 // for Large (CIF) resolutions |
|
211 // |
|
212 //----------------------------------------------------------------------------- |
|
213 // |
|
214 RESOURCE AVKON_LAYOUT_RECT r_cam_snapshot_rect_cif_camcorder |
|
215 { l = 0; t = 0; W = 320; H = 240; } |
|
216 |
|
217 //----------------------------------------------------------------------------- |
|
218 // |
|
219 // r_cam_snapshot_rect_near_cif_camcorder |
|
220 // The size and position of the snapshot in video post capture view |
|
221 // for Large (CIF) resolutions in secondary camera |
|
222 // |
|
223 //----------------------------------------------------------------------------- |
|
224 // |
|
225 RESOURCE AVKON_LAYOUT_RECT r_cam_snapshot_rect_near_cif_camcorder |
|
226 { l = 72; t = 48; W = 176; H = 144; } |
|
227 |
|
228 //----------------------------------------------------------------------------- |
|
229 // |
|
230 // r_cam_snapshot_rect_sqcif_camcorder |
|
231 // The size and position of the snapshot in video post capture view |
|
232 // for Small resolution |
|
233 // |
|
234 //----------------------------------------------------------------------------- |
|
235 // |
|
236 RESOURCE AVKON_LAYOUT_RECT r_cam_snapshot_rect_sqcif_camcorder |
|
237 { l = 96; t = 72; W = 128; H = 96; } |
|
238 |
|
239 //----------------------------------------------------------------------------- |
|
240 // |
|
241 // r_cam_still_displayed_rect_secondary_camcorder |
|
242 // The size and position of the viewfinder frame or snapshot in still capture |
|
243 // (secondary camera) |
|
244 // |
|
245 //----------------------------------------------------------------------------- |
|
246 // |
|
247 RESOURCE AVKON_LAYOUT_RECT r_cam_still_displayed_rect_secondary_camcorder |
|
248 { l = 4; t = 0; W = 344; H = 264; } |
|
249 |
|
250 //----------------------------------------------------------------------------- |
|
251 // |
|
252 // r_cam_still_requested_rect_secondary_camcorder |
|
253 // The size of the viewfinder and snapshot image requested from the engine in |
|
254 // still capture (secondary camera). This is different from the displayed size |
|
255 // |
|
256 //----------------------------------------------------------------------------- |
|
257 // |
|
258 RESOURCE AVKON_LAYOUT_RECT r_cam_still_requested_rect_secondary_camcorder |
|
259 { l = 0; t = 0; W = 352; H = 288; } |
|
260 |
|
261 |
|
262 //---------------------------------------------------- |
|
263 // |
|
264 // r_cam_post_capture_image_name_layout_camcorder |
|
265 // Layout for image name in post-capture navi-counter |
|
266 // |
|
267 //---------------------------------------------------- |
|
268 // |
|
269 RESOURCE AVKON_LAYOUT_TEXT r_cam_post_capture_image_name_layout_camcorder |
|
270 { |
|
271 font = EAknLogicalFontSecondaryFont; C=35; l=4; B=13; W=150; J=ELayoutAlignLeft; |
|
272 } |
|
273 |
|
274 //---------------------------------------------------- |
|
275 // |
|
276 // r_cam_post_capture_image_name_layout_ah_camcorder |
|
277 // Arabic/Hebrew layout for video name in post-capture |
|
278 // navi-counter |
|
279 // |
|
280 //---------------------------------------------------- |
|
281 // |
|
282 RESOURCE AVKON_LAYOUT_TEXT r_cam_post_capture_image_name_layout_ah_camcorder |
|
283 { |
|
284 font = EAknLogicalFontPrimaryFont; C=35; r=9; B=13; W=100; J=ELayoutAlignRight; |
|
285 } |
|
286 |
|
287 |
|
288 //---------------------------------------------------------------------------- |
|
289 // |
|
290 // r_cam_still_pre_capture_ap_items_secondary |
|
291 // Still pre-capture active palette items for secondary camera |
|
292 // |
|
293 //---------------------------------------------------------------------------- |
|
294 // |
|
295 RESOURCE ARRAY r_cam_still_pre_capture_ap_items_secondary |
|
296 { |
|
297 // Note: |
|
298 // Current implementation of ActivePalette2 does not |
|
299 // support the positioning with index so the order |
|
300 // of items here is what matters. |
|
301 // !!! position attribute is ignored !!! |
|
302 items = |
|
303 { |
|
304 CAM_ACTIVE_PALETTE_ITEM |
|
305 { |
|
306 item_id = ECamSettingItemVideoModeSelect; |
|
307 cmd_id = ECamCmdNewVideo; |
|
308 position = ECamAPSlotPhotoPreCaptureMode; |
|
309 type = ECamActivePaletteItemTypePreCaptureNonSetting; |
|
310 }, |
|
311 CAM_ACTIVE_PALETTE_ITEM |
|
312 { |
|
313 item_id = ECamSettingItemGotoPhotos; |
|
314 cmd_id = ECamCmdPhotos; |
|
315 position = ECamAPSlotPhotoPreCaptureGotoPhotos; |
|
316 type = ECamActivePaletteItemTypeCommand; |
|
317 }, |
|
318 CAM_ACTIVE_PALETTE_ITEM |
|
319 { |
|
320 item_id = ECamSettingItemSwitchCamera; |
|
321 cmd_id = ECamCmdSwitchCamera; |
|
322 position = ECamAPSlotPhotoPreCaptureMode; |
|
323 type = ECamActivePaletteItemTypePreCaptureNonSetting; |
|
324 } |
|
325 }; |
|
326 } |
|
327 |
|
328 //---------------------------------------------------------------------------- |
|
329 // r_cam_still_pre_capture_ap_items_advanced |
|
330 // |
|
331 // Still pre-capture active palette items in advanced user mode. |
|
332 // (See r_cam_still_pre_capture_ap_items_novice) |
|
333 //---------------------------------------------------------------------------- |
|
334 // |
|
335 RESOURCE ARRAY r_cam_still_pre_capture_ap_items_advanced |
|
336 { |
|
337 // Note: |
|
338 // Current implementation of ActivePalette2 does not |
|
339 // support the positioning with index so the order |
|
340 // of items here is what matters. |
|
341 // !!! position attribute is ignored !!! |
|
342 items = |
|
343 { |
|
344 CAM_ACTIVE_PALETTE_ITEM |
|
345 { |
|
346 item_id = ECamSettingItemVideoModeSelect; |
|
347 cmd_id = ECamCmdNewVideo; |
|
348 position = ECamAPSlotPhotoPreCaptureMode; |
|
349 type = ECamActivePaletteItemTypePreCaptureNonSetting; |
|
350 }, |
|
351 CAM_ACTIVE_PALETTE_ITEM |
|
352 { |
|
353 item_id = ECamSettingItemDynamicPhotoScene; |
|
354 cmd_id = ECamCmdCaptureSetupSceneStill; |
|
355 position = ECamAPSlotPhotoPreCaptureScene; |
|
356 type = ECamActivePaletteItemTypePreCapture; |
|
357 }, |
|
358 CAM_ACTIVE_PALETTE_ITEM |
|
359 { |
|
360 item_id = ECamSettingItemDynamicPhotoFlash; |
|
361 cmd_id = ECamCmdCaptureSetupFlashStill; |
|
362 position = ECamAPSlotPhotoPreCaptureFlash; |
|
363 type = ECamActivePaletteItemTypePreCapture; |
|
364 }, |
|
365 CAM_ACTIVE_PALETTE_ITEM |
|
366 { |
|
367 item_id = ECamSettingItemFaceTracking; |
|
368 cmd_id = ECamCmdToggleFacetracking; |
|
369 position = ECamAPSlotPhotoPreCaptureFacetracking; |
|
370 type = ECamActivePaletteItemTypePreCaptureNonSetting; |
|
371 }, |
|
372 CAM_ACTIVE_PALETTE_ITEM |
|
373 { |
|
374 item_id = ECamSettingItemDynamicSelfTimer; |
|
375 cmd_id = ECamCmdCaptureSetupSelfTimer; |
|
376 position = ECamAPSlotPhotoPreCaptureSelfTimer; |
|
377 type = ECamActivePaletteItemTypePreCapture; |
|
378 }, |
|
379 CAM_ACTIVE_PALETTE_ITEM |
|
380 { |
|
381 item_id = ECamSettingItemGotoPhotos; |
|
382 cmd_id = ECamCmdPhotos; |
|
383 position = ECamAPSlotPhotoPreCaptureGotoPhotos; |
|
384 type = ECamActivePaletteItemTypeCommand; |
|
385 }, |
|
386 CAM_ACTIVE_PALETTE_ITEM |
|
387 { |
|
388 item_id = ECamSettingItemSequenceMode; |
|
389 cmd_id = ECamCmdToggleMulti; |
|
390 position = ECamAPSlotPhotoPreCaptureSequence; |
|
391 type = ECamActivePaletteItemTypePreCaptureNonSetting; |
|
392 }, |
|
393 CAM_ACTIVE_PALETTE_ITEM |
|
394 { |
|
395 item_id = ECamSettingItemDynamicPhotoColourFilter; |
|
396 cmd_id = ECamCmdCaptureSetupColourFilterStill; |
|
397 position = ECamAPSlotPhotoPreCaptureColour; |
|
398 type = ECamActivePaletteItemTypePreCapture; |
|
399 }, |
|
400 CAM_ACTIVE_PALETTE_ITEM |
|
401 { |
|
402 item_id = ECamSettingItemViewfinderGrid; |
|
403 cmd_id = ECamCmdViewfinderGrid; |
|
404 position = ECamAPSlotPhotoPreCaptureVfGrid; |
|
405 type = ECamActivePaletteItemTypePreCaptureNonSetting; |
|
406 }, |
|
407 CAM_ACTIVE_PALETTE_ITEM |
|
408 { |
|
409 item_id = ECamSettingItemDynamicPhotoWhiteBalance; |
|
410 cmd_id = ECamCmdCaptureSetupWhiteBalanceStill; |
|
411 position = ECamAPSlotPhotoPreCaptureWB; |
|
412 type = ECamActivePaletteItemTypePreCapture; |
|
413 }, |
|
414 CAM_ACTIVE_PALETTE_ITEM |
|
415 { |
|
416 item_id = ECamSettingItemDynamicPhotoExposure; |
|
417 cmd_id = ECamCmdCaptureSetupExposureStill; |
|
418 position = ECamAPSlotPhotoPreCaptureEV; |
|
419 type = ECamActivePaletteItemTypePreCapture; |
|
420 }, |
|
421 CAM_ACTIVE_PALETTE_ITEM |
|
422 { |
|
423 item_id = ECamSettingItemDynamicPhotoImageSharpness; |
|
424 cmd_id = ECamCmdCaptureSetupImageSharpnessStill; |
|
425 position = ECamAPSlotPhotoPreCaptureSharpness; |
|
426 type = ECamActivePaletteItemTypePreCapture; |
|
427 }, |
|
428 CAM_ACTIVE_PALETTE_ITEM |
|
429 { |
|
430 item_id = ECamSettingItemDynamicPhotoBrightness; |
|
431 cmd_id = ECamCmdCaptureSetupBrightnessStill; |
|
432 position = ECamAPSlotPhotoPreCaptureBrightness; |
|
433 type = ECamActivePaletteItemTypePreCapture; |
|
434 }, |
|
435 CAM_ACTIVE_PALETTE_ITEM |
|
436 { |
|
437 item_id = ECamSettingItemDynamicPhotoContrast; |
|
438 cmd_id = ECamCmdCaptureSetupContrastStill; |
|
439 position = ECamAPSlotPhotoPreCaptureContrast; |
|
440 type = ECamActivePaletteItemTypePreCapture; |
|
441 }, |
|
442 CAM_ACTIVE_PALETTE_ITEM |
|
443 { |
|
444 item_id = ECamSettingItemDynamicPhotoLightSensitivity; |
|
445 cmd_id = ECamCmdCaptureSetupLightSensitivityStill; |
|
446 position = ECamAPSlotPhotoPreCaptureISO; |
|
447 type = ECamActivePaletteItemTypePreCapture; |
|
448 } |
|
449 |
|
450 }; |
|
451 } |
|
452 |
|
453 |
|
454 //---------------------------------------------------------------------------- |
|
455 // r_cam_still_pre_capture_ap_items_novice |
|
456 // |
|
457 // Still pre-capture active palette items in novice user mode. |
|
458 // (Less items than in advanced user mode.) |
|
459 //---------------------------------------------------------------------------- |
|
460 // |
|
461 RESOURCE ARRAY r_cam_still_pre_capture_ap_items_novice |
|
462 { |
|
463 // Note: |
|
464 // Current implementation of ActivePalette2 does not |
|
465 // support the positioning with index so the order |
|
466 // of items here is what matters. |
|
467 // !!! position attribute is ignored !!! |
|
468 items = |
|
469 { |
|
470 CAM_ACTIVE_PALETTE_ITEM |
|
471 { |
|
472 item_id = ECamSettingItemVideoModeSelect; |
|
473 cmd_id = ECamCmdNewVideo; |
|
474 position = ECamAPSlotPhotoPreCaptureMode; |
|
475 type = ECamActivePaletteItemTypePreCaptureNonSetting; |
|
476 }, |
|
477 CAM_ACTIVE_PALETTE_ITEM |
|
478 { |
|
479 item_id = ECamSettingItemDynamicPhotoScene; |
|
480 cmd_id = ECamCmdCaptureSetupSceneStill; |
|
481 position = ECamAPSlotPhotoPreCaptureScene; |
|
482 type = ECamActivePaletteItemTypePreCapture; |
|
483 }, |
|
484 CAM_ACTIVE_PALETTE_ITEM |
|
485 { |
|
486 item_id = ECamSettingItemDynamicPhotoFlash; |
|
487 cmd_id = ECamCmdCaptureSetupFlashStill; |
|
488 position = ECamAPSlotPhotoPreCaptureFlash; |
|
489 type = ECamActivePaletteItemTypePreCapture; |
|
490 }, |
|
491 CAM_ACTIVE_PALETTE_ITEM |
|
492 { |
|
493 item_id = ECamSettingItemDynamicSelfTimer; |
|
494 cmd_id = ECamCmdCaptureSetupSelfTimer; |
|
495 position = ECamAPSlotPhotoPreCaptureSelfTimer; |
|
496 type = ECamActivePaletteItemTypePreCapture; |
|
497 }, |
|
498 /*CAM_ACTIVE_PALETTE_ITEM |
|
499 { |
|
500 item_id = ECamSettingItemSequenceMode; |
|
501 cmd_id = ECamCmdToggleMulti; |
|
502 position = ECamAPSlotPhotoPreCaptureSequence; |
|
503 type = ECamActivePaletteItemTypePreCaptureNonSetting; |
|
504 },*/ |
|
505 CAM_ACTIVE_PALETTE_ITEM |
|
506 { |
|
507 item_id = ECamSettingItemDynamicPhotoColourFilter; |
|
508 cmd_id = ECamCmdCaptureSetupColourFilterStill; |
|
509 position = ECamAPSlotPhotoPreCaptureColour; |
|
510 type = ECamActivePaletteItemTypePreCapture; |
|
511 } |
|
512 |
|
513 }; |
|
514 } |
|
515 |
|
516 |
|
517 |
|
518 |
|
519 //---------------------------------------------------------------------------- |
|
520 // r_cam_emb_still_pre_capture_ap_items |
|
521 // |
|
522 // Embedded still pre-capture active palette items in advanced user mode. |
|
523 // (See r_cam_emb_still_pre_capture_ap_items_novice) |
|
524 //---------------------------------------------------------------------------- |
|
525 // |
|
526 RESOURCE ARRAY r_cam_emb_still_pre_capture_ap_items_advanced |
|
527 { |
|
528 items = |
|
529 { |
|
530 /* |
|
531 * NOTE: The position attribute is ignored by current |
|
532 * Active Palette implementation. |
|
533 */ |
|
534 CAM_ACTIVE_PALETTE_ITEM |
|
535 { |
|
536 item_id = ECamSettingItemVideoModeSelect; |
|
537 cmd_id = ECamCmdNewVideo; |
|
538 position = ECamAPSlotPhotoPreCaptureMode; |
|
539 type = ECamActivePaletteItemTypePreCaptureNonSetting; |
|
540 }, |
|
541 CAM_ACTIVE_PALETTE_ITEM |
|
542 { |
|
543 item_id = ECamSettingItemDynamicPhotoScene; |
|
544 cmd_id = ECamCmdCaptureSetupSceneStill; |
|
545 position = ECamAPSlotPhotoPreCaptureScene; |
|
546 type = ECamActivePaletteItemTypePreCapture; |
|
547 }, |
|
548 CAM_ACTIVE_PALETTE_ITEM |
|
549 { |
|
550 item_id = ECamSettingItemDynamicPhotoFlash; |
|
551 cmd_id = ECamCmdCaptureSetupFlashStill; |
|
552 position = ECamAPSlotPhotoPreCaptureFlash; |
|
553 type = ECamActivePaletteItemTypePreCapture; |
|
554 }, |
|
555 CAM_ACTIVE_PALETTE_ITEM |
|
556 { |
|
557 item_id = ECamSettingItemFaceTracking; |
|
558 cmd_id = ECamCmdToggleFacetracking; |
|
559 position = ECamAPSlotPhotoPreCaptureFacetracking; |
|
560 type = ECamActivePaletteItemTypePreCaptureNonSetting; |
|
561 }, |
|
562 CAM_ACTIVE_PALETTE_ITEM |
|
563 { |
|
564 item_id = ECamSettingItemDynamicSelfTimer; |
|
565 cmd_id = ECamCmdCaptureSetupSelfTimer; |
|
566 position = ECamAPSlotPhotoPreCaptureSelfTimer; |
|
567 type = ECamActivePaletteItemTypePreCapture; |
|
568 }, |
|
569 CAM_ACTIVE_PALETTE_ITEM |
|
570 { |
|
571 item_id = ECamSettingItemDynamicPhotoColourFilter; |
|
572 cmd_id = ECamCmdCaptureSetupColourFilterStill; |
|
573 position = ECamAPSlotPhotoPreCaptureColour; |
|
574 type = ECamActivePaletteItemTypePreCapture; |
|
575 } , |
|
576 CAM_ACTIVE_PALETTE_ITEM |
|
577 { |
|
578 item_id = ECamSettingItemViewfinderGrid; |
|
579 cmd_id = ECamCmdViewfinderGrid; |
|
580 position = ECamAPSlotPhotoPreCaptureVfGrid; |
|
581 type = ECamActivePaletteItemTypePreCaptureNonSetting; |
|
582 }, |
|
583 CAM_ACTIVE_PALETTE_ITEM |
|
584 { |
|
585 item_id = ECamSettingItemDynamicPhotoWhiteBalance; |
|
586 cmd_id = ECamCmdCaptureSetupWhiteBalanceStill; |
|
587 position = ECamAPSlotPhotoPreCaptureWB; |
|
588 type = ECamActivePaletteItemTypePreCapture; |
|
589 }, |
|
590 CAM_ACTIVE_PALETTE_ITEM |
|
591 { |
|
592 item_id = ECamSettingItemDynamicPhotoExposure; |
|
593 cmd_id = ECamCmdCaptureSetupExposureStill; |
|
594 position = ECamAPSlotPhotoPreCaptureEV; |
|
595 type = ECamActivePaletteItemTypePreCapture; |
|
596 }, |
|
597 CAM_ACTIVE_PALETTE_ITEM |
|
598 { |
|
599 item_id = ECamSettingItemDynamicPhotoImageSharpness; |
|
600 cmd_id = ECamCmdCaptureSetupImageSharpnessStill; |
|
601 position = ECamAPSlotPhotoPreCaptureSharpness; |
|
602 type = ECamActivePaletteItemTypePreCapture; |
|
603 }, |
|
604 CAM_ACTIVE_PALETTE_ITEM |
|
605 { |
|
606 item_id = ECamSettingItemDynamicPhotoContrast; |
|
607 cmd_id = ECamCmdCaptureSetupContrastStill; |
|
608 position = ECamAPSlotPhotoPreCaptureContrast; |
|
609 type = ECamActivePaletteItemTypePreCapture; |
|
610 }, |
|
611 CAM_ACTIVE_PALETTE_ITEM |
|
612 { |
|
613 item_id = ECamSettingItemDynamicPhotoLightSensitivity; |
|
614 cmd_id = ECamCmdCaptureSetupLightSensitivityStill; |
|
615 position = ECamAPSlotPhotoPreCaptureISO; |
|
616 type = ECamActivePaletteItemTypePreCapture; |
|
617 } |
|
618 }; |
|
619 } |
|
620 |
|
621 //---------------------------------------------------------------------------- |
|
622 // r_cam_emb_still_pre_capture_ap_items_novice |
|
623 // |
|
624 // Embedded still pre-capture active palette items in novice user mode. |
|
625 // (Less items than in advanced user mode.) |
|
626 //---------------------------------------------------------------------------- |
|
627 // |
|
628 RESOURCE ARRAY r_cam_emb_still_pre_capture_ap_items_novice |
|
629 { |
|
630 items = |
|
631 { |
|
632 /* |
|
633 * NOTE: The position attribute is ignored by current |
|
634 * Active Palette implementation. |
|
635 */ |
|
636 CAM_ACTIVE_PALETTE_ITEM |
|
637 { |
|
638 item_id = ECamSettingItemVideoModeSelect; |
|
639 cmd_id = ECamCmdNewVideo; |
|
640 position = ECamAPSlotPhotoPreCaptureMode; |
|
641 type = ECamActivePaletteItemTypePreCaptureNonSetting; |
|
642 }, |
|
643 CAM_ACTIVE_PALETTE_ITEM |
|
644 { |
|
645 item_id = ECamSettingItemDynamicPhotoScene; |
|
646 cmd_id = ECamCmdCaptureSetupSceneStill; |
|
647 position = ECamAPSlotPhotoPreCaptureScene; |
|
648 type = ECamActivePaletteItemTypePreCapture; |
|
649 }, |
|
650 CAM_ACTIVE_PALETTE_ITEM |
|
651 { |
|
652 item_id = ECamSettingItemDynamicPhotoFlash; |
|
653 cmd_id = ECamCmdCaptureSetupFlashStill; |
|
654 position = ECamAPSlotPhotoPreCaptureFlash; |
|
655 type = ECamActivePaletteItemTypePreCapture; |
|
656 }, |
|
657 CAM_ACTIVE_PALETTE_ITEM |
|
658 { |
|
659 item_id = ECamSettingItemDynamicSelfTimer; |
|
660 cmd_id = ECamCmdCaptureSetupSelfTimer; |
|
661 position = ECamAPSlotPhotoPreCaptureSelfTimer; |
|
662 type = ECamActivePaletteItemTypePreCapture; |
|
663 }, |
|
664 CAM_ACTIVE_PALETTE_ITEM |
|
665 { |
|
666 item_id = ECamSettingItemDynamicPhotoColourFilter; |
|
667 cmd_id = ECamCmdCaptureSetupColourFilterStill; |
|
668 position = ECamAPSlotPhotoPreCaptureColour; |
|
669 type = ECamActivePaletteItemTypePreCapture; |
|
670 } |
|
671 }; |
|
672 } |
|
673 |
|
674 |
|
675 //---------------------------------------------------- |
|
676 // |
|
677 // r_cam_still_post_capture_ap_items_secondary |
|
678 // Still post-capture active palette items |
|
679 // for secondary camera. |
|
680 // |
|
681 //---------------------------------------------------- |
|
682 // |
|
683 RESOURCE ARRAY r_cam_still_post_capture_ap_items_secondary |
|
684 { |
|
685 items = |
|
686 { |
|
687 CAM_ACTIVE_PALETTE_ITEM |
|
688 { |
|
689 cmd_id = ECamCmdSend; |
|
690 position = 0; |
|
691 type = ECamActivePaletteItemTypePostCapture; |
|
692 }, |
|
693 CAM_ACTIVE_PALETTE_ITEM |
|
694 { |
|
695 cmd_id = ECamCmdSendToCallerMultimedia; |
|
696 position = 1; |
|
697 type = ECamActivePaletteItemTypePostCapture; |
|
698 }, |
|
699 CAM_ACTIVE_PALETTE_ITEM |
|
700 { |
|
701 cmd_id = ECamCmdOneClickUpload; |
|
702 position = 2; |
|
703 type = ECamActivePaletteItemTypePostCapture; |
|
704 }, |
|
705 CAM_ACTIVE_PALETTE_ITEM |
|
706 { |
|
707 cmd_id = ECamCmdPhotos; |
|
708 position = 6; |
|
709 type = ECamActivePaletteItemTypePostCapture; |
|
710 }, |
|
711 CAM_ACTIVE_PALETTE_ITEM |
|
712 { |
|
713 cmd_id = ECamCmdDelete; |
|
714 position = 4; |
|
715 type = ECamActivePaletteItemTypePostCapture; |
|
716 } |
|
717 }; |
|
718 } |
|
719 |
|
720 //---------------------------------------------------- |
|
721 // |
|
722 // r_cam_still_post_capture_ap_items |
|
723 // Still post-capture active palette items |
|
724 // |
|
725 //---------------------------------------------------- |
|
726 // |
|
727 RESOURCE ARRAY r_cam_still_post_capture_ap_items |
|
728 { |
|
729 items = |
|
730 { |
|
731 CAM_ACTIVE_PALETTE_ITEM |
|
732 { |
|
733 cmd_id = ECamCmdSend; |
|
734 position = 0; |
|
735 type = ECamActivePaletteItemTypePostCapture; |
|
736 }, |
|
737 CAM_ACTIVE_PALETTE_ITEM |
|
738 { |
|
739 cmd_id = ECamCmdSendToCallerMultimedia; |
|
740 position = 1; |
|
741 type = ECamActivePaletteItemTypePostCapture; |
|
742 }, |
|
743 CAM_ACTIVE_PALETTE_ITEM |
|
744 { |
|
745 cmd_id = ECamCmdOneClickUpload; |
|
746 position = 2; |
|
747 type = ECamActivePaletteItemTypePostCapture; |
|
748 }, |
|
749 CAM_ACTIVE_PALETTE_ITEM |
|
750 { |
|
751 cmd_id = ECamCmdAddToAlbum; |
|
752 position = 3; |
|
753 type = ECamActivePaletteItemTypePostCapture; |
|
754 }, |
|
755 CAM_ACTIVE_PALETTE_ITEM |
|
756 { |
|
757 cmd_id = ECamCmdProperties; |
|
758 position = 4; |
|
759 type = ECamActivePaletteItemTypePostCapture; |
|
760 }, |
|
761 CAM_ACTIVE_PALETTE_ITEM |
|
762 { |
|
763 cmd_id = ECamCmdPhotos; |
|
764 position = 5; |
|
765 type = ECamActivePaletteItemTypePostCapture; |
|
766 }, |
|
767 CAM_ACTIVE_PALETTE_ITEM |
|
768 { |
|
769 cmd_id = ECamCmdDelete; |
|
770 position = 7; |
|
771 type = ECamActivePaletteItemTypePostCapture; |
|
772 } |
|
773 }; |
|
774 } |
|
775 |
|
776 //---------------------------------------------------- |
|
777 // |
|
778 // r_cam_still_pre_capture_view_camcorder |
|
779 // Still pre-capture view |
|
780 // |
|
781 //---------------------------------------------------- |
|
782 // |
|
783 RESOURCE AVKON_VIEW r_cam_still_pre_capture_view_camcorder |
|
784 { |
|
785 menubar = r_cam_still_pre_capture_menubar_camcorder; |
|
786 cba = r_cam_softkeys_options_exit; |
|
787 toolbar = r_cam_still_precapture_toolbar; |
|
788 } |
|
789 |
|
790 // --------------------------------------------------------- |
|
791 // |
|
792 // r_cam_still_pre_capture_menubar_camcorder |
|
793 // Menubar for still image pre-capture view |
|
794 // |
|
795 // --------------------------------------------------------- |
|
796 // |
|
797 RESOURCE MENU_BAR r_cam_still_pre_capture_menubar_camcorder |
|
798 { |
|
799 titles = |
|
800 { |
|
801 MENU_TITLE |
|
802 { |
|
803 menu_pane = r_cam_still_pre_capture_menu_camcorder; |
|
804 } |
|
805 }; |
|
806 } |
|
807 |
|
808 // --------------------------------------------------------- |
|
809 // |
|
810 // r_cam_still_pre_capture_menu_camcorder |
|
811 // Options menu for still image pre capture view |
|
812 // |
|
813 // --------------------------------------------------------- |
|
814 // |
|
815 RESOURCE MENU_PANE r_cam_still_pre_capture_menu_camcorder |
|
816 { |
|
817 items = |
|
818 { |
|
819 MENU_ITEM |
|
820 { |
|
821 command = ECamCmdSwitchCamera; |
|
822 txt = qtn_lcam_options_cam2; |
|
823 }, |
|
824 MENU_ITEM |
|
825 { |
|
826 command = ECamCmdSettings; |
|
827 txt = qtn_lcam_cmd_settings; |
|
828 }, |
|
829 MENU_ITEM |
|
830 { |
|
831 command = ECamCmdNewVideo; |
|
832 txt = qtn_lcam_options_video_mode; |
|
833 }, |
|
834 |
|
835 MENU_ITEM |
|
836 { |
|
837 command = ECamCmdPhotos; |
|
838 txt = qtn_lcam_options_go_to_photos; |
|
839 }, |
|
840 MENU_ITEM |
|
841 { |
|
842 command = EAknCmdHelp; |
|
843 txt = qtn_options_help; |
|
844 }, |
|
845 MENU_ITEM |
|
846 { |
|
847 command = ECamCmdInternalExit; |
|
848 txt = qtn_options_exit; |
|
849 } |
|
850 }; |
|
851 } |
|
852 |
|
853 //---------------------------------------------------- |
|
854 // |
|
855 // r_cam_still_post_capture_view_camcorder |
|
856 // Still post-capture view |
|
857 // |
|
858 //---------------------------------------------------- |
|
859 // |
|
860 RESOURCE AVKON_VIEW r_cam_still_post_capture_view_camcorder |
|
861 { |
|
862 menubar = r_cam_still_post_capture_menubar_camcorder; |
|
863 cba = r_cam_softkeys_back; |
|
864 toolbar = r_cam_still_postcapture_toolbar; |
|
865 } |
|
866 |
|
867 // --------------------------------------------------------- |
|
868 // |
|
869 // r_cam_still_post_capture_menubar_camcorder |
|
870 // Menubar for still image post capture view |
|
871 // |
|
872 // --------------------------------------------------------- |
|
873 // |
|
874 RESOURCE MENU_BAR r_cam_still_post_capture_menubar_camcorder |
|
875 { |
|
876 titles = |
|
877 { |
|
878 MENU_TITLE |
|
879 { |
|
880 menu_pane = r_cam_still_post_capture_menu_camcorder; |
|
881 } |
|
882 }; |
|
883 } |
|
884 |
|
885 // --------------------------------------------------------- |
|
886 // |
|
887 // r_cam_still_post_capture_menu_camcorder |
|
888 // Options menu for still image post capture view |
|
889 // |
|
890 // --------------------------------------------------------- |
|
891 // |
|
892 RESOURCE MENU_PANE r_cam_still_post_capture_menu_camcorder |
|
893 { |
|
894 items = |
|
895 { |
|
896 MENU_ITEM |
|
897 { |
|
898 command = ECamCmdSend; |
|
899 txt = qtn_options_send_via; |
|
900 }, |
|
901 MENU_ITEM |
|
902 { |
|
903 command = ECamCmdSendToCallerMultimedia; |
|
904 txt = qtn_lcam_options_send_to_call; |
|
905 }, |
|
906 MENU_ITEM |
|
907 { |
|
908 command = KAiwCmdAssign; |
|
909 txt = qtn_lcam_use_image_postcapture_menu; |
|
910 cascade = AIW_INTELLIGENT_CASCADE_ID; |
|
911 }, |
|
912 MENU_ITEM |
|
913 { |
|
914 command = ECamCmdShareOnOvi; |
|
915 // AIW provider fills the menu item title. |
|
916 // No submenu, only 1 provider acccepted. |
|
917 txt = ""; |
|
918 }, |
|
919 MENU_ITEM |
|
920 { |
|
921 command = ECamCmdRenameImage; |
|
922 txt = qtn_lcam_cmd_rename_image; |
|
923 }, |
|
924 MENU_ITEM |
|
925 { |
|
926 command = ECamCmdAddToAlbum; |
|
927 txt = qtn_lcam_options_add_to_album; |
|
928 }, |
|
929 MENU_ITEM |
|
930 { |
|
931 command = ECamCmdProperties; |
|
932 txt = qtn_lcam_options_tags; |
|
933 }, |
|
934 MENU_ITEM |
|
935 { |
|
936 command = ECamCmdPhotos; |
|
937 txt = qtn_lcam_options_go_to_photos ; |
|
938 }, |
|
939 MENU_ITEM |
|
940 { |
|
941 command = EAknCmdHelp; |
|
942 txt = qtn_options_help; |
|
943 }, |
|
944 MENU_ITEM |
|
945 { |
|
946 command = ECamCmdInternalExit; |
|
947 txt = qtn_options_exit; |
|
948 } |
|
949 }; |
|
950 } |
|
951 |
|
952 |
|
953 |
|
954 // --------------------------------------------------------- |
|
955 // |
|
956 // r_cam_still_precap_navicounter_decorations_camcorder |
|
957 // Decorations for the navicounter in still precap |
|
958 // |
|
959 // --------------------------------------------------------- |
|
960 // |
|
961 RESOURCE CAM_DECORATIONS r_cam_still_precap_navicounter_decorations_camcorder |
|
962 { |
|
963 decorations = |
|
964 { |
|
965 CAM_DECORATION |
|
966 { |
|
967 type = ECamScreenDecorationBlendedBackground; |
|
968 decoration = |
|
969 { |
|
970 CAM_BLENDED_BACKGROUND |
|
971 { |
|
972 // Extended under the battery icon. |
|
973 // Blended background height modified 1 pixel higher. |
|
974 tl_x = 0; // 20; // 0 |
|
975 tl_y = 219+120; // 220; |
|
976 width = 107; //92; // 72; // 86 |
|
977 } |
|
978 }; |
|
979 } |
|
980 }; |
|
981 } |
|
982 |
|
983 // --------------------------------------------------------- |
|
984 // |
|
985 // r_cam_still_precap_navicounter_decorations_camcorder_location |
|
986 // Decorations for the navicounter in still precap with location icon |
|
987 // |
|
988 // --------------------------------------------------------- |
|
989 // |
|
990 RESOURCE CAM_DECORATIONS r_cam_still_precap_navicounter_decorations_camcorder_location |
|
991 { |
|
992 decorations = |
|
993 { |
|
994 CAM_DECORATION |
|
995 { |
|
996 type = ECamScreenDecorationBlendedBackground; |
|
997 decoration = |
|
998 { |
|
999 CAM_BLENDED_BACKGROUND |
|
1000 { |
|
1001 tl_x = 0; //20; |
|
1002 tl_y = 220; |
|
1003 width = 122; //91;//86; |
|
1004 } |
|
1005 }; |
|
1006 } |
|
1007 }; |
|
1008 } |
|
1009 |
|
1010 // --------------------------------------------------------- |
|
1011 // |
|
1012 // r_cam_still_postcap_navicounter_decorations_camcorder |
|
1013 // Decorations for the navicounter in still precap |
|
1014 // |
|
1015 // --------------------------------------------------------- |
|
1016 // |
|
1017 RESOURCE CAM_DECORATIONS r_cam_still_postcap_navicounter_decorations_camcorder |
|
1018 { |
|
1019 decorations = |
|
1020 { |
|
1021 CAM_DECORATION |
|
1022 { |
|
1023 type = ECamScreenDecorationBlendedBackground; |
|
1024 decoration = |
|
1025 { |
|
1026 CAM_BLENDED_BACKGROUND |
|
1027 { |
|
1028 // Background height increased by one pixel |
|
1029 tl_x = 0; |
|
1030 tl_y = 219; // 220; |
|
1031 width = 22; //75; //for battery icon. |
|
1032 } |
|
1033 }; |
|
1034 } |
|
1035 }; |
|
1036 } |
|
1037 |
|
1038 #endif //CAMERAAPP_PLUGIN_BUILD |
|