--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/camerauis/cameraapp/generic/data/resource_inc/CamCaptureCamcorder.ra Wed Sep 01 12:30:54 2010 +0100
@@ -0,0 +1,540 @@
+/*
+* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: Resource definitions for the Camera Application*
+*/
+
+
+
+#define KResolutionIndicatorCCBRx 72
+#define KResolutionIndicatorCCBRy 242
+#define KVidResolutionIndicatorCCBRx 85
+#define KVidResolutionIndicatorCCBRy 236
+
+#define KIndicatorStatusCCSeparatorWidth 5
+
+#define KIndicatorCaptureTypeCCTLx (KIndicatorStatusCCSeparatorWidth)
+#define KIndicatorCaptureTypeCCTLy 3
+
+#define KIndicatorStabilisationCCTLx (KIndicatorCaptureTypeCCTLx + KIndicatorCaptureTypeIconWidth + 10)
+#define KIndicatorStabilisationCCTLy KIndicatorCaptureTypeCCTLy
+
+#define KIndicatorAudioMuteCCTLx (KIndicatorStabilisationCCTLx + KIndicatorAudioMuteIconCCWidth + KIndicatorStatusCCSeparatorWidth)
+#define KIndicatorAudioMuteCCTLy KIndicatorCaptureTypeCCTLy
+
+#define KIndicatorVideoModeCCBRx (KVidResolutionIndicatorCCBRx + 15)
+#define KIndicatorVideoModeCCBRy (KVidResolutionIndicatorCCBRy + 2)
+
+#define KIndicatorShakeWarningCCTLx (KIndicatorCaptureTypeCCTLx + KIndicatorCaptureTypeIconWidth + 10)
+#define KIndicatorShakeWarningCCTLy KIndicatorCaptureTypeCCTLy
+
+
+//----------------------------------------------------
+//
+// r_cam_layout_zoom_pane_camcorder
+// Location for the Zoom Pane background frame.
+//
+//----------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_RECT r_cam_layout_zoom_pane_camcorder
+ {
+ l = 13;
+ t = 61;
+ W = 11;
+ H = 218;
+ }
+
+//----------------------------------------------------
+//
+// r_cam_layout_zoom_pane_shaft_camcorder
+// Location for the Zoom Pane shaft, drawn *within* the frame
+//
+//----------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_RECT r_cam_layout_zoom_pane_shaft_camcorder
+ {
+ l = 15;
+ t = 63;
+ W = 7;
+ H = 214;
+ }
+
+//----------------------------------------------------
+//
+// r_cam_layout_zoom_pane_horiz_camcorder
+// Location for the Zoom Pane background frame.
+//
+//----------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_RECT r_cam_layout_zoom_pane_horiz_camcorder
+ {
+ l = 101;
+ t = 35;
+ W = 118;
+ H = 22;
+ }
+
+//----------------------------------------------------
+//
+// r_cam_layout_zoom_pane_shaft_horiz_camcorder
+// Location for the Zoom Pane shaft, drawn *within* the frame
+//
+//----------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_RECT r_cam_layout_zoom_pane_shaft_horiz_camcorder
+ {
+ l = 103;
+ t = 37;
+ W = 114;
+ H = 7;
+ }
+
+
+
+// ---------------------------------------------------
+//
+// r_cam_counter_icon_rect
+// Layout rect for icon in photo navi pane.
+//
+// ---------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_RECT r_cam_counter_icon_rect_camcorder
+ {
+ l = 25; t = 342; W = 11; H = 16;
+ }
+
+// ---------------------------------------------------
+//
+// r_cam_counter_icon_rect_ah
+// Arabic/Hebrew layout rect for icon in photo navi pane.
+//
+// ---------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_RECT r_cam_counter_icon_rect_ah_camcorder
+ {
+ l = 25; t = 342; W = 11; H = 16;
+ }
+
+// ---------------------------------------------------
+//
+// r_cam_video_precap_memory_location
+// Layout rect for memory location icon in video navi pane.
+//
+// ---------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_RECT r_cam_video_precap_memory_location
+ {
+ // l = 5; t = 222; W = 11; H = 16;
+ //r = 280; t = 221; W = 16; H = 16;
+ //r = 206; t = 222; W = 16; H = 16;
+ r = 531; t = 342; W = 16; H = 16;
+ }
+
+// ---------------------------------------------------
+//
+// r_cam_video_precap_memory_location_ah
+// Arabic/Hebrew layout rect for memory location icon in video navi pane.
+//
+// ---------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_RECT r_cam_video_precap_memory_location_ah
+ {
+ //l = 5; t = 222; W = 11; H = 16;
+ //r = 280; t = 221; W = 16; H = 16;
+ //l = 24; t = 222; W = 16; H = 16;
+ l = 56; t = 342; W = 16; H = 16;
+ }
+
+// ---------------------------------------------------
+//
+// r_cam_img_precap_memory_location
+// Layout rect for memory location icon in photo navi pane.
+//
+// ---------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_RECT r_cam_img_precap_memory_location
+ {
+ r = 536; t = 342; W = 16; H = 16;
+ }
+
+// ---------------------------------------------------
+//
+// r_cam_img_precap_memory_location_ah
+// Arabic/Hebrew layout rect for memory location icon in photo navi pane.
+//
+// ---------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_RECT r_cam_img_precap_memory_location_ah
+ {
+ r = 573; t = 342; W = 11; H = 14;
+ }
+
+
+// ---------------------------------------------------
+//
+// r_cam_video_precap_file_type
+// Layout rect for video file type icon in video navi pane.
+//
+// ---------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_RECT r_cam_video_precap_file_type
+ {
+ l = 6; t = 320; W = 9; H = 14;
+
+ }
+
+// ---------------------------------------------------
+//
+// r_cam_video_precap_file_type_ah
+// Arabic/Hebrew layout rect for video file type icon in video navi pane.
+//
+// ---------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_RECT r_cam_video_precap_file_type_ah
+ {
+ l = 6; t = 342; W = 9; H = 14;
+ }
+
+//-----------------------------------------------------------------------------
+//
+// r_cam_video_cap_limit_file_type
+// The size and position of the video filetype icon during capture
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_RECT r_cam_video_cap_limit_file_type
+ {
+ l = 42; t = 341; W = 16; H = 16;
+ }
+
+//-----------------------------------------------------------------------------
+//
+// r_cam_video_cap_unlimit_file_type
+// The size and position of the video filetype icon during capture
+// when the progress bar is not visible.
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_RECT r_cam_video_cap_unlimit_file_type
+ {
+ l = 42; t = 341; W = 16; H = 16;
+ }
+
+// ---------------------------------------------------
+//
+// r_cam_img_precap_location
+// Layout rect for location icon in image navi pane.
+//
+// ---------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_RECT r_cam_img_precap_location
+ {
+ r = 522; t = 342; W = 16; H = 16;
+ }
+RESOURCE AVKON_LAYOUT_RECT r_cam_img_precap_location_ah
+ {
+ //r = 200; t = 221; W = 14; H = 14;
+ r = 529; t = 341; W = 16; H = 16;
+ }
+RESOURCE AVKON_LAYOUT_RECT r_cam_img_precap_location_portrait
+ {
+ //r = 202; t = 221; W = 14; H = 14;
+ //removed from portrait mode
+ //r = 211; t = 221; W = 0; H = 0;
+ }
+RESOURCE AVKON_LAYOUT_RECT r_cam_img_precap_location_viewmode
+ {
+ //r = 202; t = 221; W = 14; H = 14;
+ r = 531; t = 341; W = 16; H = 16;
+ }
+
+// ---------------------------------------------------
+//
+// r_cam_img_precap_quality_icons
+// Layout rect for image resolution icon in image navi pane.
+//
+// ---------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_RECT r_cam_img_precap_quality_icons
+ {
+ r = 592; t = 342; W = 24; H = 14;
+ }
+
+// ---------------------------------------------------
+//
+// r_cam_img_precap_quality_icons_ah
+// Arabic/Hebrew layout rect for image resolution icon in image navi pane.
+//
+// ---------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_RECT r_cam_img_precap_quality_icons_ah
+ {
+ r = 592; t = 342; W = 24; H = 14;
+ }
+
+//-----------------------------------------------------------------------------
+//
+// r_cam_video_precap_quality_icons
+// The size and position of the video resolution icon
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_RECT r_cam_video_precap_quality_icons
+ {
+ l = 24; t = 341; W = 16; H = 16;
+ }
+
+//-----------------------------------------------------------------------------
+//
+// r_cam_video_cap_limit_quality_icons
+// The size and position of the video resolution icon during capture
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_RECT r_cam_video_cap_limit_quality_icons
+ {
+ l = 24; t = 341; W = 16; H = 16;
+ }
+
+//-----------------------------------------------------------------------------
+//
+// r_cam_video_cap_unlimit_quality_icons
+// The size and position of the video resolution icon during capture
+// when the progress bar is not visible.
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_RECT r_cam_video_cap_unlimit_quality_icons
+ {
+ l = 24; t = 341; W = 16; H = 16;
+ }
+
+//----------------------------------------------------
+//
+// r_cam_sidepane
+// Camera Sidepane
+//
+//----------------------------------------------------
+//
+RESOURCE CAMERA_SIDEPANE r_cam_sidepane_camcorder
+ {
+ indicators =
+ {
+ CAMERA_INDICATOR
+ {
+ indicator_id = ECamIndicatorVideoStabiliser;
+ coords =
+ {
+ CAMERA_INDICATOR_COORDS
+ { tl_x = 0;
+ tl_y = 0;
+ br_x = 0;
+ br_y = 0; }
+ };
+ bitmaps =
+ {
+ CAMERA_BITMAP { bitmap_id = EMbmCameraappQgn_indi_vid4_stabilize_on; },
+ CAMERA_BITMAP { bitmap_id = EMbmCameraappQgn_indi_vid4_stabilize_on_mask; }
+ };
+ },
+ CAMERA_INDICATOR
+ {
+ indicator_id = ECamIndicatorAudioMute;
+ coords =
+ {
+ CAMERA_INDICATOR_COORDS
+ { tl_x = 0;
+ tl_y = 0;
+ br_x = 0;
+ br_y = 0; }
+ };
+ bitmaps =
+ {
+ CAMERA_BITMAP { bitmap_id = EMbmCameraappQgn_indi_vid4_audio_mute; },
+ CAMERA_BITMAP { bitmap_id = EMbmCameraappQgn_indi_vid4_audio_mute_mask; }
+ };
+ },
+ CAMERA_INDICATOR
+ {
+ indicator_id = ECamIndicatorFaceTracking;
+ coords =
+ {
+ CAMERA_INDICATOR_COORDS
+ { tl_x = 0;
+ tl_y = 0;
+ br_x = 0;
+ br_y = 0; }
+ };
+ bitmaps =
+ {
+ CAMERA_BITMAP { bitmap_id = EMbmCameraappQgn_indi_cam4_facedet; },
+ CAMERA_BITMAP { bitmap_id = EMbmCameraappQgn_indi_cam4_facedet_mask; }
+ };
+ },
+ CAMERA_INDICATOR
+ {
+ indicator_id = ECamIndicatorCaptureMode;
+ coords =
+ {
+ CAMERA_INDICATOR_COORDS
+ { tl_x = 0;
+ tl_y = 0;
+ br_x = 0;
+ br_y = 0; }
+ };
+ bitmaps =
+ {
+ CAMERA_BITMAP { bitmap_id = EMbmCameraappQgn_indi_cam4_camera; },
+ CAMERA_BITMAP { bitmap_id = EMbmCameraappQgn_indi_cam4_camera_mask; },
+ CAMERA_BITMAP { bitmap_id = EMbmCameraappQgn_indi_cam4_video; },
+ CAMERA_BITMAP { bitmap_id = EMbmCameraappQgn_indi_cam4_video_mask; }
+ };
+ },
+ CAMERA_INDICATOR
+ {
+ indicator_id = ECamIndicatorBurstMode;
+ coords =
+ {
+ CAMERA_INDICATOR_COORDS
+ { tl_x = 0;
+ tl_y = 0;
+ br_x = 0;
+ br_y = 0; }
+ };
+ bitmaps =
+ {
+ CAMERA_BITMAP { bitmap_id = EMbmCameraappQgn_indi_cam4_sequence_burst; },
+ CAMERA_BITMAP { bitmap_id = EMbmCameraappQgn_indi_cam4_sequence_burst_mask; }
+ };
+ }
+ };
+ }
+
+//----------------------------------------------------
+// r_cam_sidepane_rect_cam1
+// Layout rect for sidepane/zoompane in primary camera
+//----------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_RECT r_cam_sidepane_rect_cam1_camcorder
+ {
+ l = 599; t = 0; W = 0; H = 0;
+ }
+
+//----------------------------------------------------
+// r_cam_sidepane_rect_cam2
+// Layout rect for sidepane/zoompane in secondary camera
+//----------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_RECT r_cam_sidepane_rect_cam2_camcorder
+ {
+ l = 599; t = 2; W = 0; H = 0;
+ }
+
+//-----------------------------------------------------------------------------
+//
+// r_cam_viewfinder_rect_still
+// The size and position of the viewfinder in still capture
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_RECT r_cam_viewfinder_rect_still_camcorder
+ { l = 80; t = 0; W = 480; H = 360; } // QHD OK
+
+//-----------------------------------------------------------------------------
+//
+// r_cam_viewfinder_rect_cif
+// The size and position of the viewfinder in large video resolution
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_RECT r_cam_viewfinder_rect_cif_camcorder
+ { l = 144; t = 36; W = 352; H = 288; } // QHD OK
+
+//-----------------------------------------------------------------------------
+//
+// r_cam_viewfinder_rect_cif_camcorder_adjusted
+// The size and position of the viewfinder in large video resolution - adjusted to 320x240 screen
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_RECT r_cam_viewfinder_rect_cif_camcorder_adjusted
+ { l = 100; t = 0; W = 440; H = 360; } // QHD OK
+
+//-----------------------------------------------------------------------------
+//
+// r_cam_viewfinder_rect_qvga
+// The size and position of the viewfinder in large video resolution
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_RECT r_cam_viewfinder_rect_qvga_camcorder
+ { l = 80; t = 0; W = 480; H = 360; }
+
+//-----------------------------------------------------------------------------
+//
+// r_cam_viewfinder_rect_qcif
+// The size and position of the viewfinder in medium video resolution
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_RECT r_cam_viewfinder_rect_qcif_camcorder
+ { l = 100; t = 0; W = 440; H = 360; }
+
+//-----------------------------------------------------------------------------
+//
+// r_cam_viewfinder_rect_sqcif
+// The size and position of the viewfinder in small video resolution
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_RECT r_cam_viewfinder_rect_sqcif_camcorder
+ { l = 80; t = 0; W = 480; H = 360; }
+
+//-----------------------------------------------------------------------------
+//
+// r_cam_viewfinder_rect_secondary
+// The size and position of the viewfinder in large video resolution
+// for secondary camera
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_RECT r_cam_viewfinder_rect_secondary_camcorder
+ { l = 80; t = 0; W = 480; H = 360; }
+
+//----------------------------------------------------
+//
+// r_cam_zoom_pane_width
+// Width of the zoom pane (not just the zoom shaft)
+//
+//----------------------------------------------------
+//
+RESOURCE INT16 r_cam_zoom_pane_width_camcorder
+ {
+ value = 19;
+ }
+
+//----------------------------------------------------
+//
+// r_cam_layout_battery_pane
+//
+//----------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_RECT r_cam_layout_battery_pane
+ {
+ l = 0;
+ t = 339;
+ W = 21; // Ignored
+ H = 21; // Ignored
+ }
+
+