camerauis/cameraapp/generic/data/resource_inc/CamVideoCaptureViewMode.ra
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 27 Apr 2010 16:19:06 +0300
branchRCL_3
changeset 20 38fb6f7eacd5
parent 12 8c55c525d5d7
permissions -rw-r--r--
Revision: 201015 Kit: 201017

/*
* 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*
*/




// ---------------------------------------------------
//
//    r_cam_video_precap_remaining_time_viewmode
//    Layout for remaining recording time in navi pane.
//
// ---------------------------------------------------
//
RESOURCE AVKON_LAYOUT_TEXT r_cam_video_precap_remaining_time_viewmode
    {
    font = EAknLogicalFontSecondaryFont; C=0; l=0; r=KNaviPaneFontRightBorderVM; B=KNaviPaneFontBaseVM; W=36; J=ELayoutAlignRight;
    }

// ---------------------------------------------------
//
//    r_cam_video_precap_remaining_time_ah_viewmode
//    Arabic/Hebrew layout for remaining recording time in navi pane.
//
// ---------------------------------------------------
//
RESOURCE AVKON_LAYOUT_TEXT r_cam_video_precap_remaining_time_ah_viewmode
    {
    font = EAknLogicalFontSecondaryFont; C=0; l=108; r=0; B=KNaviPaneFontBaseVM; W=36; J=ELayoutAlignLeft;
    font = EAknLogicalFontSecondaryFont; C=0; r=15; B=KNaviPaneFontBaseVM; W=36; J=ELayoutAlignRight;
    }


// ---------------------------------------------------
//
//    r_cam_video_cap_limited_elapsed_time_viewmode
//    Layout for elapsed time in navi pane.
//
// ---------------------------------------------------
//
RESOURCE AVKON_LAYOUT_TEXT r_cam_video_cap_limited_elapsed_time_viewmode
    {
    font = EAknLogicalFontSecondaryFont; C=35; l=0; r=460; B=KNaviPaneFontBaseVM; W=56; J=ELayoutAlignRight;
    }

// ---------------------------------------------------
//
//    r_cam_video_cap_limited_elapsed_time_ah_viewmode
//    Arabic/Hebrew layout for elapsed time in navi pane.
//
// ---------------------------------------------------
//
RESOURCE AVKON_LAYOUT_TEXT r_cam_video_cap_limited_elapsed_time_ah_viewmode
    {
    font = EAknLogicalFontSecondaryFont; C=35; l=470; r=0; B=KNaviPaneFontBaseVM; W=36; J=ELayoutAlignLeft;
    }

// ---------------------------------------------------
//
//    r_cam_video_cap_unlimited_elapsed_time_viewmode
//    Layout for elapsed time in navi pane.
//
// ---------------------------------------------------
//
RESOURCE AVKON_LAYOUT_TEXT r_cam_video_cap_unlimited_elapsed_time_viewmode
    {
    font = EAknLogicalFontSecondaryFont; C=35; l=0; r=460; B=KNaviPaneFontBaseVM; W=56; J=ELayoutAlignRight;
    }

// ---------------------------------------------------
//
//    r_cam_video_cap_unlimited_elapsed_time_ah_viewmode
//    Arabic/Hebrew layout for elapsed time in navi pane.
//
// ---------------------------------------------------
//
RESOURCE AVKON_LAYOUT_TEXT r_cam_video_cap_unlimited_elapsed_time_ah_viewmode
    {
    font = EAknLogicalFontSecondaryFont; C=35; l=150; r=0; B=KNaviPaneFontBaseVM; W=36; J=ELayoutAlignLeft;
    }
    
//----------------------------------------------------
//   
//    r_cam_post_capture_video_size_layout
//    Layout for video size in post-capture navi-counter
//
//----------------------------------------------------
//  
RESOURCE AVKON_LAYOUT_TEXT r_cam_post_capture_video_size_layout_viewmode
    {
    font = EAknLogicalFontSecondaryFont; C=0; l=0; r=KNaviPaneFontRightBorderVM; B=KNaviPaneFontBaseVM; W=36; J=ELayoutAlignRight;
    }

//----------------------------------------------------
//   
//    r_cam_post_capture_video_size_layout_ah_viewmode
//    Layout for video size in post-capture navi-counter
//
//----------------------------------------------------
//  
RESOURCE AVKON_LAYOUT_TEXT r_cam_post_capture_video_size_layout_ah_viewmode
    {
    font = EAknLogicalFontSecondaryFont; C=0; r=KNaviPaneFontRightBorderVM; B=KNaviPaneFontBaseVM; J=ELayoutAlignRight;
    }

