|
1 /* |
|
2 * Copyright (c) 2007 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 #define KResolutionIndicatorCCBRx 72 |
|
20 #define KResolutionIndicatorCCBRy 242 |
|
21 #define KVidResolutionIndicatorCCBRx 85 |
|
22 #define KVidResolutionIndicatorCCBRy 236 |
|
23 |
|
24 #define KIndicatorStatusCCSeparatorWidth 5 |
|
25 |
|
26 #define KIndicatorCaptureTypeCCTLx (KIndicatorStatusCCSeparatorWidth) |
|
27 #define KIndicatorCaptureTypeCCTLy 3 |
|
28 |
|
29 #define KIndicatorStabilisationCCTLx (KIndicatorCaptureTypeCCTLx + KIndicatorCaptureTypeIconWidth + 10) |
|
30 #define KIndicatorStabilisationCCTLy KIndicatorCaptureTypeCCTLy |
|
31 |
|
32 #define KIndicatorAudioMuteCCTLx (KIndicatorStabilisationCCTLx + KIndicatorAudioMuteIconCCWidth + KIndicatorStatusCCSeparatorWidth) |
|
33 #define KIndicatorAudioMuteCCTLy KIndicatorCaptureTypeCCTLy |
|
34 |
|
35 #define KIndicatorVideoModeCCBRx (KVidResolutionIndicatorCCBRx + 15) |
|
36 #define KIndicatorVideoModeCCBRy (KVidResolutionIndicatorCCBRy + 2) |
|
37 |
|
38 #define KIndicatorShakeWarningCCTLx (KIndicatorCaptureTypeCCTLx + KIndicatorCaptureTypeIconWidth + 10) |
|
39 #define KIndicatorShakeWarningCCTLy KIndicatorCaptureTypeCCTLy |
|
40 |
|
41 |
|
42 //---------------------------------------------------- |
|
43 // |
|
44 // r_cam_layout_zoom_pane_camcorder |
|
45 // Location for the Zoom Pane background frame. |
|
46 // |
|
47 //---------------------------------------------------- |
|
48 // |
|
49 RESOURCE AVKON_LAYOUT_RECT r_cam_layout_zoom_pane_camcorder |
|
50 { |
|
51 l = 13; |
|
52 t = 61; |
|
53 W = 11; |
|
54 H = 218; |
|
55 } |
|
56 |
|
57 //---------------------------------------------------- |
|
58 // |
|
59 // r_cam_layout_zoom_pane_shaft_camcorder |
|
60 // Location for the Zoom Pane shaft, drawn *within* the frame |
|
61 // |
|
62 //---------------------------------------------------- |
|
63 // |
|
64 RESOURCE AVKON_LAYOUT_RECT r_cam_layout_zoom_pane_shaft_camcorder |
|
65 { |
|
66 l = 15; |
|
67 t = 63; |
|
68 W = 7; |
|
69 H = 214; |
|
70 } |
|
71 |
|
72 //---------------------------------------------------- |
|
73 // |
|
74 // r_cam_layout_zoom_pane_horiz_camcorder |
|
75 // Location for the Zoom Pane background frame. |
|
76 // |
|
77 //---------------------------------------------------- |
|
78 // |
|
79 RESOURCE AVKON_LAYOUT_RECT r_cam_layout_zoom_pane_horiz_camcorder |
|
80 { |
|
81 l = 101; |
|
82 t = 35; |
|
83 W = 118; |
|
84 H = 22; |
|
85 } |
|
86 |
|
87 //---------------------------------------------------- |
|
88 // |
|
89 // r_cam_layout_zoom_pane_shaft_horiz_camcorder |
|
90 // Location for the Zoom Pane shaft, drawn *within* the frame |
|
91 // |
|
92 //---------------------------------------------------- |
|
93 // |
|
94 RESOURCE AVKON_LAYOUT_RECT r_cam_layout_zoom_pane_shaft_horiz_camcorder |
|
95 { |
|
96 l = 103; |
|
97 t = 37; |
|
98 W = 114; |
|
99 H = 7; |
|
100 } |
|
101 |
|
102 |
|
103 |
|
104 // --------------------------------------------------- |
|
105 // |
|
106 // r_cam_counter_icon_rect |
|
107 // Layout rect for icon in photo navi pane. |
|
108 // |
|
109 // --------------------------------------------------- |
|
110 // |
|
111 RESOURCE AVKON_LAYOUT_RECT r_cam_counter_icon_rect_camcorder |
|
112 { |
|
113 l = 25; t = 342; W = 11; H = 16; |
|
114 } |
|
115 |
|
116 // --------------------------------------------------- |
|
117 // |
|
118 // r_cam_counter_icon_rect_ah |
|
119 // Arabic/Hebrew layout rect for icon in photo navi pane. |
|
120 // |
|
121 // --------------------------------------------------- |
|
122 // |
|
123 RESOURCE AVKON_LAYOUT_RECT r_cam_counter_icon_rect_ah_camcorder |
|
124 { |
|
125 l = 25; t = 342; W = 11; H = 16; |
|
126 } |
|
127 |
|
128 // --------------------------------------------------- |
|
129 // |
|
130 // r_cam_video_precap_memory_location |
|
131 // Layout rect for memory location icon in video navi pane. |
|
132 // |
|
133 // --------------------------------------------------- |
|
134 // |
|
135 RESOURCE AVKON_LAYOUT_RECT r_cam_video_precap_memory_location |
|
136 { |
|
137 // l = 5; t = 222; W = 11; H = 16; |
|
138 //r = 280; t = 221; W = 16; H = 16; |
|
139 //r = 206; t = 222; W = 16; H = 16; |
|
140 r = 531; t = 342; W = 16; H = 16; |
|
141 } |
|
142 |
|
143 // --------------------------------------------------- |
|
144 // |
|
145 // r_cam_video_precap_memory_location_ah |
|
146 // Arabic/Hebrew layout rect for memory location icon in video navi pane. |
|
147 // |
|
148 // --------------------------------------------------- |
|
149 // |
|
150 RESOURCE AVKON_LAYOUT_RECT r_cam_video_precap_memory_location_ah |
|
151 { |
|
152 //l = 5; t = 222; W = 11; H = 16; |
|
153 //r = 280; t = 221; W = 16; H = 16; |
|
154 //l = 24; t = 222; W = 16; H = 16; |
|
155 l = 56; t = 342; W = 16; H = 16; |
|
156 } |
|
157 |
|
158 // --------------------------------------------------- |
|
159 // |
|
160 // r_cam_img_precap_memory_location |
|
161 // Layout rect for memory location icon in photo navi pane. |
|
162 // |
|
163 // --------------------------------------------------- |
|
164 // |
|
165 RESOURCE AVKON_LAYOUT_RECT r_cam_img_precap_memory_location |
|
166 { |
|
167 r = 536; t = 342; W = 16; H = 16; |
|
168 } |
|
169 |
|
170 // --------------------------------------------------- |
|
171 // |
|
172 // r_cam_img_precap_memory_location_ah |
|
173 // Arabic/Hebrew layout rect for memory location icon in photo navi pane. |
|
174 // |
|
175 // --------------------------------------------------- |
|
176 // |
|
177 RESOURCE AVKON_LAYOUT_RECT r_cam_img_precap_memory_location_ah |
|
178 { |
|
179 r = 573; t = 342; W = 11; H = 14; |
|
180 } |
|
181 |
|
182 |
|
183 // --------------------------------------------------- |
|
184 // |
|
185 // r_cam_video_precap_file_type |
|
186 // Layout rect for video file type icon in video navi pane. |
|
187 // |
|
188 // --------------------------------------------------- |
|
189 // |
|
190 RESOURCE AVKON_LAYOUT_RECT r_cam_video_precap_file_type |
|
191 { |
|
192 l = 6; t = 320; W = 9; H = 14; |
|
193 |
|
194 } |
|
195 |
|
196 // --------------------------------------------------- |
|
197 // |
|
198 // r_cam_video_precap_file_type_ah |
|
199 // Arabic/Hebrew layout rect for video file type icon in video navi pane. |
|
200 // |
|
201 // --------------------------------------------------- |
|
202 // |
|
203 RESOURCE AVKON_LAYOUT_RECT r_cam_video_precap_file_type_ah |
|
204 { |
|
205 l = 6; t = 342; W = 9; H = 14; |
|
206 } |
|
207 |
|
208 //----------------------------------------------------------------------------- |
|
209 // |
|
210 // r_cam_video_cap_limit_file_type |
|
211 // The size and position of the video filetype icon during capture |
|
212 // |
|
213 //----------------------------------------------------------------------------- |
|
214 // |
|
215 RESOURCE AVKON_LAYOUT_RECT r_cam_video_cap_limit_file_type |
|
216 { |
|
217 l = 42; t = 341; W = 16; H = 16; |
|
218 } |
|
219 |
|
220 //----------------------------------------------------------------------------- |
|
221 // |
|
222 // r_cam_video_cap_unlimit_file_type |
|
223 // The size and position of the video filetype icon during capture |
|
224 // when the progress bar is not visible. |
|
225 // |
|
226 //----------------------------------------------------------------------------- |
|
227 // |
|
228 RESOURCE AVKON_LAYOUT_RECT r_cam_video_cap_unlimit_file_type |
|
229 { |
|
230 l = 42; t = 341; W = 16; H = 16; |
|
231 } |
|
232 |
|
233 // --------------------------------------------------- |
|
234 // |
|
235 // r_cam_img_precap_location |
|
236 // Layout rect for location icon in image navi pane. |
|
237 // |
|
238 // --------------------------------------------------- |
|
239 // |
|
240 RESOURCE AVKON_LAYOUT_RECT r_cam_img_precap_location |
|
241 { |
|
242 r = 522; t = 342; W = 16; H = 16; |
|
243 } |
|
244 RESOURCE AVKON_LAYOUT_RECT r_cam_img_precap_location_ah |
|
245 { |
|
246 //r = 200; t = 221; W = 14; H = 14; |
|
247 r = 529; t = 341; W = 16; H = 16; |
|
248 } |
|
249 RESOURCE AVKON_LAYOUT_RECT r_cam_img_precap_location_portrait |
|
250 { |
|
251 //r = 202; t = 221; W = 14; H = 14; |
|
252 //removed from portrait mode |
|
253 //r = 211; t = 221; W = 0; H = 0; |
|
254 } |
|
255 RESOURCE AVKON_LAYOUT_RECT r_cam_img_precap_location_viewmode |
|
256 { |
|
257 //r = 202; t = 221; W = 14; H = 14; |
|
258 r = 531; t = 341; W = 16; H = 16; |
|
259 } |
|
260 |
|
261 // --------------------------------------------------- |
|
262 // |
|
263 // r_cam_img_precap_quality_icons |
|
264 // Layout rect for image resolution icon in image navi pane. |
|
265 // |
|
266 // --------------------------------------------------- |
|
267 // |
|
268 RESOURCE AVKON_LAYOUT_RECT r_cam_img_precap_quality_icons |
|
269 { |
|
270 r = 592; t = 342; W = 24; H = 14; |
|
271 } |
|
272 |
|
273 // --------------------------------------------------- |
|
274 // |
|
275 // r_cam_img_precap_quality_icons_ah |
|
276 // Arabic/Hebrew layout rect for image resolution icon in image navi pane. |
|
277 // |
|
278 // --------------------------------------------------- |
|
279 // |
|
280 RESOURCE AVKON_LAYOUT_RECT r_cam_img_precap_quality_icons_ah |
|
281 { |
|
282 r = 592; t = 342; W = 24; H = 14; |
|
283 } |
|
284 |
|
285 //----------------------------------------------------------------------------- |
|
286 // |
|
287 // r_cam_video_precap_quality_icons |
|
288 // The size and position of the video resolution icon |
|
289 // |
|
290 //----------------------------------------------------------------------------- |
|
291 // |
|
292 RESOURCE AVKON_LAYOUT_RECT r_cam_video_precap_quality_icons |
|
293 { |
|
294 l = 24; t = 341; W = 16; H = 16; |
|
295 } |
|
296 |
|
297 //----------------------------------------------------------------------------- |
|
298 // |
|
299 // r_cam_video_cap_limit_quality_icons |
|
300 // The size and position of the video resolution icon during capture |
|
301 // |
|
302 //----------------------------------------------------------------------------- |
|
303 // |
|
304 RESOURCE AVKON_LAYOUT_RECT r_cam_video_cap_limit_quality_icons |
|
305 { |
|
306 l = 24; t = 341; W = 16; H = 16; |
|
307 } |
|
308 |
|
309 //----------------------------------------------------------------------------- |
|
310 // |
|
311 // r_cam_video_cap_unlimit_quality_icons |
|
312 // The size and position of the video resolution icon during capture |
|
313 // when the progress bar is not visible. |
|
314 // |
|
315 //----------------------------------------------------------------------------- |
|
316 // |
|
317 RESOURCE AVKON_LAYOUT_RECT r_cam_video_cap_unlimit_quality_icons |
|
318 { |
|
319 l = 24; t = 341; W = 16; H = 16; |
|
320 } |
|
321 |
|
322 //---------------------------------------------------- |
|
323 // |
|
324 // r_cam_sidepane |
|
325 // Camera Sidepane |
|
326 // |
|
327 //---------------------------------------------------- |
|
328 // |
|
329 RESOURCE CAMERA_SIDEPANE r_cam_sidepane_camcorder |
|
330 { |
|
331 indicators = |
|
332 { |
|
333 CAMERA_INDICATOR |
|
334 { |
|
335 indicator_id = ECamIndicatorVideoStabiliser; |
|
336 coords = |
|
337 { |
|
338 CAMERA_INDICATOR_COORDS |
|
339 { tl_x = 0; |
|
340 tl_y = 0; |
|
341 br_x = 0; |
|
342 br_y = 0; } |
|
343 }; |
|
344 bitmaps = |
|
345 { |
|
346 CAMERA_BITMAP { bitmap_id = EMbmCameraappQgn_indi_vid4_stabilize_on; }, |
|
347 CAMERA_BITMAP { bitmap_id = EMbmCameraappQgn_indi_vid4_stabilize_on_mask; } |
|
348 }; |
|
349 }, |
|
350 CAMERA_INDICATOR |
|
351 { |
|
352 indicator_id = ECamIndicatorAudioMute; |
|
353 coords = |
|
354 { |
|
355 CAMERA_INDICATOR_COORDS |
|
356 { tl_x = 0; |
|
357 tl_y = 0; |
|
358 br_x = 0; |
|
359 br_y = 0; } |
|
360 }; |
|
361 bitmaps = |
|
362 { |
|
363 CAMERA_BITMAP { bitmap_id = EMbmCameraappQgn_indi_vid4_audio_mute; }, |
|
364 CAMERA_BITMAP { bitmap_id = EMbmCameraappQgn_indi_vid4_audio_mute_mask; } |
|
365 }; |
|
366 }, |
|
367 CAMERA_INDICATOR |
|
368 { |
|
369 indicator_id = ECamIndicatorFaceTracking; |
|
370 coords = |
|
371 { |
|
372 CAMERA_INDICATOR_COORDS |
|
373 { tl_x = 0; |
|
374 tl_y = 0; |
|
375 br_x = 0; |
|
376 br_y = 0; } |
|
377 }; |
|
378 bitmaps = |
|
379 { |
|
380 CAMERA_BITMAP { bitmap_id = EMbmCameraappQgn_indi_cam4_facedet; }, |
|
381 CAMERA_BITMAP { bitmap_id = EMbmCameraappQgn_indi_cam4_facedet_mask; } |
|
382 }; |
|
383 }, |
|
384 CAMERA_INDICATOR |
|
385 { |
|
386 indicator_id = ECamIndicatorCaptureMode; |
|
387 coords = |
|
388 { |
|
389 CAMERA_INDICATOR_COORDS |
|
390 { tl_x = 0; |
|
391 tl_y = 0; |
|
392 br_x = 0; |
|
393 br_y = 0; } |
|
394 }; |
|
395 bitmaps = |
|
396 { |
|
397 CAMERA_BITMAP { bitmap_id = EMbmCameraappQgn_indi_cam4_camera; }, |
|
398 CAMERA_BITMAP { bitmap_id = EMbmCameraappQgn_indi_cam4_camera_mask; }, |
|
399 CAMERA_BITMAP { bitmap_id = EMbmCameraappQgn_indi_cam4_video; }, |
|
400 CAMERA_BITMAP { bitmap_id = EMbmCameraappQgn_indi_cam4_video_mask; } |
|
401 }; |
|
402 }, |
|
403 CAMERA_INDICATOR |
|
404 { |
|
405 indicator_id = ECamIndicatorBurstMode; |
|
406 coords = |
|
407 { |
|
408 CAMERA_INDICATOR_COORDS |
|
409 { tl_x = 0; |
|
410 tl_y = 0; |
|
411 br_x = 0; |
|
412 br_y = 0; } |
|
413 }; |
|
414 bitmaps = |
|
415 { |
|
416 CAMERA_BITMAP { bitmap_id = EMbmCameraappQgn_indi_cam4_sequence_burst; }, |
|
417 CAMERA_BITMAP { bitmap_id = EMbmCameraappQgn_indi_cam4_sequence_burst_mask; } |
|
418 }; |
|
419 } |
|
420 }; |
|
421 } |
|
422 |
|
423 //---------------------------------------------------- |
|
424 // r_cam_sidepane_rect_cam1 |
|
425 // Layout rect for sidepane/zoompane in primary camera |
|
426 //---------------------------------------------------- |
|
427 // |
|
428 RESOURCE AVKON_LAYOUT_RECT r_cam_sidepane_rect_cam1_camcorder |
|
429 { |
|
430 l = 599; t = 0; W = 0; H = 0; |
|
431 } |
|
432 |
|
433 //---------------------------------------------------- |
|
434 // r_cam_sidepane_rect_cam2 |
|
435 // Layout rect for sidepane/zoompane in secondary camera |
|
436 //---------------------------------------------------- |
|
437 // |
|
438 RESOURCE AVKON_LAYOUT_RECT r_cam_sidepane_rect_cam2_camcorder |
|
439 { |
|
440 l = 599; t = 2; W = 0; H = 0; |
|
441 } |
|
442 |
|
443 //----------------------------------------------------------------------------- |
|
444 // |
|
445 // r_cam_viewfinder_rect_still |
|
446 // The size and position of the viewfinder in still capture |
|
447 // |
|
448 //----------------------------------------------------------------------------- |
|
449 // |
|
450 RESOURCE AVKON_LAYOUT_RECT r_cam_viewfinder_rect_still_camcorder |
|
451 { l = 80; t = 0; W = 480; H = 360; } // QHD OK |
|
452 |
|
453 //----------------------------------------------------------------------------- |
|
454 // |
|
455 // r_cam_viewfinder_rect_cif |
|
456 // The size and position of the viewfinder in large video resolution |
|
457 // |
|
458 //----------------------------------------------------------------------------- |
|
459 // |
|
460 RESOURCE AVKON_LAYOUT_RECT r_cam_viewfinder_rect_cif_camcorder |
|
461 { l = 144; t = 36; W = 352; H = 288; } // QHD OK |
|
462 |
|
463 //----------------------------------------------------------------------------- |
|
464 // |
|
465 // r_cam_viewfinder_rect_cif_camcorder_adjusted |
|
466 // The size and position of the viewfinder in large video resolution - adjusted to 320x240 screen |
|
467 // |
|
468 //----------------------------------------------------------------------------- |
|
469 // |
|
470 RESOURCE AVKON_LAYOUT_RECT r_cam_viewfinder_rect_cif_camcorder_adjusted |
|
471 { l = 100; t = 0; W = 440; H = 360; } // QHD OK |
|
472 |
|
473 //----------------------------------------------------------------------------- |
|
474 // |
|
475 // r_cam_viewfinder_rect_qvga |
|
476 // The size and position of the viewfinder in large video resolution |
|
477 // |
|
478 //----------------------------------------------------------------------------- |
|
479 // |
|
480 RESOURCE AVKON_LAYOUT_RECT r_cam_viewfinder_rect_qvga_camcorder |
|
481 { l = 80; t = 0; W = 480; H = 360; } |
|
482 |
|
483 //----------------------------------------------------------------------------- |
|
484 // |
|
485 // r_cam_viewfinder_rect_qcif |
|
486 // The size and position of the viewfinder in medium video resolution |
|
487 // |
|
488 //----------------------------------------------------------------------------- |
|
489 // |
|
490 RESOURCE AVKON_LAYOUT_RECT r_cam_viewfinder_rect_qcif_camcorder |
|
491 { l = 100; t = 0; W = 440; H = 360; } |
|
492 |
|
493 //----------------------------------------------------------------------------- |
|
494 // |
|
495 // r_cam_viewfinder_rect_sqcif |
|
496 // The size and position of the viewfinder in small video resolution |
|
497 // |
|
498 //----------------------------------------------------------------------------- |
|
499 // |
|
500 RESOURCE AVKON_LAYOUT_RECT r_cam_viewfinder_rect_sqcif_camcorder |
|
501 { l = 80; t = 0; W = 480; H = 360; } |
|
502 |
|
503 //----------------------------------------------------------------------------- |
|
504 // |
|
505 // r_cam_viewfinder_rect_secondary |
|
506 // The size and position of the viewfinder in large video resolution |
|
507 // for secondary camera |
|
508 // |
|
509 //----------------------------------------------------------------------------- |
|
510 // |
|
511 RESOURCE AVKON_LAYOUT_RECT r_cam_viewfinder_rect_secondary_camcorder |
|
512 { l = 80; t = 0; W = 480; H = 360; } |
|
513 |
|
514 //---------------------------------------------------- |
|
515 // |
|
516 // r_cam_zoom_pane_width |
|
517 // Width of the zoom pane (not just the zoom shaft) |
|
518 // |
|
519 //---------------------------------------------------- |
|
520 // |
|
521 RESOURCE INT16 r_cam_zoom_pane_width_camcorder |
|
522 { |
|
523 value = 19; |
|
524 } |
|
525 |
|
526 //---------------------------------------------------- |
|
527 // |
|
528 // r_cam_layout_battery_pane |
|
529 // |
|
530 //---------------------------------------------------- |
|
531 // |
|
532 RESOURCE AVKON_LAYOUT_RECT r_cam_layout_battery_pane |
|
533 { |
|
534 l = 0; |
|
535 t = 339; |
|
536 W = 21; // Ignored |
|
537 H = 21; // Ignored |
|
538 } |
|
539 |
|
540 |