|
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 STRUCT definitions specifically for the camera* |
|
15 */ |
|
16 |
|
17 |
|
18 |
|
19 // INCLUDES |
|
20 #include "Cam.hrh" |
|
21 #include "CamSettings.hrh" |
|
22 #include "CamSettingsInternal.hrh" |
|
23 |
|
24 |
|
25 |
|
26 // MACROS |
|
27 |
|
28 |
|
29 // STRUCTURE DEFINITIONS |
|
30 |
|
31 |
|
32 #ifndef CAMERAAPP_PLUGIN_BUILD |
|
33 |
|
34 //**************************************************** |
|
35 // REMEMBER ALL THE RESOURCES SPECIFIC TO CAMERA ONLY |
|
36 //**************************************************** |
|
37 //---------------------------------------------------- |
|
38 // |
|
39 // CAM_DYNAMIC_SETTING_ITEM_DATA |
|
40 // The initialisation data for a dynamic setting item. |
|
41 // |
|
42 //---------------------------------------------------- |
|
43 // |
|
44 STRUCT CAM_DYNAMIC_SETTING_ITEM_DATA |
|
45 { |
|
46 // Settings model Id for this item. |
|
47 WORD id; |
|
48 |
|
49 // Default value. |
|
50 WORD default; |
|
51 } |
|
52 |
|
53 #endif //CAMERAAPP_PLUGIN_BUILD |
|
54 |
|
55 |
|
56 |
|
57 //**************************************************************** |
|
58 // REMEMBER ALL THE RESOURCES BELOW ARE FOR BOTH CAMERA AND PLUGIN |
|
59 //**************************************************************** |
|
60 |
|
61 // ----------------------------------------------------------------------------- |
|
62 // CAMERA_BITMAP |
|
63 // This structure is for defining the bitmaps of a sidepane indicator. |
|
64 // ----------------------------------------------------------------------------- |
|
65 // |
|
66 STRUCT CAMERA_BITMAP |
|
67 { |
|
68 LONG bitmap_id; |
|
69 } |
|
70 |
|
71 // ----------------------------------------------------------------------------- |
|
72 // CAMERA_INDICATOR_COORDS |
|
73 // This structure is for defining the position of a side pane indicator. |
|
74 // ----------------------------------------------------------------------------- |
|
75 // |
|
76 STRUCT CAMERA_INDICATOR_COORDS |
|
77 { |
|
78 WORD tl_x; // top left x co-ordinate |
|
79 WORD tl_y; // top left y co-ordinate |
|
80 WORD br_x; // bottom right x co-ordinate |
|
81 WORD br_y; // bottom right y co-ordinate |
|
82 } |
|
83 |
|
84 // ----------------------------------------------------------------------------- |
|
85 // CAMERA_INDICATOR |
|
86 // This structure is for defining a side pane indicator. |
|
87 // ----------------------------------------------------------------------------- |
|
88 // |
|
89 STRUCT CAMERA_INDICATOR |
|
90 { |
|
91 WORD indicator_id; |
|
92 STRUCT coords; |
|
93 STRUCT bitmaps[]; |
|
94 } |
|
95 |
|
96 // ----------------------------------------------------------------------------- |
|
97 // CAMERA_SIDEPANE |
|
98 // This structure is for defining a camera side pane. |
|
99 // ----------------------------------------------------------------------------- |
|
100 // |
|
101 STRUCT CAMERA_SIDEPANE |
|
102 { |
|
103 STRUCT indicators[]; |
|
104 } |
|
105 |
|
106 // ----------------------------------------------------------------------------- |
|
107 // CAPTURE_SETUP_LIST_ITEM |
|
108 // This structure is for defining a list item in a capture |
|
109 // set-up list control |
|
110 // ----------------------------------------------------------------------------- |
|
111 // |
|
112 STRUCT CAPTURE_SETUP_LIST_ITEM |
|
113 { |
|
114 LTEXT item_text; |
|
115 WORD setting_value_id; |
|
116 LONG bitmap_id = -1; // no bitmap |
|
117 } |
|
118 |
|
119 // ----------------------------------------------------------------------------- |
|
120 // LOCATION_SETTING_LIST_ITEM |
|
121 // This structure is for defining a list item in a location |
|
122 // set-up list control |
|
123 // ----------------------------------------------------------------------------- |
|
124 // |
|
125 STRUCT LOCATION_SETTING_LIST_ITEM |
|
126 { |
|
127 LTEXT item_text; |
|
128 WORD setting_value_id; |
|
129 LONG bitmap_id = -1; // no bitmap |
|
130 } |
|
131 |
|
132 STRUCT CAM_LOCATION_SELECT_SUMMARY |
|
133 { |
|
134 WORD setting_value_id; |
|
135 LONG summary_icon = -1; |
|
136 LTEXT summary_description_text; |
|
137 } |
|
138 |
|
139 STRUCT CAM_LOCATION_SELECT_SUMMARY_LAYOUT |
|
140 { |
|
141 STRUCT summary_rect; |
|
142 STRUCT summary_inner_rect; |
|
143 STRUCT summary_icon; |
|
144 STRUCT summary_description[]; |
|
145 } |
|
146 |
|
147 |
|
148 |
|
149 //---------------------------------------------------- |
|
150 // |
|
151 // CAM_CAPTURE_SETUP_MENU_DATA |
|
152 // All the contents and layout data for a capture setup menu. |
|
153 // |
|
154 //---------------------------------------------------- |
|
155 // |
|
156 STRUCT CAM_CAPTURE_SETUP_MENU_DATA |
|
157 { |
|
158 // Data for the layout of the listbox. |
|
159 STRUCT listbox_layout; |
|
160 // Data for the list box item contents. |
|
161 STRUCT contents[]; |
|
162 // Data for the layout of the text items in the listbox. |
|
163 STRUCT text_layout; |
|
164 // Data for the layout of the bitmaps in the list box. |
|
165 STRUCT bitmap_layout; |
|
166 // Data for icon text layout. |
|
167 STRUCT icontext_layout; |
|
168 // The offset of the highlighted rectangle (when list item selected) |
|
169 // from the normal rectangle of a list item. |
|
170 WORD highlighted_offset; |
|
171 // The height of a list item. |
|
172 WORD list_item_height; |
|
173 } |
|
174 |
|
175 //---------------------------------------------------- |
|
176 // |
|
177 // CAM_CAPTURE_SETUP_MENU_ITEM_REF |
|
178 // Reference to a capture setup menu item. |
|
179 // |
|
180 //---------------------------------------------------- |
|
181 // |
|
182 STRUCT CAM_CAPTURE_SETUP_MENU_ITEM_REF |
|
183 { |
|
184 LLINK capture_setup_menu_item_ref = 0; |
|
185 } |
|
186 |
|
187 //---------------------------------------------------- |
|
188 // |
|
189 // CAM_CAPTURE_SETUP_MENU_ITEM_ARRAY |
|
190 // Array of all data for a capture setup menu item |
|
191 // |
|
192 //---------------------------------------------------- |
|
193 // |
|
194 STRUCT CAM_CAPTURE_SETUP_MENU_ITEM_ARRAY |
|
195 { |
|
196 // Settings model Id for this setting item |
|
197 WORD id; |
|
198 |
|
199 // Text for this capture setup menu item. |
|
200 LTEXT text; |
|
201 |
|
202 // Data for a capture setup menu item |
|
203 STRUCT capture_setup_menu_item[]; |
|
204 } |
|
205 |
|
206 //---------------------------------------------------- |
|
207 // |
|
208 // CAM_CAPTURE_SETUP_MENU_ITEM_DATA |
|
209 // Data for a single setting of a capture setup menu item. |
|
210 // |
|
211 //---------------------------------------------------- |
|
212 // |
|
213 STRUCT CAM_CAPTURE_SETUP_MENU_ITEM_DATA |
|
214 { |
|
215 // Id for this setting value |
|
216 WORD id; |
|
217 |
|
218 // Id of the bitmap that is associated with this setting value (-1 default = none). |
|
219 WORD bitmap = -1; |
|
220 |
|
221 // Text to be used instead of an icon for this setting value ("" default = none). |
|
222 LTEXT icontext = ""; |
|
223 } |
|
224 |
|
225 //---------------------------------------------------- |
|
226 // |
|
227 // CAM_CAPTURE_SETUP_MENU_LISTBOX |
|
228 // Data for capture setup menu listbox |
|
229 // |
|
230 //---------------------------------------------------- |
|
231 // |
|
232 STRUCT CAM_CAPTURE_SETUP_MENU_LISTBOX |
|
233 { |
|
234 WORD bottomOffset; // vertical distance from bottom of screen of capture setup menu |
|
235 } |
|
236 |
|
237 //---------------------------------------------------- |
|
238 // |
|
239 // CAM_CAPTURE_SETUP_MENU_LISTBOX |
|
240 // Data for capture setup menu listbox |
|
241 // |
|
242 //---------------------------------------------------- |
|
243 // |
|
244 STRUCT CAM_CAPTURE_SETUP_MENU_LISTBOX_ITEMDRAWER |
|
245 { |
|
246 WORD textWidth; // width of the area allocated to drawing text, in pixels |
|
247 WORD bitmapWidth; // width of the area allocated to drawing bitmaps, in pixels |
|
248 WORD itemVerticalMargin; |
|
249 WORD highlightOffset; |
|
250 WORD textLeftMargin; |
|
251 } |
|
252 |
|
253 // ----------------------------------------------------------------------------- |
|
254 // |
|
255 // CAM_BURST_GRID_ITEM |
|
256 // Data for drawing of the Burst capture Thumbnail grid |
|
257 // ----------------------------------------------------------------------------- |
|
258 // |
|
259 STRUCT CAM_BURST_GRID_ITEM |
|
260 { |
|
261 STRUCT cell_rect; // outline rectangle for each cell in the grid |
|
262 STRUCT high_rect; // outline rectangle for the cell highlight |
|
263 STRUCT mark_rect; // outline rectangle for the "mark" of the cell |
|
264 STRUCT thmb_rect; // outline rectangle for the thumbnail draw area |
|
265 } |
|
266 |
|
267 // ----------------------------------------------------------------------------- |
|
268 // |
|
269 // CAM_RECT_SIZE |
|
270 // |
|
271 // ----------------------------------------------------------------------------- |
|
272 // |
|
273 STRUCT CAM_RECT_SIZE |
|
274 { |
|
275 WORD width; |
|
276 WORD height; |
|
277 } |
|
278 |
|
279 // ----------------------------------------------------------------------------- |
|
280 // |
|
281 // CAM_SLIDER_EV_ITEM |
|
282 // Data for drawing of the EV Slider legend |
|
283 // ----------------------------------------------------------------------------- |
|
284 // |
|
285 STRUCT CAM_SLIDER_EV_ITEM |
|
286 { |
|
287 WORD item = ECamSliderLegendItemText; |
|
288 LTEXT text = ""; |
|
289 LONG bitmap_id = 0; |
|
290 LONG mask_id = 0; |
|
291 } |
|
292 |
|
293 // ----------------------------------------------------------------------------- |
|
294 // |
|
295 // CAM_SLIDER_LEGEND_ITEM |
|
296 // Data for drawing of the Slider legend |
|
297 // ----------------------------------------------------------------------------- |
|
298 // |
|
299 STRUCT CAM_SLIDER_LEGEND_ITEM |
|
300 { |
|
301 WORD item = ECamSliderLegendItemText; |
|
302 STRUCT position; |
|
303 LTEXT text = ""; |
|
304 LONG bitmap_id = 0; |
|
305 LONG mask_id = 0; |
|
306 } |
|
307 |
|
308 |
|
309 // ----------------------------------------------------------------------------- |
|
310 // |
|
311 // CAM_SLIDER_CONTRAST_LEGEND_ITEM |
|
312 // Data for drawing of the Slider legend for Contrast |
|
313 // ----------------------------------------------------------------------------- |
|
314 // |
|
315 STRUCT CAM_SLIDER_CONTRAST_LEGEND_ITEM |
|
316 { |
|
317 WORD item = ECamSliderLegendItemText; |
|
318 LTEXT text = ""; |
|
319 LONG bitmap_id = 0; |
|
320 LONG mask_id = 0; |
|
321 } |
|
322 |
|
323 |
|
324 //---------------------------------------------------- |
|
325 // |
|
326 // CAM_USER_SCENE_SETUP_LIST_DATA |
|
327 // Data for a user scene setup list |
|
328 // |
|
329 //---------------------------------------------------- |
|
330 // |
|
331 STRUCT CAM_USER_SCENE_SETUP_LIST_DATA |
|
332 { |
|
333 // List title |
|
334 LLINK title_id = 0; |
|
335 |
|
336 // Array of all items for a user scene setup list |
|
337 STRUCT user_scene_setup_list_items[]; |
|
338 } |
|
339 |
|
340 |
|
341 //---------------------------------------------------- |
|
342 // |
|
343 // CAM_USER_SCENE_SETUP_LIST_ITEM_REF |
|
344 // Reference to a user scene setup list item. |
|
345 // |
|
346 //---------------------------------------------------- |
|
347 // |
|
348 STRUCT CAM_USER_SCENE_SETUP_LIST_ITEM_REF |
|
349 { |
|
350 LLINK user_scene_setup_list_item_ref = 0; |
|
351 } |
|
352 |
|
353 |
|
354 //---------------------------------------------------- |
|
355 // |
|
356 // CAM_USER_SCENE_SETUP_LIST_ITEM_DATA |
|
357 // All data for an item in the user scene list item. |
|
358 // |
|
359 //---------------------------------------------------- |
|
360 // |
|
361 STRUCT CAM_USER_SCENE_SETUP_LIST_ITEM_DATA |
|
362 { |
|
363 // Settings model Id for the setting type associated with this item |
|
364 // e.g. white balance, or colour effect. |
|
365 WORD id; |
|
366 |
|
367 // Text associated with the setting type. |
|
368 LTEXT text; |
|
369 |
|
370 // Array of all possible values for this user scene setup list item |
|
371 STRUCT user_scene_setup_list_item_values[]; |
|
372 } |
|
373 |
|
374 |
|
375 //---------------------------------------------------- |
|
376 // |
|
377 // CAM_USER_SCENE_SETUP_LIST_ITEM_VALUE |
|
378 // A possible value, and associated text |
|
379 // for an item of the user scene setup list. |
|
380 // |
|
381 //---------------------------------------------------- |
|
382 // |
|
383 STRUCT CAM_USER_SCENE_SETUP_LIST_ITEM_VALUE |
|
384 { |
|
385 // Settings model Id for this user setup scene list item value |
|
386 WORD id; |
|
387 |
|
388 // Associated text with the user setup scene list item value. |
|
389 LTEXT text; |
|
390 } |
|
391 |
|
392 //---------------------------------------------------- |
|
393 // |
|
394 // CAM_STATIC_SETTING_ITEM_DATA |
|
395 // The initialisation data for a static setting item. |
|
396 // |
|
397 //---------------------------------------------------- |
|
398 // |
|
399 STRUCT CAM_STATIC_SETTING_ITEM_DATA |
|
400 { |
|
401 // Settings model Id for this item. |
|
402 WORD id; |
|
403 |
|
404 // The shared data key for the item. |
|
405 LTEXT key; |
|
406 |
|
407 // Default value, if there is no value in shared data. |
|
408 //WORD default; |
|
409 |
|
410 } |
|
411 |
|
412 //---------------------------------------------------- |
|
413 // |
|
414 // CAM_SETTING_ITEMS_DEFAULT_DATA |
|
415 // Default values for a list of settings items. |
|
416 // |
|
417 //---------------------------------------------------- |
|
418 // |
|
419 STRUCT CAM_SETTING_ITEMS_DEFAULT_DATA |
|
420 { |
|
421 // Array of all possible values for this user scene setup list item |
|
422 STRUCT settings_default_values[]; |
|
423 } |
|
424 |
|
425 //---------------------------------------------------- |
|
426 // |
|
427 // CAM_NON_STATIC_SETTING_ITEM_DATA |
|
428 // The data for a non-static setting item. |
|
429 // |
|
430 //---------------------------------------------------- |
|
431 // |
|
432 STRUCT CAM_NON_STATIC_SETTING_ITEM_DATA |
|
433 { |
|
434 // Settings model Id for this item. |
|
435 WORD id; |
|
436 |
|
437 // Default value. |
|
438 WORD default; |
|
439 } |
|
440 |
|
441 |
|
442 |
|
443 //---------------------------------------------------- |
|
444 // |
|
445 // CAM_SCENE_SETTING_ITEM_DATA |
|
446 // The data for a scene setting item. |
|
447 // |
|
448 //---------------------------------------------------- |
|
449 // |
|
450 STRUCT CAM_SCENE_SETTING_ITEM_DATA |
|
451 { |
|
452 // Settings model Id for this scene item. |
|
453 WORD id; |
|
454 |
|
455 // Array of settings for this scene item |
|
456 STRUCT scene_items[]; |
|
457 } |
|
458 |
|
459 //---------------------------------------------------- |
|
460 // |
|
461 // CAM_SCENE_SETTINGS_DATA_REF |
|
462 // Reference to a scene's settings data. |
|
463 // |
|
464 //---------------------------------------------------- |
|
465 // |
|
466 STRUCT CAM_SCENE_SETTINGS_DATA_REF |
|
467 { |
|
468 LLINK scene_settings_data_ref = 0; |
|
469 } |
|
470 |
|
471 //---------------------------------------------------- |
|
472 // |
|
473 // CAM_SETTING_ITEMS_DATA |
|
474 // Data for a list of settings items. |
|
475 // |
|
476 //---------------------------------------------------- |
|
477 // |
|
478 STRUCT CAM_SCENE_SETTING_DATA |
|
479 { |
|
480 WORD scene_item_id; |
|
481 // Array of setting items data. |
|
482 STRUCT settings_items[]; |
|
483 } |
|
484 |
|
485 |
|
486 //---------------------------------------------------- |
|
487 // |
|
488 // CAM_SETTING_ITEMS_DATA |
|
489 // Data for a list of settings items. |
|
490 // |
|
491 //---------------------------------------------------- |
|
492 // |
|
493 STRUCT CAM_SETTING_ITEMS_DATA |
|
494 { |
|
495 // Array of setting items data. |
|
496 STRUCT settings_items[]; |
|
497 } |
|
498 |
|
499 // ----------------------------------------------------------------------------- |
|
500 // CAM_ENGINE_UPDATE |
|
501 // This structure is for defining whether the engine needs to be updated with |
|
502 // settings after a prepare. |
|
503 // ----------------------------------------------------------------------------- |
|
504 // |
|
505 STRUCT CAM_ENGINE_UPDATE |
|
506 { |
|
507 WORD update; |
|
508 } |
|
509 |
|
510 // ----------------------------------------------------------------------------- |
|
511 // CAM_VIDEO_QUALITY_LEVEL |
|
512 // Structure holding parameters for video quality setting item |
|
513 // |
|
514 // ----------------------------------------------------------------------------- |
|
515 // |
|
516 STRUCT CAM_VIDEO_QUALITY_LEVEL |
|
517 { |
|
518 // Id for this quality level |
|
519 WORD id; |
|
520 |
|
521 // Id of the resolution to use (may be overridden by separate |
|
522 // resolution setting) |
|
523 WORD resolution; |
|
524 |
|
525 // Target frame rate of video (frames per second) |
|
526 DOUBLE frame_rate; |
|
527 |
|
528 // Desired bit rate of video (bits per second) |
|
529 LONG bit_rate; |
|
530 |
|
531 // Desired bit rate of audio (bits per second) |
|
532 LONG audio_bit_rate; |
|
533 |
|
534 // Mime type for video. If not specified, the value in shared data |
|
535 // (101F8667.ini) is used. |
|
536 LTEXT mime_type = ""; |
|
537 |
|
538 // Preferred supplier for MMF camcorder plugin. If not specified, the |
|
539 // value in shared data (101F8667.ini) is used. |
|
540 LTEXT16 preferred_supplier = ""; |
|
541 |
|
542 // Video codec. If not specified, the |
|
543 // value in shared data (101F8667.ini) is used. |
|
544 LTEXT video_type = ""; |
|
545 |
|
546 // Audio codec (FOURCC). If not specified, the |
|
547 // value in shared data (101F8667.ini) is used. |
|
548 LTEXT audio_type = ""; |
|
549 |
|
550 // video file type id |
|
551 WORD file_type = ECamVideoMpeg4; |
|
552 |
|
553 // video length (long or short) |
|
554 WORD video_length = ECamVideoClipMax; |
|
555 // |
|
556 } |
|
557 |
|
558 //---------------------------------------------------- |
|
559 // |
|
560 // CAM_VIDEO_QUALITY_ARRAY |
|
561 // Array of all video quality levels |
|
562 // |
|
563 //---------------------------------------------------- |
|
564 // |
|
565 STRUCT CAM_VIDEO_QUALITY_ARRAY |
|
566 { |
|
567 // Data for all quality levels |
|
568 STRUCT quality_levels[]; |
|
569 } |
|
570 |
|
571 // ----------------------------------------------------------------------------- |
|
572 // CAM_PHOTO_QUALITY_LEVEL |
|
573 // Structure holding parameters for photo quality setting item |
|
574 // |
|
575 // ----------------------------------------------------------------------------- |
|
576 // |
|
577 STRUCT CAM_PHOTO_QUALITY_LEVEL |
|
578 { |
|
579 // Id for this quality level |
|
580 WORD id; |
|
581 |
|
582 // Id of the resolution to use (may be overridden by separate |
|
583 // resolution setting) |
|
584 WORD resolution; |
|
585 |
|
586 // Photo quality |
|
587 WORD quality; |
|
588 } |
|
589 |
|
590 //---------------------------------------------------- |
|
591 // |
|
592 // CAM_PHOTO_QUALITY_ARRAY |
|
593 // Array of all photo quality levels |
|
594 // |
|
595 //---------------------------------------------------- |
|
596 // |
|
597 STRUCT CAM_PHOTO_QUALITY_ARRAY |
|
598 { |
|
599 // Data for all quality levels |
|
600 STRUCT quality_levels[]; |
|
601 } |
|
602 |
|
603 //---------------------------------------------------- |
|
604 // |
|
605 // CAM_RESOLUTION |
|
606 // Numeric data for a photo/video resolution preset. |
|
607 // |
|
608 //---------------------------------------------------- |
|
609 // |
|
610 STRUCT CAM_RESOLUTION |
|
611 { |
|
612 WORD width; |
|
613 WORD height; |
|
614 } |
|
615 |
|
616 //---------------------------------------------------- |
|
617 // |
|
618 // CAM_RESOLUTION_ARRAY |
|
619 // Array of all photo/video resolutions |
|
620 // |
|
621 //---------------------------------------------------- |
|
622 // |
|
623 STRUCT CAM_RESOLUTION_ARRAY |
|
624 { |
|
625 // Data for video resolutions |
|
626 STRUCT resolutions[]; |
|
627 } |
|
628 |
|
629 //---------------------------------------------------- |
|
630 // |
|
631 // CAM_QUALITY_SLIDER |
|
632 // Text strings for quality slider control |
|
633 // |
|
634 //---------------------------------------------------- |
|
635 // |
|
636 STRUCT CAM_QUALITY_SLIDER |
|
637 { |
|
638 LTEXT title_text = ""; |
|
639 LTEXT subtitle_text_top = ""; |
|
640 LTEXT subtitle_text_bottom = ""; |
|
641 LTEXT remaining_text = ""; |
|
642 STRUCT setting_title_texts[]; |
|
643 STRUCT setting_desc_texts[]; |
|
644 WORD setting_enum[]; |
|
645 } |
|
646 |
|
647 //---------------------------------------------------- |
|
648 // |
|
649 // CAM_QUALITY_SLIDER_LAYOUT |
|
650 // Layouts for quality slider control |
|
651 // |
|
652 //---------------------------------------------------- |
|
653 // |
|
654 STRUCT CAM_QUALITY_SLIDER_LAYOUT |
|
655 { |
|
656 STRUCT slider_position; |
|
657 STRUCT subtitle_top; |
|
658 STRUCT subtitle_bottom; |
|
659 STRUCT setting_title; |
|
660 STRUCT setting_descriptions[]; |
|
661 STRUCT remaining_title; |
|
662 STRUCT remaining_text; |
|
663 STRUCT storage_icon; |
|
664 STRUCT desc_rect; |
|
665 STRUCT desc_inner_rect1; |
|
666 STRUCT desc_inner_rect2; |
|
667 } |
|
668 |
|
669 STRUCT CAM_DECORATIONS |
|
670 { |
|
671 STRUCT decorations[]; |
|
672 } |
|
673 |
|
674 STRUCT CAM_DECORATION |
|
675 { |
|
676 WORD type; |
|
677 STRUCT decoration; |
|
678 } |
|
679 |
|
680 STRUCT CAM_BLENDED_BACKGROUND |
|
681 { |
|
682 WORD tl_x; |
|
683 WORD tl_y; |
|
684 WORD width; |
|
685 } |
|
686 |
|
687 STRUCT CAM_DVF_BLANKER |
|
688 { |
|
689 WORD tl_x; |
|
690 WORD tl_y; |
|
691 WORD width; |
|
692 WORD height; |
|
693 } |
|
694 |
|
695 STRUCT CAM_RECORDING_ICON |
|
696 { |
|
697 WORD tl_x; |
|
698 WORD tl_y; |
|
699 WORD width; |
|
700 WORD height; |
|
701 } |
|
702 |
|
703 #include "CamModeSelect.rh" |
|
704 |
|
705 STRUCT CAM_ACTIVE_PALETTE_ITEM |
|
706 { |
|
707 LONG item_id = -1; |
|
708 LONG cmd_id; |
|
709 BYTE position = -1; |
|
710 BYTE isVisible = 1; |
|
711 BYTE type; |
|
712 } |
|
713 |
|
714 STRUCT CAM_AP_POST_CAPTURE_ITEM |
|
715 { |
|
716 LTEXT text; |
|
717 LONG bitmap_id; |
|
718 } |
|
719 |
|
720 STRUCT CAM_AP_TT_ITEM |
|
721 { |
|
722 LTEXT text; |
|
723 } |
|
724 |