// ---------------------------------------------------
//
//    r_cam_video_cap_limit_progress_bar_viewmode
//    Layout for progress bar during capture in navi pane.
//
// ---------------------------------------------------
//
RESOURCE AVKON_LAYOUT_RECT r_cam_video_cap_limit_progress_bar_viewmode
    {
    l=57; t=5; W=84; H=10;
    }

// ---------------------------------------------------
//
//    r_cam_video_cap_limit_progress_bar_ah_viewmode
//    Arabic/Hebrew layout for progress bar during capture in navi pane.
//
// ---------------------------------------------------
//
RESOURCE AVKON_LAYOUT_RECT r_cam_video_cap_limit_progress_bar_ah_viewmode
    {
    l=64; t=5; W=84; H=10;
    }

// ---------------------------------------------------
//
//    r_cam_video_cap_limit_memory_location_viewmode
//    Layout rect for memory location icon while recording in navi pane progress.
//
// ---------------------------------------------------
//
RESOURCE AVKON_LAYOUT_RECT r_cam_video_cap_limit_memory_location_viewmode
    {
    l = 493; t = 5; W = 9; H = 11;
    }

// ---------------------------------------------------
//
//    r_cam_video_cap_limit_memory_location_ah_viewmode
//    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_viewmode
    {
    l = 20; t = 5; W = 9; H = 11;
    }

// ---------------------------------------------------
//
//    r_cam_video_cap_unlimit_memory_location_viewmode
//    Layout rect for memory location icon while recording in navi pane progress.
//
// ---------------------------------------------------
//
RESOURCE AVKON_LAYOUT_RECT r_cam_video_cap_unlimit_memory_location_viewmode
    {
    l = 493; t = 5; W = 9; H = 11;
    }

// ---------------------------------------------------
//
//    r_cam_video_cap_unlimit_memory_location_ah_viewmode
//    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_viewmode
    {
    l = 20; t = 5; W = 9; H = 11;
    }
        
//-----------------------------------------------------------------------------
//
//    r_cam_recpause_indicator_layout_vid_main_rect_viewmode
//    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_viewmode
    {
    l=8; t=5; W=18; H=18;
    }

// ---------------------------------------------------
//
//    r_cam_video_cap_limited_remaining_time_viewmode
//    Layout for remaining images in navi pane.
//
// ---------------------------------------------------
//
RESOURCE AVKON_LAYOUT_TEXT r_cam_video_cap_limited_remaining_time_viewmode
    {
    font = EAknLogicalFontSecondaryFont; C=215; l=0; r=24; B=KNaviPaneFontBaseVM; W=36; J=ELayoutAlignRight;
    }

// ---------------------------------------------------
//
//    r_cam_video_cap_limited_remaining_time_ah_viewmode
//    Arabic/Hebrew layout for remaining images in navi pane.
//
// ---------------------------------------------------
//
RESOURCE AVKON_LAYOUT_TEXT r_cam_video_cap_limited_remaining_time_ah_viewmode
    {
    font = EAknLogicalFontSecondaryFont; C=215; l=31; B=KNaviPaneFontBaseVM; J=ELayoutAlignLeft;
    }

// ---------------------------------------------------
//
//    r_cam_video_cap_unlimited_remaining_time_viewmode
//    Layout for remaining time in navi pane when the progress bar is not visible
//
// ---------------------------------------------------
//
RESOURCE AVKON_LAYOUT_TEXT r_cam_video_cap_unlimited_remaining_time_viewmode
    {
    font = EAknLogicalFontSecondaryFont; C=215; l=0; r=24; B=KNaviPaneFontBaseVM; W=36; J=ELayoutAlignRight;
    }

// ---------------------------------------------------
//
//    r_cam_video_cap_unlimited_remaining_time_ah_viewmode
//    Arabic/Hebrew layout for remaining time in navi pane when the progress bar is not visible
//
// ---------------------------------------------------
//
RESOURCE AVKON_LAYOUT_TEXT r_cam_video_cap_unlimited_remaining_time_ah_viewmode
    {
    font = EAknLogicalFontSecondaryFont; C=215; l=31; B=KNaviPaneFontBaseVM; J=ELayoutAlignLeft;
    }

