camerauis/cameraapp/generic/data/resource_inc/CamVideoCapture.ra
branchRCL_3
changeset 24 bac7acad7cb3
equal deleted inserted replaced
23:61bc0f252b2b 24:bac7acad7cb3
       
     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 definitions for the Camera Application*
       
    15 */
       
    16 
       
    17 
       
    18 
       
    19 
       
    20 //----------------------------------------------------
       
    21 //   
       
    22 //    r_cam_saving_video_wait_note
       
    23 //    Wait note shown whilst saving video after capturing
       
    24 //
       
    25 //----------------------------------------------------
       
    26 //
       
    27 RESOURCE DIALOG r_cam_saving_video_wait_note
       
    28     {
       
    29     flags = EAknWaitNoteFlags | EEikDialogFlagNoBackgroundFade;
       
    30     buttons = R_AVKON_SOFTKEYS_EMPTY;
       
    31     items=
       
    32         {
       
    33         DLG_LINE
       
    34             {
       
    35             type = EAknCtNote;
       
    36             id = ESavingVideoWaitNote;
       
    37             control = AVKON_NOTE 
       
    38                 {
       
    39                 layout = EWaitLayout;
       
    40                 animation = R_QGN_GRAF_WAIT_BAR_ANIM;
       
    41                 singular_label = qtn_lcam_note_processing_video;
       
    42                 };
       
    43             }
       
    44         };
       
    45     }
       
    46 
       
    47 //----------------------------------------------------
       
    48 //   
       
    49 //    r_cam_video_dynamic_settings_data
       
    50 //    Default values for the video dynamic setting items
       
    51 //
       
    52 //----------------------------------------------------
       
    53 //
       
    54 RESOURCE CAM_SETTING_ITEMS_DATA r_cam_video_dynamic_settings_data
       
    55     {
       
    56     settings_items =
       
    57         {
       
    58         CAM_NON_STATIC_SETTING_ITEM_DATA
       
    59             {          
       
    60             id = ECamSettingItemDynamicVideoWhiteBalance;
       
    61             default = ECamWhiteBalanceAWB;
       
    62             },
       
    63    		CAM_NON_STATIC_SETTING_ITEM_DATA
       
    64             {          
       
    65             id = ECamSettingItemDynamicVideoExposure;
       
    66             default = ECamExposureZero;
       
    67             },
       
    68         CAM_NON_STATIC_SETTING_ITEM_DATA
       
    69             {
       
    70             id = ECamSettingItemDynamicVideoColourFilter;
       
    71             default = ECamColourFilterColour;
       
    72             },
       
    73         CAM_NON_STATIC_SETTING_ITEM_DATA
       
    74             {
       
    75             id = ECamSettingItemDynamicVideoScene;
       
    76             default = ECamSceneNormal;
       
    77             },
       
    78         CAM_NON_STATIC_SETTING_ITEM_DATA
       
    79             {
       
    80             id = ECamSettingItemDynamicVideoFlash;
       
    81             default = ECamFlashOff;
       
    82             },
       
    83         CAM_NON_STATIC_SETTING_ITEM_DATA
       
    84             {
       
    85             id = ECamSettingItemDynamicVideoBrightness;
       
    86             default = ECamBrightnessNorm;
       
    87             },
       
    88         CAM_NON_STATIC_SETTING_ITEM_DATA
       
    89             {
       
    90             id = ECamSettingItemDynamicVideoContrast;
       
    91             default = ECamContrastNorm;
       
    92             },
       
    93         CAM_NON_STATIC_SETTING_ITEM_DATA
       
    94             {
       
    95             id = ECamSettingItemDynamicVideoColourSaturation;
       
    96             default = ECamColourSaturationNorm;
       
    97             },
       
    98         CAM_NON_STATIC_SETTING_ITEM_DATA
       
    99             {
       
   100             id = ECamSettingItemDynamicVideoLightSensitivity;
       
   101             default = ECamLightSensitivityAuto;    
       
   102             }                  
       
   103         };
       
   104     }
       
   105 
       
   106 
       
   107 
       
   108 // ---------------------------------------------------
       
   109 //
       
   110 //    r_cam_video_post_capture_delete_note
       
   111 //    Dialog to display delete video confirmation note
       
   112 //
       
   113 // ---------------------------------------------------
       
   114 //
       
   115 RESOURCE DIALOG r_cam_video_post_capture_delete_note
       
   116     {
       
   117     flags = EGeneralQueryFlags;
       
   118     buttons = R_AVKON_SOFTKEYS_YES_NO__YES;
       
   119 
       
   120     items =
       
   121         {
       
   122         DLG_LINE
       
   123             {
       
   124             type = EAknCtQuery;
       
   125             id = EGeneralQuery;
       
   126             control = AVKON_CONFIRMATION_QUERY
       
   127                 {
       
   128                 layout = EConfirmationQueryLayout;
       
   129                 label = "";
       
   130                 };
       
   131             }
       
   132         };
       
   133     }
       
   134 
       
   135 //-----------------------------------------------------------------------------
       
   136 //
       
   137 //    r_cam_video_post_capture_delete_note_text
       
   138 //    Delete confirmation query text.
       
   139 //
       
   140 //-----------------------------------------------------------------------------
       
   141 //
       
   142 RESOURCE TBUF r_cam_video_post_capture_delete_note_text
       
   143     {
       
   144     buf = qtn_lcam_note_delete_video;
       
   145     }
       
   146 
       
   147 // ---------------------------------------------------------
       
   148 //   
       
   149 //   r_cam_video_post_capture_ok_menubar
       
   150 //   Ok menubar for video post capture view
       
   151 //
       
   152 // ---------------------------------------------------------
       
   153 //
       
   154 RESOURCE MENU_BAR r_cam_video_post_capture_ok_menubar
       
   155     {
       
   156     titles =
       
   157         {
       
   158         MENU_TITLE
       
   159             {
       
   160             menu_pane = r_cam_video_post_capture_ok_menu;
       
   161             }
       
   162         };
       
   163     }
       
   164 
       
   165 // ---------------------------------------------------------
       
   166 //   
       
   167 //   r_cam_video_post_capture_ok_menu
       
   168 //   Context specific ok options menu for 
       
   169 //   video post capture view
       
   170 //
       
   171 // ---------------------------------------------------------
       
   172 //
       
   173 RESOURCE MENU_PANE r_cam_video_post_capture_ok_menu
       
   174     {
       
   175     items = 
       
   176         {
       
   177         MENU_ITEM
       
   178             {
       
   179             command = ECamCmdNewVideo;
       
   180             txt = qtn_lcam_options_new_video;
       
   181             },        
       
   182         MENU_ITEM
       
   183             {
       
   184             command = ECamCmdPlay;
       
   185             txt = qtn_lcam_options_play;
       
   186             },
       
   187         MENU_ITEM
       
   188             {
       
   189             command = ECamCmdDelete;
       
   190             txt = qtn_lcam_options_delete;
       
   191             }
       
   192         };
       
   193     }
       
   194 
       
   195 //----------------------------------------------------
       
   196 //   
       
   197 //    r_cam_video_pre_capture_title_name
       
   198 //    Title name used in video pre-capture view
       
   199 //
       
   200 //----------------------------------------------------
       
   201 //
       
   202 RESOURCE TITLE_PANE r_cam_video_pre_capture_title_name
       
   203     {
       
   204     txt = qtn_lcam_title_text_video_camera;
       
   205     }
       
   206 
       
   207 // ---------------------------------------------------------
       
   208 //   
       
   209 //   r_cam_video_pre_capture_ok_menubar
       
   210 //   Ok menubar for video pre-capture view
       
   211 //
       
   212 // ---------------------------------------------------------
       
   213 //
       
   214 RESOURCE MENU_BAR r_cam_video_pre_capture_ok_menubar
       
   215     {
       
   216     titles =
       
   217         {
       
   218         MENU_TITLE
       
   219             {
       
   220             menu_pane = r_cam_video_pre_capture_ok_menu;
       
   221             }
       
   222         };
       
   223     }
       
   224 
       
   225 // ---------------------------------------------------------
       
   226 //   
       
   227 //   r_cam_video_pre_capture_ok_menu
       
   228 //   Context specific ok options menu for 
       
   229 //   video pre capture view
       
   230 //
       
   231 // ---------------------------------------------------------
       
   232 //
       
   233 RESOURCE MENU_PANE r_cam_video_pre_capture_ok_menu
       
   234     {
       
   235     items = 
       
   236         {
       
   237         MENU_ITEM
       
   238             {
       
   239             command = ECamCmdNewPhoto;
       
   240             txt = qtn_lcam_options_photo_mode;
       
   241             },
       
   242         MENU_ITEM
       
   243             {
       
   244             command = ECamCmdShootSetup;
       
   245             txt = qtn_lcam_options_videoset;
       
   246             },
       
   247         MENU_ITEM
       
   248             {
       
   249             command = ECamCmdSettings;
       
   250             txt = qtn_lcam_cmd_settings;
       
   251             }
       
   252         };
       
   253     }
       
   254 
       
   255 //----------------------------------------------------
       
   256 //   
       
   257 //    r_cam_video_resolution_array
       
   258 //    Mapping of video resolution settings
       
   259 //    to actual numeric parameters.
       
   260 //
       
   261 //----------------------------------------------------
       
   262 //
       
   263 RESOURCE CAM_RESOLUTION_ARRAY r_cam_video_resolution_array
       
   264     {
       
   265     resolutions =
       
   266         {
       
   267         // SubQCIF video (SubQCIF viewfinder)
       
   268         CAM_RESOLUTION
       
   269             {
       
   270             width = 128;
       
   271             height = 96;
       
   272             },
       
   273         // QCIF video (QCIF viewfinder)
       
   274         CAM_RESOLUTION
       
   275             {
       
   276             width = 176;
       
   277             height = 144;
       
   278             },
       
   279         // CIF video 
       
   280         CAM_RESOLUTION
       
   281             {
       
   282             width = 352;
       
   283             height = 288;
       
   284             },
       
   285         // VGA video 
       
   286         CAM_RESOLUTION
       
   287             {
       
   288             width = 640;
       
   289             height = 480;
       
   290             },
       
   291         // QVGA video 
       
   292         CAM_RESOLUTION
       
   293             {
       
   294             width = 320;
       
   295             height = 240;
       
   296             },
       
   297         // nHD video 
       
   298         CAM_RESOLUTION
       
   299             {
       
   300             width = 640;
       
   301             height = 352;
       
   302             },
       
   303         // WVGA video 
       
   304         CAM_RESOLUTION
       
   305             {
       
   306             width = 864;
       
   307             height = 480;
       
   308             },
       
   309         // HD 720 video 
       
   310         CAM_RESOLUTION
       
   311             {
       
   312             width = 1280;
       
   313             height = 720;
       
   314             }
       
   315         };
       
   316     }
       
   317 
       
   318 
       
   319 //----------------------------------------------------
       
   320 //   
       
   321 //    r_cam_set_as_ring_tone_interest
       
   322 //    This resource is used to register an interest in 
       
   323 //    assinging video to Application InterWork (AIW)
       
   324 //	  services
       
   325 //
       
   326 //----------------------------------------------------
       
   327 //
       
   328 RESOURCE AIW_INTEREST r_cam_set_as_ring_tone_interest
       
   329     {
       
   330     items = 
       
   331         {
       
   332         AIW_CRITERIA_ITEM   // 
       
   333             {
       
   334             id = KAiwCmdAssign;
       
   335             serviceCmd = KAiwCmdAssign;        
       
   336             contentType = "*";
       
   337             serviceClass = KAiwClassMenu; 
       
   338             //maxProviders = 1;         
       
   339             loadOptions = AIW_OPTIONS_ROM_ONLY;         
       
   340             //defaultProvider = 0x10281F18;       
       
   341             }
       
   342         };
       
   343     }
       
   344 
       
   345 //----------------------------------------------------
       
   346 //   
       
   347 //    r_cam_set_as_ring_tone_interest_editor
       
   348 //    This resource is used to register an interest in 
       
   349 //    assinging video to Application InterWork (AIW)
       
   350 //    services with Photos editor
       
   351 //
       
   352 //----------------------------------------------------
       
   353 //
       
   354 RESOURCE AIW_INTEREST r_cam_set_as_ring_tone_interest_editor
       
   355     {
       
   356     items = 
       
   357         {
       
   358         AIW_CRITERIA_ITEM   // 
       
   359             {
       
   360             id = KAiwCmdAssign;
       
   361             serviceCmd = KAiwCmdAssign;        
       
   362             contentType = "MediaEditor/*";
       
   363             serviceClass = KAiwClassMenu; 
       
   364             //maxProviders = 1;         
       
   365             loadOptions = AIW_OPTIONS_ROM_ONLY;         
       
   366             //defaultProvider = 0x10281F18;       
       
   367             }
       
   368         };
       
   369     }