camerauis/cameraapp/generic/data/resource_inc/CamStillCaptureViewMode.ra
changeset 0 1ddebce53859
child 10 8c55c525d5d7
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/camerauis/cameraapp/generic/data/resource_inc/CamStillCaptureViewMode.ra	Thu Jan 07 16:18:56 2010 +0200
@@ -0,0 +1,318 @@
+/*
+* 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_img_precap_imgcounter_viewmode
+//    Layout for remaining images in navi pane.
+//
+// ---------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_TEXT r_cam_img_precap_imgcounter_viewmode
+    {
+    font = EAknLogicalFontSecondaryFont; C=0; l=0; r=25; B=KNaviPaneFontBaseVM; W=1; J=ELayoutAlignRight;
+    }
+
+// ---------------------------------------------------
+//
+//    r_cam_img_precap_imgcounter_ah_viewmode
+//    Arabic/Hebrew layout for remaining images in navi pane.
+//
+// ---------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_TEXT r_cam_img_precap_imgcounter_ah_viewmode
+    {
+    font = EAknLogicalFontSecondaryFont; C=0; l=0; r=10; B=KNaviPaneFontBaseVM; W=1; J=ELayoutAlignRight;
+    }
+
+//----------------------------------------------------
+//   
+//    r_cam_post_capture_image_size_layout_viewmode
+//    Layout for image size in post-capture navi-counter
+//
+//----------------------------------------------------
+//  
+RESOURCE AVKON_LAYOUT_TEXT r_cam_post_capture_image_size_layout_viewmode
+    {
+    font = EAknLogicalFontSecondaryFont; C=0; l=0; r=25; B=KNaviPaneFontBaseVM; W=1; J=ELayoutAlignRight;
+    }
+
+//----------------------------------------------------
+//   
+//    r_cam_post_capture_image_size_layout_ah_viewmode
+//    Layout for image size in post-capture navi-counter
+//
+//----------------------------------------------------
+//  
+RESOURCE AVKON_LAYOUT_TEXT r_cam_post_capture_image_size_layout_ah_viewmode
+    {
+    font = EAknLogicalFontSecondaryFont; C=0; r=15; B=KNaviPaneFontBaseVM; J=ELayoutAlignRight;
+    }
+
+//-----------------------------------------------------------------------------
+//
+//    r_cam_snapshot_rect_still_viewmode
+//    The size and position of the snapshot in still post capture
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_RECT r_cam_snapshot_rect_still_viewmode
+    { l = 40; t = 6; W = 240; H = 180; }
+
+//-----------------------------------------------------------------------------
+//
+//    r_cam_snapshot_rect_cif_viewmode
+//    The size and position of the snapshot in video post capture view
+//    for Large (CIF) resolutions
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_RECT r_cam_snapshot_rect_cif_viewmode
+    { l = 40; t = 6; W = 240; H = 180; }
+    
+//-----------------------------------------------------------------------------
+//
+//    r_cam_snapshot_rect_near_cif_viewmode
+//    The size and position of the snapshot in video post capture view
+//    for Large (CIF) resolutions in secondary camera
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_RECT r_cam_snapshot_rect_near_cif_viewmode
+    { l = 72; t = 24; W = 176; H = 144; }    
+
+//-----------------------------------------------------------------------------
+//
+//    r_cam_snapshot_rect_sqcif_viewmode
+//    The size and position of the snapshot in video post capture view
+//    for Small resolution
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_RECT r_cam_snapshot_rect_sqcif_viewmode
+//    { l = 80; t = 48; W = 256; H = 192; }
+    { l = 96; t = 48; W = 128; H = 96; }
+
+//-----------------------------------------------------------------------------
+//
+//    r_cam_still_displayed_rect_secondary_viewmode
+//    The size and position of the viewfinder frame or snapshot in still capture 
+//    (secondary camera)
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_RECT r_cam_still_displayed_rect_secondary_viewmode
+    { l = 40; t = 6; W = 240; H = 180; }
+    
+//-----------------------------------------------------------------------------
+//
+//    r_cam_still_requested_rect_secondary_viewmode
+//    The size of the viewfinder and snapshot image requested from the engine in 
+//    still capture (secondary camera). This is different from the displayed size
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE AVKON_LAYOUT_RECT r_cam_still_requested_rect_secondary_viewmode
+    { l = 0; t = 0; W = 352; H = 288; }      
+
+
+//----------------------------------------------------
+//   
+//    r_cam_post_capture_image_name_layout_viewmode
+//    Layout for image name in post-capture navi-counter
+//
+//----------------------------------------------------
+//  
+RESOURCE AVKON_LAYOUT_TEXT r_cam_post_capture_image_name_layout_viewmode
+	{
+    font = EAknLogicalFontSecondaryFont; C=0; l=0; W=0; B=-100;  J=ELayoutAlignLeft;
+	}
+
+//----------------------------------------------------
+//   
+//    r_cam_post_capture_image_name_layout_ah_viewmode
+//    Arabic/Hebrew layout for video name in post-capture
+//    navi-counter
+//
+//----------------------------------------------------
+//  
+RESOURCE AVKON_LAYOUT_TEXT r_cam_post_capture_image_name_layout_ah_viewmode
+	{
+    font = ELatinPlain12; C=0; l=4; r=45; B=-100; W=59; J=ELayoutAlignLeft;
+	}
+
+//----------------------------------------------------
+//   
+//    r_cam_still_post_capture_view_viewmode
+//    Still post-capture view
+//
+//----------------------------------------------------
+//
+RESOURCE AVKON_VIEW r_cam_still_post_capture_view_viewmode
+    {
+    menubar = r_cam_still_post_capture_menubar_viewmode;
+    cba = r_cam_softkeys_back;
+    }
+
+// ---------------------------------------------------------
+//   
+//   r_cam_still_post_capture_menubar_viewmode
+//   Menubar for still image post capture view
+//
+// ---------------------------------------------------------
+//
+RESOURCE MENU_BAR r_cam_still_post_capture_menubar_viewmode
+    {
+    titles =
+        {
+        MENU_TITLE
+            {
+            menu_pane = r_cam_still_post_capture_menu_viewmode;
+            }
+        };
+    }
+
+// ---------------------------------------------------------
+//   
+//   r_cam_still_post_capture_menu_viewmode
+//   Options menu for still image post capture view
+//
+// ---------------------------------------------------------
+//
+RESOURCE MENU_PANE r_cam_still_post_capture_menu_viewmode
+    {
+    items = 
+        {
+        MENU_ITEM
+            {
+            command = ECamCmdNewPhoto;
+            txt = qtn_lcam_options_new_photo;
+            },
+        MENU_ITEM
+            {
+            command = ECamCmdDelete;
+            txt = qtn_lcam_options_delete;
+            }, 
+        MENU_ITEM
+            {
+            command = ECamCmdPrint; 
+            txt = ""; 
+            cascade = AIW_INTELLIGENT_CASCADE_ID;
+            },
+        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_image_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 = EAknCmdHelp;
+            txt = qtn_options_help;
+            },
+        MENU_ITEM
+            {
+            command = ECamCmdInternalExit;
+            txt = qtn_options_exit;
+            }
+        };
+    }
+
+//----------------------------------------------------
+//   
+//    r_cam_still_pre_capture_view_viewmode
+//    Still pre-capture view
+//
+//----------------------------------------------------
+//
+RESOURCE AVKON_VIEW r_cam_still_pre_capture_view_viewmode
+    {
+    menubar = r_cam_still_pre_capture_menubar_viewmode;
+    cba = r_cam_softkeys_options_exit;    
+    }
+
+// ---------------------------------------------------------
+//   
+//   r_cam_still_pre_capture_menubar_viewmode
+//   Menubar for still image pre-capture view
+//
+// ---------------------------------------------------------
+//
+RESOURCE MENU_BAR r_cam_still_pre_capture_menubar_viewmode
+    {
+    titles =
+        {
+        MENU_TITLE
+            {
+            menu_pane = r_cam_still_pre_capture_menu_viewmode;
+            }
+        };
+    }
+
+// ---------------------------------------------------------
+//   
+//   r_cam_still_pre_capture_menu_viewmode
+//   Options menu for still image pre capture view
+//
+// ---------------------------------------------------------
+//
+RESOURCE MENU_PANE r_cam_still_pre_capture_menu_viewmode
+    {
+    items = 
+        {
+        MENU_ITEM
+            {
+            command = ECamCmdNewVideo;
+            txt = qtn_lcam_options_video_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;
+            }
+        };
+    }
+