//----------------------------------------------------
//   
//    r_cam_video_quality_slider_array_viewmode
//    Legend data for the video quality slider
//
//----------------------------------------------------
//   
RESOURCE ARRAY r_cam_video_quality_slider_array_viewmode
    {
    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_cif;
//            mask_id = EMbmCameraappQgn_indi_lcam_res_cif_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_mp4;
//            mask_id = EMbmCameraappQgn_indi_lcam_vid_mp4_mask;
            },
        CAM_SLIDER_LEGEND_ITEM
            {
            item = ECamSliderLegendItemIcon;
            position = AVKON_LAYOUT_RECT { l = 2; t = 136; 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 = 132; 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 = 256; W = 22; H = 32; };
//            bitmap_id = EMbmCameraappQgn_indi_lcam_vid_3gp;
//            mask_id = EMbmCameraappQgn_indi_lcam_vid_3gp_mask;
            }
        };
    }

//----------------------------------------------------
//   
//    r_cam_video_quality_slider_array_ah_viewmode
//    Legend data for the video quality slider (Arabic/Hebrew)
//
//----------------------------------------------------
//   
RESOURCE ARRAY r_cam_video_quality_slider_array_ah_viewmode
    {
    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_cif;
//            mask_id = EMbmCameraappQgn_indi_lcam_res_cif_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_mp4;
//            mask_id = EMbmCameraappQgn_indi_lcam_vid_mp4_mask;
            },
        CAM_SLIDER_LEGEND_ITEM
            {
            item = ECamSliderLegendItemIcon;
            position = AVKON_LAYOUT_RECT { l = 2; t = 136; 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 = 132; 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 = 256; W = 22; H = 32; };
//            bitmap_id = EMbmCameraappQgn_indi_lcam_vid_3gp;
//            mask_id = EMbmCameraappQgn_indi_lcam_vid_3gp_mask;
            }
        };
    }

