--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/camerauis/cameraapp/generic/common/data/CamVideoCaptureCamcorder.ra Thu Jan 07 16:18:56 2010 +0200
@@ -0,0 +1,1293 @@
+/*
+* Copyright (c) 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*
+*/
+
+
+
+
+// ---------------------------------------------------
+//
+// r_cam_video_precap_remaining_time
+// Layout for remaining recording time in navi pane.
+//
+// ---------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_TEXT r_cam_video_precap_remaining_time
+ {
+ // font = ELatinBold12; C=0; l=23; B=233; W=100; J=ELayoutAlignLeft;
+ // font = ELatinBold12; C=0; /* r=243; */l=114; B=234; W=32; J=ELayoutAlignLeft;
+ //font = ELatinPlain12; C=0; r=201; l=87; B=233; W=32; J=ELayoutAlignLeft;
+ //font = ELatinPlain12; C=0; r=227; l=60; B=233; W=32; J=ELayoutAlignLeft;
+ font = ELatinPlain12; C=0; r=232; l=51; B=233; W=32; J=ELayoutAlignRight;
+ }
+
+// ---------------------------------------------------
+//
+// r_cam_video_precap_remaining_time_ah
+// Arabic/Hebrew layout for remaining recording time in navi pane.
+//
+// ---------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_TEXT r_cam_video_precap_remaining_time_ah
+ {
+ //font = ELatinBold12; C=0; l=23; B=233; W=100; J=ELayoutAlignLeft;
+ //font = ELatinPlain12; C=0; r=201; l=87; B=233; W=32; J=ELayoutAlignLeft;
+ font = ELatinPlain12; C=0; r=216; l=72; B=233; W=32; J=ELayoutAlignLeft;
+ }
+
+
+// ---------------------------------------------------
+//
+// r_cam_video_cap_limited_elapsed_time
+// Layout for elapsed time in navi pane.
+//
+// ---------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_TEXT r_cam_video_cap_limited_elapsed_time
+ {
+ // font = ELatinBold12; C=35; l=31; r=260; B=233; W=32; J=ELayoutAlignRight;
+ font = ELatinPlain12; C=35; l=70; r=218; B=233; W=32; J=ELayoutAlignLeft;
+ }
+
+// ---------------------------------------------------
+//
+// r_cam_video_cap_limited_elapsed_time_ah
+// Arabic/Hebrew layout for elapsed time in navi pane.
+//
+// ---------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_TEXT r_cam_video_cap_limited_elapsed_time_ah
+ {
+ font = ELatinPlain12; C=35; l=163; B=233; W=56; J=ELayoutAlignLeft;
+ }
+
+// ---------------------------------------------------
+//
+// r_cam_video_cap_unlimited_elapsed_time
+// Layout for elapsed time in navi pane.
+//
+// ---------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_TEXT r_cam_video_cap_unlimited_elapsed_time
+ {
+ // font = ELatinBold12; C=35; l=31; r=260; B=233; W=32; J=ELayoutAlignRight;
+ font = ELatinPlain12; C=35; l=60; r=228; B=233; W=32; J=ELayoutAlignLeft;
+ }
+
+// ---------------------------------------------------
+//
+// r_cam_video_cap_unlimited_elapsed_time_ah
+// Arabic/Hebrew layout for elapsed time in navi pane.
+//
+// ---------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_TEXT r_cam_video_cap_unlimited_elapsed_time_ah
+ {
+ //font = ELatinPlain12; C=35; l=121; B=233; W=56; J=ELayoutAlignLeft;
+ font = ELatinPlain12; C=35; l=124; B=233; W=56; J=ELayoutAlignLeft;
+ }
+
+//----------------------------------------------------
+//
+// r_cam_post_capture_video_size_layout_camcorder
+// Layout for video size in post-capture navi-counter
+//
+//----------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_TEXT r_cam_post_capture_video_size_layout_camcorder
+ {
+ //font = EAknLogicalFontSecondaryFont; C=35; l=40; B=234; W = 100; J=ELayoutAlignLeft;
+ font = EAknLogicalFontSecondaryFont; C=0; l=30; B=234; W=0; J=ELayoutAlignLeft;
+ }
+
+//----------------------------------------------------
+//
+// r_cam_post_capture_video_size_layout_ah_camcorder
+// Layout for video size in post-capture navi-counter
+//
+//----------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_TEXT r_cam_post_capture_video_size_layout_ah_camcorder
+ {
+ font = EAknLogicalFontSecondaryFont; C=35; l=222; r=49; B=234; W = 320-49-222; J=ELayoutAlignRight;
+ }
+
+// ---------------------------------------------------
+//
+// r_cam_video_cap_limit_progress_bar
+// Layout for progress bar during capture in navi pane.
+//
+// ---------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_RECT r_cam_video_cap_limit_progress_bar
+ {
+ // l=67; t=225; W=53; H=10;
+ //r=119; t=225; W=53; H=10;
+ //l=148; t=225; W=53; H=10;
+ r=165; t=225; W=53; H=10;
+ }
+
+// ---------------------------------------------------
+//
+// r_cam_video_cap_limit_progress_bar_ah
+// Arabic/Hebrew layout for progress bar during capture in navi pane.
+//
+// ---------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_RECT r_cam_video_cap_limit_progress_bar_ah
+ {
+ //l=67; t=225; W=53; H=10;
+ l=104; t=225; W=53; H=10;
+ }
+
+// ---------------------------------------------------
+//
+// r_cam_video_cap_limit_memory_location
+// Layout rect for memory location icon while recording in navi pane progress.
+//
+// ---------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_RECT r_cam_video_cap_limit_memory_location
+ {
+ // l = 8; t = 222; W = 11; H = 16;
+ l = 192; t = 222; W = 16; H = 16;
+ }
+
+// ---------------------------------------------------
+//
+// r_cam_video_cap_limit_memory_location_ah
+// Arabic/Hebrew layout rect for memory location icon while recording in navi pane progress.
+//
+// ---------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_RECT r_cam_video_cap_limit_memory_location_ah
+ {
+ //l = 8; t = 222; W = 11; H = 16;
+ l = 56; t = 222; W = 16; H = 16;
+ }
+
+// ---------------------------------------------------
+//
+// r_cam_video_cap_unlimit_memory_location
+// Layout rect for memory location icon while recording in navi pane progress.
+//
+// ---------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_RECT r_cam_video_cap_unlimit_memory_location
+ {
+ // l = 8; t = 222; W = 11; H = 16;
+ l = 132; t = 222; W = 16; H = 16;
+ }
+
+// ---------------------------------------------------
+//
+// r_cam_video_cap_unlimit_memory_location_ah
+// Arabic/Hebrew layout rect for memory location icon while recording in navi pane progress.
+//
+// ---------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_RECT r_cam_video_cap_unlimit_memory_location_ah
+ {
+ //l = 8; t = 222; W = 11; H = 16;
+ l = 56; t = 222; W = 16; H = 16;
+ }
+//-----------------------------------------------------------------------------
+//
+// r_cam_recpause_indicator_layout_vid_main_rect_camcorder
+// Layout rect for the recording and paused indicators in the main video pane.
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_RECT r_cam_recpause_indicator_layout_vid_main_rect_camcorder
+ {
+ l=117; t=225; W=8; H=8;
+ }
+
+// ---------------------------------------------------
+//
+// r_cam_video_cap_limited_remaining_time
+// Layout for remaining images in navi pane.
+//
+// ---------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_TEXT r_cam_video_cap_limited_remaining_time
+ {
+ // font = ELatinBold12; C=215 /*0*/; l=124; B=233; W=56; J=ELayoutAlignLeft;
+ // font = ELatinPlain12; C=0 /*0*/; l=114; r=243; B=234; W=32; J=ELayoutAlignLeft;
+ //font = ELatinPlain12; C=0; l=118; /* r=243;*/ B=234; W=32; J=ELayoutAlignLeft;
+ font = ELatinPlain12; C=0; l=164; /* r=243;*/ B=234; W=32; J=ELayoutAlignLeft;
+ }
+
+// ---------------------------------------------------
+//
+// r_cam_video_cap_limited_remaining_time_ah
+// Arabic/Hebrew layout for remaining images in navi pane.
+//
+// ---------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_TEXT r_cam_video_cap_limited_remaining_time_ah
+ {
+ //font = ELatinBold12; C=35; l=28; r=260; B=233; W=32; J=ELayoutAlignRight;
+ font = ELatinPlain12; C=0; l=72; r=216; B=233; W=32; J=ELayoutAlignLeft;
+ }
+
+// ---------------------------------------------------
+//
+// r_cam_video_cap_unlimited_remaining_time
+// Layout for remaining time in navi pane when progress bar is not visible
+//
+// ---------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_TEXT r_cam_video_cap_unlimited_remaining_time
+ {
+ // font = ELatinBold12; C=215; l=67; B=233; W=56; J=ELayoutAlignLeft;
+ font = ELatinPlain12; C=0; l=100; /* r=243;*/ B=233; W=32; J=ELayoutAlignLeft;
+ }
+
+// ---------------------------------------------------
+//
+// r_cam_video_cap_unlimited_remaining_time_ah
+// Arabic/Hebrew layout for remaining time in navi pane when progrss bar is not visible.
+//
+// ---------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_TEXT r_cam_video_cap_unlimited_remaining_time_ah
+ {
+ //font = ELatinBold12; C=35; l=68; r=220; B=233; W=32; J=ELayoutAlignRight;
+ font = ELatinBold12; C=35; l=73; r=220; B=233; W=32; J=ELayoutAlignRight;
+ }
+
+//----------------------------------------------------
+//
+// r_cam_video_quality_slider_array_camcorder
+// Legend data for the video quality slider
+//
+//----------------------------------------------------
+//
+RESOURCE ARRAY r_cam_video_quality_slider_array_camcorder
+ {
+ items =
+ {
+ CAM_SLIDER_LEGEND_ITEM
+ {
+ item = ECamSliderLegendItemIcon;
+ position = AVKON_LAYOUT_RECT { l = 2; t = 6 +8; W = KResolutionVideoTVIconWidth; H = KResolutionVideoTVIconHeight; };
+// bitmap_id = EMbmCameraappQgn_indi_lcam_res_tvhigh;
+// mask_id = EMbmCameraappQgn_indi_lcam_res_tvhigh_mask;
+ },
+ CAM_SLIDER_LEGEND_ITEM
+ {
+ item = ECamSliderLegendItemIcon;
+ position = AVKON_LAYOUT_RECT { l = 24; t = 4 +8; W = KIndicatorVideoModeIconWidth; H = KIndicatorVideoModeIconHeight; };
+// bitmap_id = EMbmCameraappQgn_indi_lcam_vid_mp4;
+// mask_id = EMbmCameraappQgn_indi_lcam_vid_mp4_mask;
+ },
+ CAM_SLIDER_LEGEND_ITEM
+ {
+ item = ECamSliderLegendItemIcon;
+ position = AVKON_LAYOUT_RECT { l = 2; t = 86; W = KResolutionVideoEmailIconWidth; H = KResolutionVideoEmailIconHeight; };
+// bitmap_id = EMbmCameraappQgn_indi_lcam_res_emailhigh;
+// mask_id = EMbmCameraappQgn_indi_lcam_res_emailhigh_mask;
+ },
+ CAM_SLIDER_LEGEND_ITEM
+ {
+ item = ECamSliderLegendItemIcon;
+ position = AVKON_LAYOUT_RECT { l = 24; t = 84; W = KIndicatorVideoModeIconWidth; H = KIndicatorVideoModeIconHeight; };
+// bitmap_id = EMbmCameraappQgn_indi_lcam_vid_3gp;
+// mask_id = EMbmCameraappQgn_indi_lcam_vid_3gp_mask;
+ },
+ CAM_SLIDER_LEGEND_ITEM
+ {
+ item = ECamSliderLegendItemIcon;
+ position = AVKON_LAYOUT_RECT { l = 2; t = 174 -8; W = KResolutionVideoMMSIconWidth; H = KResolutionVideoMMSIconHeight; };
+// bitmap_id = EMbmCameraappQgn_indi_lcam_res_mms;
+// mask_id = EMbmCameraappQgn_indi_lcam_res_mms_mask;
+ },
+ CAM_SLIDER_LEGEND_ITEM
+ {
+ item = ECamSliderLegendItemIcon;
+ position = AVKON_LAYOUT_RECT { l = 24; t = 172 -8; W = KIndicatorVideoModeIconWidth; H = KIndicatorVideoModeIconHeight; };
+// bitmap_id = EMbmCameraappQgn_indi_lcam_vid_3gp;
+// mask_id = EMbmCameraappQgn_indi_lcam_vid_3gp_mask;
+ }
+ };
+ }
+
+//----------------------------------------------------
+//
+// r_cam_video_quality_slider_array_ah_camcorder
+// Legend data for the video quality slider (Arabic/Hebrew)
+//
+//----------------------------------------------------
+//
+RESOURCE ARRAY r_cam_video_quality_slider_array_ah_camcorder
+ {
+ items =
+ {
+ CAM_SLIDER_LEGEND_ITEM
+ {
+ item = ECamSliderLegendItemIcon;
+ position = AVKON_LAYOUT_RECT { r = 2; t = 6; W = KResolutionCIFIconWidth; H = KResolutionCIFIconHeight; };
+// bitmap_id = EMbmCameraappQgn_indi_lcam_res_cif;
+// mask_id = EMbmCameraappQgn_indi_lcam_res_cif_mask;
+ },
+ CAM_SLIDER_LEGEND_ITEM
+ {
+ item = ECamSliderLegendItemIcon;
+ position = AVKON_LAYOUT_RECT { r = 22; t = 4; W = KIndicatorVideoModeIconWidth; H = KIndicatorVideoModeIconHeight; };
+// bitmap_id = EMbmCameraappQgn_indi_lcam_vid_mp4;
+// mask_id = EMbmCameraappQgn_indi_lcam_vid_mp4_mask;
+ },
+ CAM_SLIDER_LEGEND_ITEM
+ {
+ item = ECamSliderLegendItemIcon;
+ position = AVKON_LAYOUT_RECT { r = 2; t = 46; W = KResolutionCIFIconWidth; H = KResolutionCIFIconHeight; };
+// bitmap_id = EMbmCameraappQgn_indi_lcam_res_cif;
+// mask_id = EMbmCameraappQgn_indi_lcam_res_cif_mask;
+ },
+ CAM_SLIDER_LEGEND_ITEM
+ {
+ item = ECamSliderLegendItemIcon;
+ position = AVKON_LAYOUT_RECT { r = 22; t = 44; W = KIndicatorVideoModeIconWidth; H = KIndicatorVideoModeIconHeight; };
+// bitmap_id = EMbmCameraappQgn_indi_lcam_vid_mp4;
+// mask_id = EMbmCameraappQgn_indi_lcam_vid_mp4_mask;
+ },
+ CAM_SLIDER_LEGEND_ITEM
+ {
+ item = ECamSliderLegendItemIcon;
+ position = AVKON_LAYOUT_RECT { r = 2; t = 86; W = KResolutionQCIFIconWidth; H = KResolutionQCIFIconHeight; };
+// bitmap_id = EMbmCameraappQgn_indi_lcam_res_qcif;
+// mask_id = EMbmCameraappQgn_indi_lcam_res_qcif_mask;
+ },
+ CAM_SLIDER_LEGEND_ITEM
+ {
+ item = ECamSliderLegendItemIcon;
+ position = AVKON_LAYOUT_RECT { r = 22; t = 84; W = KIndicatorVideoModeIconWidth; H = KIndicatorVideoModeIconHeight; };
+// bitmap_id = EMbmCameraappQgn_indi_lcam_vid_3gp;
+// mask_id = EMbmCameraappQgn_indi_lcam_vid_3gp_mask;
+ },
+ CAM_SLIDER_LEGEND_ITEM
+ {
+ item = ECamSliderLegendItemIcon;
+ position = AVKON_LAYOUT_RECT { r = 2; t = 130; W = KResolutionQCIFIconWidth; H = KResolutionQCIFIconHeight; };
+// bitmap_id = EMbmCameraappQgn_indi_lcam_res_qcif;
+// mask_id = EMbmCameraappQgn_indi_lcam_res_qcif_mask;
+ },
+ CAM_SLIDER_LEGEND_ITEM
+ {
+ item = ECamSliderLegendItemIcon;
+ position = AVKON_LAYOUT_RECT { r = 22; t = 128; W = KIndicatorVideoModeIconWidth; H = KIndicatorVideoModeIconHeight; };
+// bitmap_id = EMbmCameraappQgn_indi_lcam_vid_3gp;
+// mask_id = EMbmCameraappQgn_indi_lcam_vid_3gp_mask;
+ },
+ CAM_SLIDER_LEGEND_ITEM
+ {
+ item = ECamSliderLegendItemIcon;
+ position = AVKON_LAYOUT_RECT { r = 2; t = 174; W = KResolutionSQCIFIconWidth; H = KResolutionSQCIFIconHeight; };
+// bitmap_id = EMbmCameraappQgn_indi_lcam_res_sqcif;
+// mask_id = EMbmCameraappQgn_indi_lcam_res_sqcif_mask;
+ },
+ CAM_SLIDER_LEGEND_ITEM
+ {
+ item = ECamSliderLegendItemIcon;
+ position = AVKON_LAYOUT_RECT { r = 22; t = 172; W = KIndicatorVideoModeIconWidth; H = KIndicatorVideoModeIconHeight; };
+// bitmap_id = EMbmCameraappQgn_indi_lcam_vid_3gp;
+// mask_id = EMbmCameraappQgn_indi_lcam_vid_3gp_mask;
+ }
+ };
+ }
+
+#ifndef CAMERAAPP_PLUGIN_BUILD
+
+//****************************************************************
+// THE FOLLOWING ARE RESOURCES NEEDED BY CAMERA ONLY
+//***************************************************************
+
+/*
+//----------------------------------------------------
+//
+// r_cam_video_quality_slider_array_cam2_camcorder
+// Legend data for the video quality slider ( for camera 2 )
+//
+//----------------------------------------------------
+//
+RESOURCE ARRAY r_cam_video_quality_slider_array_cam2_camcorder
+ {
+ items =
+ {
+ CAM_SLIDER_LEGEND_ITEM
+ {
+ item = ECamSliderLegendItemIcon;
+ position = AVKON_LAYOUT_RECT { l = 2; t = 8; W = 26; H = 22; };
+ bitmap_id = EMbmCameraappQgn_indi_lcam_res_qcif;
+ mask_id = EMbmCameraappQgn_indi_lcam_res_qcif_mask;
+ },
+ CAM_SLIDER_LEGEND_ITEM
+ {
+ item = ECamSliderLegendItemIcon;
+ position = AVKON_LAYOUT_RECT { l = 32; t = 4; W = 22; H = 32; };
+ bitmap_id = EMbmCameraappQgn_indi_lcam_vid_3gp;
+ mask_id = EMbmCameraappQgn_indi_lcam_vid_3gp_mask;
+ },
+ CAM_SLIDER_LEGEND_ITEM
+ {
+ item = ECamSliderLegendItemIcon;
+ position = AVKON_LAYOUT_RECT { l = 2; t = 260; W = 26; H = 22; };
+ bitmap_id = EMbmCameraappQgn_indi_lcam_res_sqcif;
+ mask_id = EMbmCameraappQgn_indi_lcam_res_sqcif_mask;
+ },
+ CAM_SLIDER_LEGEND_ITEM
+ {
+ item = ECamSliderLegendItemIcon;
+ position = AVKON_LAYOUT_RECT { l = 32; t = 56; W = 22; H = 32; };
+ bitmap_id = EMbmCameraappQgn_indi_lcam_vid_3gp;
+ mask_id = EMbmCameraappQgn_indi_lcam_vid_3gp_mask;
+ }
+ };
+ }
+*/
+
+//----------------------------------------------------
+//
+// r_cam_post_capture_video_name_layout_camcorder
+// Layout for video name in post-capture navi-counter
+//
+//----------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_TEXT r_cam_post_capture_video_name_layout_camcorder
+ {
+ font = EAknLogicalFontSecondaryFont; C=35; l=9; B=13; W=150; J=ELayoutAlignLeft;
+ }
+
+//----------------------------------------------------
+//
+// r_cam_post_capture_video_name_layout_ah_camcorder
+// Arabic/Hebrew layout for video name in post-capture
+// navi-counter for secondary camera
+//
+//----------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_TEXT r_cam_post_capture_video_name_layout_ah_camcorder
+ {
+ font = EAknLogicalFontSecondaryFont; C=35; r=9; B=13; W=100; J=ELayoutAlignRight;
+ }
+
+//----------------------------------------------------------------------------
+//
+// r_cam_video_pre_capture_ap_items_secondary
+// Video pre-capture active palette items for secondary camera
+//
+//----------------------------------------------------------------------------
+//
+RESOURCE ARRAY r_cam_video_pre_capture_ap_items_secondary
+ {
+ /**
+ * Note: position is ignored.
+ */
+ items =
+ {
+ CAM_ACTIVE_PALETTE_ITEM
+ {
+ item_id = ECamSettingItemImageModeSelect;
+ cmd_id = ECamCmdNewPhoto;
+ position = ECamAPSlotVideoPreCaptureMode;
+ type = ECamActivePaletteItemTypePreCaptureNonSetting;
+ },
+ CAM_ACTIVE_PALETTE_ITEM
+ {
+ item_id = ECamSettingItemGotoPhotos;
+ cmd_id = ECamCmdPhotos;
+ position = ECamAPSlotPhotoPreCaptureGotoPhotos;
+ type = ECamActivePaletteItemTypeCommand;
+ },
+ CAM_ACTIVE_PALETTE_ITEM
+ {
+ item_id = ECamSettingItemSwitchCamera;
+ cmd_id = ECamCmdSwitchCamera;
+ position = ECamAPSlotVideoPreCaptureMode;
+ type = ECamActivePaletteItemTypePreCaptureNonSetting;
+ }
+ };
+ }
+
+//----------------------------------------------------------------------------
+// r_cam_video_pre_capture_ap_items_advanced
+//
+// Video pre-capture active palette items in advanced user mode.
+//
+//----------------------------------------------------------------------------
+//
+RESOURCE ARRAY r_cam_video_pre_capture_ap_items_advanced
+ {
+ /**
+ * Note: position is ignored.
+ */
+ items =
+ {
+ CAM_ACTIVE_PALETTE_ITEM
+ {
+ item_id = ECamSettingItemImageModeSelect;
+ cmd_id = ECamCmdNewPhoto;
+ position = ECamAPSlotVideoPreCaptureMode;
+ type = ECamActivePaletteItemTypePreCaptureNonSetting;
+ },
+ CAM_ACTIVE_PALETTE_ITEM
+ {
+ item_id = ECamSettingItemDynamicVideoScene;
+ cmd_id = ECamCmdCaptureSetupSceneVideo;
+ position = ECamAPSlotVideoPreCaptureScene;
+ type = ECamActivePaletteItemTypePreCapture;
+ },
+ CAM_ACTIVE_PALETTE_ITEM
+ {
+ item_id = ECamSettingItemDynamicVideoFlash;
+ cmd_id = ECamCmdToggleVideoFlash;
+ position = ECamAPSlotVideoPreCaptureVideoLight;
+ type = ECamActivePaletteItemTypePreCaptureNonSetting;
+ },
+ CAM_ACTIVE_PALETTE_ITEM
+ {
+ item_id = ECamSettingItemDynamicVideoWhiteBalance;
+ cmd_id = ECamCmdCaptureSetupWhiteBalanceVideo;
+ position = ECamAPSlotVideoPreCaptureWB;
+ type = ECamActivePaletteItemTypePreCapture;
+ },
+ CAM_ACTIVE_PALETTE_ITEM
+ {
+ item_id = ECamSettingItemDynamicVideoColourFilter;
+ cmd_id = ECamCmdCaptureSetupColourFilterVideo;
+ position = ECamAPSlotVideoPreCaptureColour;
+ type = ECamActivePaletteItemTypePreCapture;
+ },
+ CAM_ACTIVE_PALETTE_ITEM
+ {
+ item_id = ECamSettingItemGotoPhotos;
+ cmd_id = ECamCmdPhotos;
+ position = ECamAPSlotVideoPreCaptureGotoPhotos;
+ type = ECamActivePaletteItemTypeCommand;
+ }
+ };
+ }
+
+//----------------------------------------------------------------------------
+// r_cam_video_pre_capture_ap_items_novice
+//
+// Video pre-capture active palette items in novice user mode.
+// (Less items than in advanced user mode.)
+//----------------------------------------------------------------------------
+//
+RESOURCE ARRAY r_cam_video_pre_capture_ap_items_novice
+ {
+ /**
+ * Note: position is ignored.
+ */
+ items =
+ {
+ CAM_ACTIVE_PALETTE_ITEM
+ {
+ item_id = ECamSettingItemImageModeSelect;
+ cmd_id = ECamCmdNewPhoto;
+ position = ECamAPSlotVideoPreCaptureMode;
+ type = ECamActivePaletteItemTypePreCaptureNonSetting;
+ },
+ CAM_ACTIVE_PALETTE_ITEM
+ {
+ item_id = ECamSettingItemDynamicVideoScene;
+ cmd_id = ECamCmdCaptureSetupSceneVideo;
+ position = ECamAPSlotVideoPreCaptureScene;
+ type = ECamActivePaletteItemTypePreCapture;
+ },
+ CAM_ACTIVE_PALETTE_ITEM
+ {
+ item_id = ECamSettingItemDynamicVideoColourFilter;
+ cmd_id = ECamCmdCaptureSetupColourFilterVideo;
+ position = ECamAPSlotVideoPreCaptureColour;
+ type = ECamActivePaletteItemTypePreCapture;
+ }
+
+ };
+ }
+
+
+//----------------------------------------------------------------------------
+// r_cam_emb_video_pre_capture_ap_items_advanced
+//
+// Embedded video pre-capture active palette items in advanced user mode.
+//
+//----------------------------------------------------------------------------
+//
+RESOURCE ARRAY r_cam_emb_video_pre_capture_ap_items_advanced
+ {
+ /**
+ * Note: position is ignored.
+ */
+ items =
+ {
+ CAM_ACTIVE_PALETTE_ITEM
+ {
+ item_id = ECamSettingItemImageModeSelect;
+ cmd_id = ECamCmdNewPhoto;
+ position = ECamAPSlotVideoPreCaptureMode;
+ type = ECamActivePaletteItemTypePreCaptureNonSetting;
+ },
+ CAM_ACTIVE_PALETTE_ITEM
+ {
+ item_id = ECamSettingItemDynamicVideoScene;
+ cmd_id = ECamCmdCaptureSetupSceneVideo;
+ position = ECamAPSlotVideoPreCaptureScene;
+ type = ECamActivePaletteItemTypePreCapture;
+ },
+ CAM_ACTIVE_PALETTE_ITEM
+ {
+ item_id = ECamSettingItemDynamicVideoFlash;
+ cmd_id = ECamCmdToggleVideoFlash;
+ position = ECamAPSlotVideoPreCaptureVideoLight;
+ type = ECamActivePaletteItemTypePreCaptureNonSetting;
+ },
+ CAM_ACTIVE_PALETTE_ITEM
+ {
+ item_id = ECamSettingItemDynamicVideoWhiteBalance;
+ cmd_id = ECamCmdCaptureSetupWhiteBalanceVideo;
+ position = ECamAPSlotVideoPreCaptureWB;
+ type = ECamActivePaletteItemTypePreCapture;
+ },
+ CAM_ACTIVE_PALETTE_ITEM
+ {
+ item_id = ECamSettingItemDynamicVideoColourFilter;
+ cmd_id = ECamCmdCaptureSetupColourFilterVideo;
+ position = ECamAPSlotVideoPreCaptureColour;
+ type = ECamActivePaletteItemTypePreCapture;
+ }
+ };
+ }
+
+
+//----------------------------------------------------------------------------
+// r_cam_emb_video_pre_capture_ap_items_novice
+//
+// Embedded video pre-capture active palette items in novice user mode.
+// (Less items than in advanced mode.)
+//----------------------------------------------------------------------------
+//
+RESOURCE ARRAY r_cam_emb_video_pre_capture_ap_items_novice
+ {
+ /**
+ * Note: position is ignored.
+ */
+ items =
+ {
+ CAM_ACTIVE_PALETTE_ITEM
+ {
+ item_id = ECamSettingItemImageModeSelect;
+ cmd_id = ECamCmdNewPhoto;
+ position = ECamAPSlotVideoPreCaptureMode;
+ type = ECamActivePaletteItemTypePreCaptureNonSetting;
+ },
+ CAM_ACTIVE_PALETTE_ITEM
+ {
+ item_id = ECamSettingItemDynamicVideoScene;
+ cmd_id = ECamCmdCaptureSetupSceneVideo;
+ position = ECamAPSlotVideoPreCaptureScene;
+ type = ECamActivePaletteItemTypePreCapture;
+ },
+ CAM_ACTIVE_PALETTE_ITEM
+ {
+ item_id = ECamSettingItemDynamicVideoColourFilter;
+ cmd_id = ECamCmdCaptureSetupColourFilterVideo;
+ position = ECamAPSlotVideoPreCaptureColour;
+ type = ECamActivePaletteItemTypePreCapture;
+ }
+ };
+ }
+//----------------------------------------------------
+//
+// r_cam_video_post_capture_ap_items_secondary
+// Video post-capture active palette items
+// for secondary camera.
+//
+//----------------------------------------------------
+//
+RESOURCE ARRAY r_cam_video_post_capture_ap_items_secondary
+ {
+ items =
+ {
+ CAM_ACTIVE_PALETTE_ITEM
+ {
+ cmd_id = ECamCmdPlay;
+ position = 0;
+ type = ECamActivePaletteItemTypePostCapture;
+ },
+ CAM_ACTIVE_PALETTE_ITEM
+ {
+ cmd_id = ECamCmdSend;
+ position = 1;
+ type = ECamActivePaletteItemTypePostCapture;
+ },
+ CAM_ACTIVE_PALETTE_ITEM
+ {
+ cmd_id = ECamCmdOneClickUpload;
+ position = 2;
+ type = ECamActivePaletteItemTypePostCapture;
+ },
+ CAM_ACTIVE_PALETTE_ITEM
+ {
+ cmd_id = ECamCmdSendToCallerMultimedia;
+ position = 3;
+ type = ECamActivePaletteItemTypePostCapture;
+ },
+ CAM_ACTIVE_PALETTE_ITEM
+ {
+ cmd_id = ECamCmdPhotos;
+ position = 6;
+ type = ECamActivePaletteItemTypePostCapture;
+ },
+ CAM_ACTIVE_PALETTE_ITEM
+ {
+ cmd_id = ECamCmdDelete;
+ position = 4;
+ type = ECamActivePaletteItemTypePostCapture;
+ }
+ };
+ }
+
+//----------------------------------------------------
+//
+// r_cam_video_post_capture_ap_items
+// Video post-capture active palette items
+//
+//----------------------------------------------------
+//
+RESOURCE ARRAY r_cam_video_post_capture_ap_items
+ {
+ items =
+ {
+ CAM_ACTIVE_PALETTE_ITEM
+ {
+ cmd_id = ECamCmdPlay;
+ position = 0;
+ type = ECamActivePaletteItemTypePostCapture;
+ },
+ CAM_ACTIVE_PALETTE_ITEM
+ {
+ cmd_id = ECamCmdSend;
+ position = 1;
+ type = ECamActivePaletteItemTypePostCapture;
+ },
+ CAM_ACTIVE_PALETTE_ITEM
+ {
+ cmd_id = ECamCmdOneClickUpload;
+ position = 2;
+ type = ECamActivePaletteItemTypePostCapture;
+ },
+ CAM_ACTIVE_PALETTE_ITEM
+ {
+ cmd_id = ECamCmdSendToCallerMultimedia;
+ position = 3;
+ type = ECamActivePaletteItemTypePostCapture;
+ },
+ CAM_ACTIVE_PALETTE_ITEM
+ {
+ cmd_id = ECamCmdAddToAlbum;
+ position = 3;
+ type = ECamActivePaletteItemTypePostCapture;
+ },
+ CAM_ACTIVE_PALETTE_ITEM
+ {
+ cmd_id = ECamCmdProperties;// cmd for add detail
+ position = 4;
+ type = ECamActivePaletteItemTypePostCapture;
+ },
+ CAM_ACTIVE_PALETTE_ITEM
+ {
+ cmd_id = ECamCmdPhotos;
+ position = 6;
+ type = ECamActivePaletteItemTypePostCapture;
+ },
+ CAM_ACTIVE_PALETTE_ITEM
+ {
+ cmd_id = ECamCmdDelete;
+ position = 7;
+ type = ECamActivePaletteItemTypePostCapture;
+ }
+ };
+ }
+
+//----------------------------------------------------
+//
+// r_cam_video_pre_capture_view_camcorder
+// Video pre-capture view
+//
+//----------------------------------------------------
+//
+RESOURCE AVKON_VIEW r_cam_video_pre_capture_view_camcorder
+ {
+ menubar = r_cam_video_pre_capture_menubar_camcorder;
+ cba = r_cam_softkeys_options_exit;
+ //toolbar = r_cam_video_precapture_toolbar;
+ }
+
+// ---------------------------------------------------------
+//
+// r_cam_video_pre_capture_menubar_camcorder
+// Menubar for video pre-capture view
+//
+// ---------------------------------------------------------
+//
+RESOURCE MENU_BAR r_cam_video_pre_capture_menubar_camcorder
+ {
+ titles =
+ {
+ MENU_TITLE
+ {
+ menu_pane = r_cam_video_pre_capture_menu_camcorder;
+ }
+ };
+ }
+
+// ---------------------------------------------------------
+//
+// r_cam_video_pre_capture_menu_camcorder
+// Options menu for video pre capture view
+//
+// ---------------------------------------------------------
+//
+RESOURCE MENU_PANE r_cam_video_pre_capture_menu_camcorder
+ {
+ items =
+ {
+ MENU_ITEM
+ {
+ command = ECamCmdSwitchCamera;
+ txt = qtn_lcam_options_cam2;
+ },
+ MENU_ITEM
+ {
+ command = ECamCmdSettings;
+ txt = qtn_lcam_cmd_settings;
+ },
+ MENU_ITEM
+ {
+ command = ECamCmdNewPhoto;
+ txt = qtn_lcam_options_photo_mode;
+ },
+ MENU_ITEM
+ {
+ command = ECamCmdPhotos;
+ txt = qtn_lcam_options_go_to_photos;
+ },
+ MENU_ITEM
+ {
+ command = EAknCmdHelp;
+ txt = qtn_options_help;
+ },
+ MENU_ITEM
+ {
+ command = ECamCmdInternalExit;
+ txt = qtn_options_exit;
+ }
+ };
+ }
+
+//----------------------------------------------------
+//
+// r_cam_video_post_capture_view_camcorder
+// Video post-capture view
+//
+//----------------------------------------------------
+//
+RESOURCE AVKON_VIEW r_cam_video_post_capture_view_camcorder
+ {
+ menubar = r_cam_video_post_capture_menubar_camcorder;
+ //cba = R_AVKON_SOFTKEYS_OPTIONS_BACK;
+ cba = r_cam_softkeys_options_back_toggletoolbar;
+ toolbar = r_cam_video_postcapture_toolbar;
+ }
+
+// ---------------------------------------------------------
+//
+// r_cam_video_post_capture_menubar_camcorder
+// Menubar for video post capture view in camcorder mode
+//
+// ---------------------------------------------------------
+//
+RESOURCE MENU_BAR r_cam_video_post_capture_menubar_camcorder
+ {
+ titles =
+ {
+ MENU_TITLE
+ {
+ menu_pane = r_cam_video_post_capture_menu_camcorder;
+ }
+ };
+ }
+
+// ---------------------------------------------------------
+//
+// r_cam_video_post_capture_menu_camcorder
+// Options menu for video post capture view in camcorder mode
+//
+// ---------------------------------------------------------
+//
+RESOURCE MENU_PANE r_cam_video_post_capture_menu_camcorder
+ {
+ items =
+ {
+ MENU_ITEM
+ {
+ command = ECamCmdSend;
+ txt = qtn_options_send_via;
+ },
+ MENU_ITEM
+ {
+ command = ECamCmdSendToCallerMultimedia;
+ txt = qtn_lcam_options_send_to_call;
+ },
+ MENU_ITEM
+ {
+ command = KAiwCmdAssign;
+ txt = qtn_lcam_use_video_postcapture_menu;
+ cascade = AIW_INTELLIGENT_CASCADE_ID;
+ },
+ MENU_ITEM
+ {
+ command = ECamCmdShareOnOvi;
+ // AIW provider fills the menu item title.
+ // No submenu, only 1 provider acccepted.
+ txt = "";
+ },
+ MENU_ITEM
+ {
+ command = ECamCmdRenameVideo;
+ txt = qtn_lcam_cmd_rename_video;
+ },
+ MENU_ITEM
+ {
+ command = ECamCmdAddToAlbum;
+ txt = qtn_lcam_options_add_to_album;
+ },
+ MENU_ITEM
+ {
+ command = ECamCmdProperties;
+ txt = qtn_lcam_options_tags;
+ },
+ MENU_ITEM
+ {
+ command = ECamCmdPhotos;
+ txt = qtn_lcam_options_go_to_photos;
+ },
+ MENU_ITEM
+ {
+ command = EAknCmdHelp;
+ txt = qtn_options_help;
+ },
+ MENU_ITEM
+ {
+ command = ECamCmdInternalExit;
+ txt = qtn_options_exit;
+ }
+ };
+ }
+
+// ---------------------------------------------------------
+//
+// r_cam_video_precap_navicounter_decorations_camcorder
+// Decorations for the navicounter in video precap
+//
+// ---------------------------------------------------------
+//
+RESOURCE CAM_DECORATIONS r_cam_video_precap_navicounter_decorations_camcorder
+ {
+ decorations =
+ {
+ CAM_DECORATION
+ {
+ type = ECamScreenDecorationBlendedBackground;
+ decoration =
+ {
+ CAM_BLENDED_BACKGROUND
+ {
+ // Background height increased by one pixel
+ // Background extended under battery icon
+ tl_x = 0; // 20; // 0
+ tl_y = 219; // 220;
+ width = 107; //124; // 104;
+ }
+ };
+ }
+ };
+ }
+
+// ---------------------------------------------------------
+//
+// r_cam_video_cap_limit_recording_icon
+// Blended background and recording icon during capture, limited feature
+//
+// ---------------------------------------------------------
+//
+RESOURCE CAM_DECORATIONS r_cam_video_cap_limit_recording_icon
+ {
+ decorations =
+ {
+ CAM_DECORATION
+ {
+ type = ECamScreenDecorationBlendedBackground;
+ decoration =
+ {
+ CAM_BLENDED_BACKGROUND
+ {
+ // Background height increased by one pixel
+ // Background extended under battery icon
+ tl_x = 0; // 20; // 0
+ tl_y = 219; // 220;
+ width = 213; // 193;
+ }
+ };
+ },
+ CAM_DECORATION
+ {
+ type = ECamScreenDecorationRecordingIcon;
+ decoration =
+ {
+ CAM_RECORDING_ICON
+ {
+ tl_x = 320 - 264;//320 - 214; // 12+11;
+ tl_y = 219+6; // 220+6;
+ width = 9;
+ height = 9;
+ }
+ };
+ }
+ };
+ }
+
+// ---------------------------------------------------------
+//
+// r_cam_video_cap_limit_recording_icon_ah
+// Blended background and recording icon during capture, limited feature
+//
+// ---------------------------------------------------------
+//
+RESOURCE CAM_DECORATIONS r_cam_video_cap_limit_recording_icon_ah
+ {
+ decorations =
+ {
+ CAM_DECORATION
+ {
+ type = ECamScreenDecorationBlendedBackground;
+ decoration =
+ {
+ CAM_BLENDED_BACKGROUND
+ {
+ // Background height increased by one pixel
+ // Background extended under battery icon
+ tl_x = 0; // 20; // 0
+ tl_y = 219; // 220;
+ width = 213; // 193;
+ }
+ };
+ },
+ CAM_DECORATION
+ {
+ type = ECamScreenDecorationRecordingIcon;
+ decoration =
+ {
+ CAM_RECORDING_ICON
+ {
+ tl_x = 320 - 130;//320 - 214; // 12+11;
+ tl_y = 219+6; // 220+6;
+ width = 9;
+ height = 9;
+ }
+ };
+ }
+ };
+ }
+
+// ---------------------------------------------------------
+//
+// r_cam_video_cap_unlimit_recording_icon
+// Blended background and recording icon during capture, unlimited feature
+//
+// ---------------------------------------------------------
+//
+RESOURCE CAM_DECORATIONS r_cam_video_cap_unlimit_recording_icon
+ {
+ decorations =
+ {
+ CAM_DECORATION
+ {
+ type = ECamScreenDecorationBlendedBackground;
+ decoration =
+ {
+ CAM_BLENDED_BACKGROUND
+ {
+ // Background height increased by one pixel
+ // Background extended under battery icon
+ tl_x = 0; // 20; // 0
+ tl_y = 219; // 220;
+ width = 156; // 136;
+ }
+ };
+ },
+ CAM_DECORATION
+ {
+ type = ECamScreenDecorationRecordingIcon;
+ decoration =
+ {
+ CAM_RECORDING_ICON
+ {
+ tl_x = 320 - 233;//320 - 267; // 12+11;
+ tl_y = 219+6; // 220+6;
+ width = 9;
+ height = 9;
+ }
+ };
+ }
+ };
+ }
+
+// ---------------------------------------------------------
+//
+// r_cam_video_cap_unlimit_recording_icon_ah
+// Blended background and recording icon during capture, unlimited feature
+//
+// ---------------------------------------------------------
+//
+RESOURCE CAM_DECORATIONS r_cam_video_cap_unlimit_recording_icon_ah
+ {
+ decorations =
+ {
+ CAM_DECORATION
+ {
+ type = ECamScreenDecorationBlendedBackground;
+ decoration =
+ {
+ CAM_BLENDED_BACKGROUND
+ {
+ // Background height increased by one pixel
+ // Background extended under battery icon
+ tl_x = 0; // 20; // 0
+ tl_y = 219; // 220;
+ width = 156; // 136;
+ }
+ };
+ },
+ CAM_DECORATION
+ {
+ type = ECamScreenDecorationRecordingIcon;
+ decoration =
+ {
+ CAM_RECORDING_ICON
+ {
+ tl_x = 320 - 212;//320 - 267; // 12+11;
+ tl_y = 219+6; // 220+6;
+ width = 9;
+ height = 9;
+ }
+ };
+ }
+ };
+ }
+
+// ---------------------------------------------------------
+//
+// r_cam_video_postcap_navicounter_decorations_camcorder
+// Decorations for the progress bar in video precap
+//
+// ---------------------------------------------------------
+//
+RESOURCE CAM_DECORATIONS r_cam_video_postcap_navicounter_decorations_camcorder
+ {
+ decorations =
+ {
+ CAM_DECORATION
+ {
+ type = ECamScreenDecorationBlendedBackground;
+ decoration =
+ {
+ CAM_BLENDED_BACKGROUND
+ {
+ tl_x = 0;
+ tl_y = 0;
+ width = 0; //167; removed empty pane
+ }
+ };
+ },
+ CAM_DECORATION
+ {
+ type = ECamScreenDecorationBlendedBackground;
+ decoration =
+ {
+ CAM_BLENDED_BACKGROUND
+ {
+ tl_x = 0;
+ tl_y = 219; // 220;
+ width = 18;
+ }
+ };
+ },
+ CAM_DECORATION
+ {
+ type = ECamScreenDecorationBlendedBackground;
+ decoration =
+ {
+ CAM_BLENDED_BACKGROUND
+ {
+ // Battery icon included in the blended area.
+ tl_x = 0; // 20;
+ tl_y = 219; // 220;
+ width = 76; // 56;
+ }
+ };
+ }
+ };
+ }
+
+//----------------------------------------------------
+//
+// r_cam_video_filetype_pane_camcorder
+// Video file type indicator - uses side pane resource
+// Allows specifying position and size for all
+// video file type indicators
+//
+//----------------------------------------------------
+//
+RESOURCE CAMERA_SIDEPANE r_cam_video_filetype_pane_camcorder
+ {
+ indicators =
+ {
+ CAMERA_INDICATOR
+ {
+ indicator_id = ECamIndicatorVideoFileType;
+ coords =
+ {
+ CAMERA_INDICATOR_COORDS
+ { tl_x = 0;
+ tl_y = 0;
+ br_x = 0;
+ br_y = 0; }
+ };
+ bitmaps =
+ {
+ CAMERA_BITMAP { bitmap_id = EMbmCameraappQgn_prop_cam4_codec_mp4; },
+ CAMERA_BITMAP { bitmap_id = EMbmCameraappQgn_prop_cam4_codec_mp4_mask; },
+ CAMERA_BITMAP { bitmap_id = EMbmCameraappQgn_prop_cam4_codec_3gp; },
+ CAMERA_BITMAP { bitmap_id = EMbmCameraappQgn_prop_cam4_codec_3gp_mask; }
+ };
+ }
+ };
+ }
+
+#endif //CAMERAAPP_PLUGIN_BUILD