/*
//----------------------------------------------------
//   
//    r_cam_video_quality_slider_array_cam2_viewmode
//    Legend data for the video quality slider ( for camera 2 )
//
//----------------------------------------------------
//   
RESOURCE ARRAY r_cam_video_quality_slider_array_cam2_viewmode
    {
    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_viewmode
//    Layout for video name in post-capture navi-counter
//
//----------------------------------------------------
//  
RESOURCE AVKON_LAYOUT_TEXT r_cam_post_capture_video_name_layout_viewmode
	{
    font = EAknLogicalFontSecondaryFont; C=0; l=0; r=86; B=-100; W=36; J=ELayoutAlignLeft;
	}

//----------------------------------------------------
//   
//    r_cam_post_capture_video_name_layout_ah_viewmode
//    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_viewmode
	{
    font = ELatinPlain12; C=0; l=4; r=45; B=-100; W=59; J=ELayoutAlignLeft;
	}

//----------------------------------------------------
//   
//    r_cam_video_pre_capture_view_viewmode
//    Video pre-capture view
//
//----------------------------------------------------
//
RESOURCE AVKON_VIEW r_cam_video_pre_capture_view_viewmode
    {
    menubar = r_cam_video_pre_capture_menubar_viewmode;
    cba = r_cam_softkeys_options_exit;    
    }

// ---------------------------------------------------------
//   
//   r_cam_video_pre_capture_menubar_viewmode
//   Menubar for video pre-capture view
//
// ---------------------------------------------------------
//
RESOURCE MENU_BAR r_cam_video_pre_capture_menubar_viewmode
    {
    titles =
        {
        MENU_TITLE
            {
            menu_pane = r_cam_video_pre_capture_menu_viewmode;
            }
        };
    }

// ---------------------------------------------------------
//   
//   r_cam_video_pre_capture_menu_viewmode
//   Options menu for video pre capture view
//
// ---------------------------------------------------------
//
RESOURCE MENU_PANE r_cam_video_pre_capture_menu_viewmode
    {
    items = 
        {
        MENU_ITEM
            {
            command = ECamCmdNewPhoto;
            txt = qtn_lcam_options_photo_mode;
            },
        MENU_ITEM
            {
            command = ECamCmdSettings;
            txt = qtn_lcam_cmd_settings;
            },
        MENU_ITEM
            {
            command = EAknCmdHelp;
            txt = qtn_options_help;
            },
        MENU_ITEM
            {
            command = ECamCmdInternalExit;
            txt = qtn_options_exit;
            }
        };
    }

//----------------------------------------------------
//   
//    r_cam_video_post_capture_view
//    Video post-capture view
//
//----------------------------------------------------
//
RESOURCE AVKON_VIEW r_cam_video_post_capture_view_viewmode
    {
    menubar = r_cam_video_post_capture_menubar_viewmode;
    cba = r_cam_softkeys_back;
    }

// ---------------------------------------------------------
//   
//   r_cam_video_post_capture_menubar
//   Menubar for video post capture view
//
// ---------------------------------------------------------
//
RESOURCE MENU_BAR r_cam_video_post_capture_menubar_viewmode
    {
    titles =
        {
        MENU_TITLE
            {
            menu_pane = r_cam_video_post_capture_menu_viewmode;
            }
        };
    }

// ---------------------------------------------------------
//   
//   r_cam_video_post_capture_menu
//   Options menu for video post capture view
//
// ---------------------------------------------------------
//
RESOURCE MENU_PANE r_cam_video_post_capture_menu_viewmode
    {
    items = 
        {
        MENU_ITEM
            {
            command = ECamCmdNewVideo;
            txt = qtn_lcam_options_new_video;
            },
        MENU_ITEM
            {
            command = ECamCmdPlay;
            txt = qtn_lcam_options_play;
            },
        MENU_ITEM
            {
            command = ECamCmdDelete;
            txt = qtn_lcam_options_delete;
            },
        MENU_ITEM
            {
            command = ECamCmdSend;
            txt = qtn_options_send_via;
            },
        MENU_ITEM
            {
            command = ECamCmdSendToCallerMultimedia;
            txt = qtn_lcam_options_send_to_call;
            },
        MENU_ITEM
            {
            command = ECamCmdShareOnOvi;
            // AIW provider fills the menu item title.
            // No submenu, only 1 provider acccepted.
            txt     = "";
            },
        MENU_ITEM // SHARE_AIW
            {
            command = ECamCmdShareSettings;
            // AIW provider fills the menu item title.
            // No submenu, only 1 provider acccepted.
            txt     = "";
            },
        MENU_ITEM
            {
            command = EAknCmdHelp;
            txt = qtn_options_help;
            },
        MENU_ITEM
            {
            command = ECamCmdInternalExit;
            txt = qtn_options_exit;
            }
        };
    }

// ---------------------------------------------------------
//   
//   r_cam_video_cap_limit_recording_icon_viewmode
//   Recording icon during capture, limited feature
//
// ---------------------------------------------------------
//
RESOURCE CAM_DECORATIONS r_cam_video_cap_limit_recording_icon_viewmode
	{
	decorations = 
		{
		CAM_DECORATION
			{
			type = ECamScreenDecorationRecordingIcon;
			decoration = 
				{
				CAM_RECORDING_ICON
					{
					tl_x = 17;
					tl_y = 6;
					width = 9;
					height = 9;
					}
				};
			}
		};
	}

// ---------------------------------------------------------
//   
//   r_cam_video_cap_limit_recording_icon_ah_viewmode
//   Recording icon during capture, limited feature
//
// ---------------------------------------------------------
//
RESOURCE CAM_DECORATIONS r_cam_video_cap_limit_recording_icon_ah_viewmode
	{
	decorations = 
		{
		CAM_DECORATION
			{
			type = ECamScreenDecorationRecordingIcon;
			decoration = 
				{
				CAM_RECORDING_ICON
					{
					tl_x = 17;
					tl_y = 6;
					width = 9;
					height = 9;
					}
				};
			}
		};
	}
	
// ---------------------------------------------------------
//   
//   r_cam_video_cap_unlimit_recording_icon_viewmode
//   Recording icon during capture, unlimited feature
//
// ---------------------------------------------------------
//
RESOURCE CAM_DECORATIONS r_cam_video_cap_unlimit_recording_icon_viewmode
	{
	decorations = 
		{
		CAM_DECORATION
			{
			type = ECamScreenDecorationRecordingIcon;
			decoration = 
				{
				CAM_RECORDING_ICON
					{
					tl_x = 17;
					tl_y = 6;
					width = 9;
					height = 9;
					}
				};
			}
		};
	}

// ---------------------------------------------------------
//   
//   r_cam_video_cap_unlimit_recording_icon_ah_viewmode
//   Recording icon during capture, unlimited feature
//
// ---------------------------------------------------------
//
RESOURCE CAM_DECORATIONS r_cam_video_cap_unlimit_recording_icon_ah_viewmode
	{
	decorations = 
		{
		CAM_DECORATION
			{
			type = ECamScreenDecorationRecordingIcon;
			decoration = 
				{
				CAM_RECORDING_ICON
					{
					tl_x = 17;
					tl_y = 6;
					width = 9;
					height = 9;
					}
				};
			}
		};
	}