camerauis/cameraapp/generic/data/resource_inc/CamStillCapture.ra
branchRCL_3
changeset 24 bac7acad7cb3
equal deleted inserted replaced
23:61bc0f252b2b 24:bac7acad7cb3
       
     1 /*
       
     2 * Copyright (c) 2007-2008 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 //   
       
    23 //    r_cam_still_pre_capture_title_name
       
    24 //    Title name used in still pre-capture view
       
    25 //
       
    26 //----------------------------------------------------
       
    27 //
       
    28 RESOURCE TITLE_PANE r_cam_still_pre_capture_title_name
       
    29     {
       
    30     txt = qtn_lcam_title_text_camera;
       
    31     }
       
    32 
       
    33 // ---------------------------------------------------
       
    34 //
       
    35 //    r_cam_image_saving_cancel_note
       
    36 //    Dialog to display cancel image saving 
       
    37 //    confirmation note
       
    38 //
       
    39 // ---------------------------------------------------
       
    40 //
       
    41 RESOURCE DIALOG r_cam_image_saving_cancel_note
       
    42     {
       
    43     flags = EGeneralQueryFlags;
       
    44     buttons = R_AVKON_SOFTKEYS_YES_NO__YES;
       
    45 
       
    46     items =
       
    47         {
       
    48         DLG_LINE
       
    49             {
       
    50             type = EAknCtQuery;
       
    51             id = EGeneralQuery;
       
    52             control = AVKON_CONFIRMATION_QUERY
       
    53                 {
       
    54                 layout = EConfirmationQueryLayout;
       
    55                 label = "";
       
    56                 };
       
    57             }
       
    58         };
       
    59     }
       
    60 
       
    61 //-----------------------------------------------------------------------------
       
    62 //
       
    63 //    r_cam_image_saving_cancel_note_text
       
    64 //    Cancel confirmation query text.
       
    65 //
       
    66 //-----------------------------------------------------------------------------
       
    67 //
       
    68 RESOURCE TBUF r_cam_image_saving_cancel_note_text
       
    69     {
       
    70     buf = qtn_lcam_note_cancel_images;
       
    71     }
       
    72 
       
    73 //----------------------------------------------------
       
    74 //   
       
    75 //    r_cam_loading_image_wait_note
       
    76 //    Wait note shown when setting background image
       
    77 //
       
    78 //----------------------------------------------------
       
    79 //
       
    80 RESOURCE DIALOG r_cam_loading_image_wait_note
       
    81     {
       
    82     flags = EAknWaitNoteFlags;
       
    83     buttons = R_AVKON_SOFTKEYS_EMPTY;
       
    84     items=
       
    85         {
       
    86         DLG_LINE
       
    87             {
       
    88             type = EAknCtNote;
       
    89             id = ELoadingImageWaitNote;
       
    90             control = AVKON_NOTE 
       
    91                 {
       
    92                 layout = EWaitLayout;
       
    93                 animation = R_QGN_GRAF_WAIT_BAR_ANIM;
       
    94                 singular_label = qtn_lcam_loading_image;
       
    95                 };
       
    96             }
       
    97         };
       
    98     }
       
    99 
       
   100 //----------------------------------------------------
       
   101 //   
       
   102 //    r_cam_move_to_still_image_interest
       
   103 //    This resource is used to register an interest in 
       
   104 //    still-image Application InterWork (AIW)
       
   105 //
       
   106 //----------------------------------------------------
       
   107 //
       
   108 RESOURCE AIW_INTEREST r_cam_move_to_still_image_interest
       
   109     {
       
   110     items = 
       
   111         {
       
   112         AIW_CRITERIA_ITEM   // PRINT still image
       
   113             {
       
   114             id = ECamCmdPrint;
       
   115             serviceCmd = KAiwCmdPrint;        
       
   116             contentType = "image/*";
       
   117             serviceClass = KAiwClassMenu;          
       
   118             maxProviders = 5;         
       
   119             }
       
   120         };
       
   121     }
       
   122     
       
   123 //----------------------------------------------------
       
   124 //   
       
   125 //    r_cam_move_to_still_image_interest_at
       
   126 //    This resource is used to register an interest in 
       
   127 //    still-image Application InterWork (AIW) for use by
       
   128 //	  Active Toolbar - which only supports QuickPrint app
       
   129 //
       
   130 //----------------------------------------------------
       
   131 //
       
   132 RESOURCE AIW_INTEREST r_cam_move_to_still_image_interest_at
       
   133     {
       
   134     items = 
       
   135         {
       
   136         AIW_CRITERIA_ITEM   // PRINT still image
       
   137             {
       
   138             id = ECamCmdPrint;
       
   139             serviceCmd = KAiwCmdPrint;        
       
   140             contentType = "image/*";
       
   141             serviceClass = KAiwClassBase;          
       
   142             maxProviders = 1;         
       
   143             loadOptions = AIW_OPTIONS_ROM_ONLY; 
       
   144             }
       
   145         };
       
   146     }
       
   147 
       
   148 //----------------------------------------------------
       
   149 //   
       
   150 //    r_cam_move_to_still_image_sequence_interest
       
   151 //    This resource is used to register an interest in 
       
   152 //    still-image Application InterWork (AIW)
       
   153 //
       
   154 //----------------------------------------------------
       
   155 //
       
   156 RESOURCE AIW_INTEREST r_cam_move_to_still_image_sequence_interest
       
   157     {
       
   158     items = 
       
   159         {
       
   160         AIW_CRITERIA_ITEM   // PRINT still image
       
   161             {
       
   162             id = ECamCmdPrint;
       
   163             serviceCmd = KAiwCmdPrint;        
       
   164             contentType = "image/*";
       
   165             serviceClass = KAiwClassMenu;
       
   166             maxProviders = 5;          
       
   167             }
       
   168         };
       
   169     }
       
   170     
       
   171 //----------------------------------------------------
       
   172 //   
       
   173 //    r_cam_share_on_ovi_interest
       
   174 //    This resource is used to register an interest in 
       
   175 //    Share on Ovi Application InterWork (AIW)
       
   176 //
       
   177 //----------------------------------------------------
       
   178 //
       
   179 RESOURCE AIW_INTEREST r_cam_share_on_ovi_interest
       
   180     {
       
   181     items = 
       
   182         {
       
   183         AIW_CRITERIA_ITEM   // Upload still image
       
   184             {
       
   185             id = ECamCmdShareOnOvi;
       
   186             serviceCmd = KAiwCmdUpload;        
       
   187             //contentType = "image/*";
       
   188             contentType = "*";
       
   189             serviceClass = KAiwClassMenu;
       
   190             maxProviders = 1;          
       
   191             }
       
   192         };
       
   193     }
       
   194     
       
   195 //----------------------------------------------------
       
   196 //   
       
   197 //    r_cam_set_as_call_image_interest_editor
       
   198 //    This resource is used to register an interest in 
       
   199 //    Set as contact call image Application InterWork (AIW)
       
   200 //    with Photos editor.
       
   201 //
       
   202 //----------------------------------------------------
       
   203 //
       
   204 RESOURCE AIW_INTEREST r_cam_set_as_call_image_interest_editor
       
   205     {
       
   206     items = 
       
   207         {
       
   208         AIW_CRITERIA_ITEM  
       
   209             {
       
   210             id = KAiwCmdAssign;
       
   211             serviceCmd = KAiwCmdAssign;
       
   212             contentType = "MediaEditor/*";
       
   213             serviceClass = KAiwClassMenu;
       
   214             }
       
   215         };
       
   216     }
       
   217 
       
   218 //----------------------------------------------------
       
   219 //   
       
   220 //    r_cam_set_as_call_image_interest
       
   221 //    This resource is used to register an interest in 
       
   222 //    Set as contact call image Application InterWork (AIW)
       
   223 //
       
   224 //----------------------------------------------------
       
   225 //
       
   226 RESOURCE AIW_INTEREST r_cam_set_as_call_image_interest
       
   227     {
       
   228     items = 
       
   229         {
       
   230         AIW_CRITERIA_ITEM   // 
       
   231             {
       
   232             id = KAiwCmdAssign;
       
   233             serviceCmd = KAiwCmdAssign;        
       
   234             contentType = "*";
       
   235             serviceClass = KAiwClassMenu; 
       
   236             //maxProviders = 1;        
       
   237             //defaultProvider = 0x1020728f;         
       
   238             }
       
   239         };
       
   240     }
       
   241 
       
   242 // ---------------------------------------------------
       
   243 //
       
   244 //    r_cam_saving_images_progress_note
       
   245 //    Dialog to display whilst saving images
       
   246 //
       
   247 // ---------------------------------------------------
       
   248 //
       
   249 RESOURCE DIALOG r_cam_saving_images_progress_note
       
   250     {   
       
   251     flags = EAknProgressNoteFlags | EEikDialogFlagWait;
       
   252     buttons = R_AVKON_SOFTKEYS_EMPTY;
       
   253     items=
       
   254         {
       
   255         DLG_LINE
       
   256             {
       
   257             type = EAknCtNote;
       
   258             id = ESavingImagesProgressNote;
       
   259             control = AVKON_NOTE 
       
   260                 {
       
   261                 layout = EWaitLayout;
       
   262                 singular_label = qtn_lcam_note_saving_images;
       
   263                 imagefile = AVKON_ICON_FILE; 
       
   264                 imageid = EMbmAvkonQgn_note_progress;
       
   265                 imagemask = EMbmAvkonQgn_note_progress_mask;
       
   266                 };
       
   267             }
       
   268         };
       
   269     }
       
   270 
       
   271 //-----------------------------------------------------------------------------
       
   272 //
       
   273 //    r_cam_self_timer_menu
       
   274 //    Cascade menu option for showing the self-timer periods
       
   275 //
       
   276 //-----------------------------------------------------------------------------
       
   277 //
       
   278 RESOURCE MENU_PANE r_cam_self_timer_menu
       
   279     {
       
   280     items = 
       
   281         {
       
   282         MENU_ITEM
       
   283             {
       
   284             command = ECamCmdSelfTimer1;
       
   285             txt = qtn_lcam_st_2;
       
   286             },
       
   287         MENU_ITEM
       
   288             {
       
   289             command = ECamCmdSelfTimer2;
       
   290             txt = qtn_lcam_st_10;
       
   291             },
       
   292         MENU_ITEM
       
   293             {
       
   294             command = ECamCmdSelfTimer3;
       
   295             txt = qtn_lcam_st_20;
       
   296             }
       
   297         };
       
   298     }
       
   299 
       
   300 // ---------------------------------------------------
       
   301 //
       
   302 //    r_cam_still_post_capture_delete_note
       
   303 //    Dialog to display delete image confirmation note
       
   304 //
       
   305 // ---------------------------------------------------
       
   306 //
       
   307 RESOURCE DIALOG r_cam_still_post_capture_delete_note
       
   308     {
       
   309     flags = EGeneralQueryFlags;
       
   310     buttons = R_AVKON_SOFTKEYS_YES_NO__YES;
       
   311 
       
   312     items =
       
   313         {
       
   314         DLG_LINE
       
   315             {
       
   316             type = EAknCtQuery;
       
   317             id = EGeneralQuery;
       
   318             control = AVKON_CONFIRMATION_QUERY
       
   319                 {
       
   320                 layout = EConfirmationQueryLayout;
       
   321                 label = "";
       
   322                 };
       
   323             }
       
   324         };
       
   325     }
       
   326 
       
   327 
       
   328 //-----------------------------------------------------------------------------
       
   329 //
       
   330 //    r_cam_still_post_capture_delete_note_text
       
   331 //    Delete confirmation query text.
       
   332 //
       
   333 //-----------------------------------------------------------------------------
       
   334 //
       
   335 RESOURCE TBUF r_cam_still_post_capture_delete_note_text
       
   336     {
       
   337     buf = qtn_lcam_note_delete_photo;
       
   338     }
       
   339 
       
   340 // ---------------------------------------------------------
       
   341 //   
       
   342 //   r_cam_timelapse_post_capture_menubar
       
   343 //   Menubar for timelapse capture post capture view
       
   344 //
       
   345 // ---------------------------------------------------------
       
   346 //
       
   347 RESOURCE MENU_BAR r_cam_timelapse_post_capture_menubar
       
   348     {
       
   349     titles =
       
   350         {
       
   351         MENU_TITLE
       
   352             {
       
   353             menu_pane = r_cam_timelapse_post_capture_menu;
       
   354             }
       
   355         };
       
   356     }
       
   357 
       
   358 // ---------------------------------------------------------
       
   359 //   
       
   360 //   r_cam_timelapse_post_capture_menu
       
   361 //   Options menu for timelapse post capture view
       
   362 //
       
   363 // ---------------------------------------------------------
       
   364 //
       
   365 RESOURCE MENU_PANE r_cam_timelapse_post_capture_menu
       
   366     {
       
   367     items = 
       
   368         {
       
   369         MENU_ITEM
       
   370             {
       
   371             command = ECamCmdNewPhoto;
       
   372             txt = qtn_lcam_options_new_photos;
       
   373             },
       
   374         MENU_ITEM
       
   375             {
       
   376             command = ECamCmdDelete;
       
   377             txt = qtn_lcam_options_delete;
       
   378             },      
       
   379         MENU_ITEM
       
   380             {
       
   381             command = ECamCmdDeleteSequence;
       
   382             txt = qtn_lcam_options_deleteall;
       
   383             },
       
   384        MENU_ITEM
       
   385             {
       
   386             command = ECamCmdPhotos;
       
   387             txt = qtn_lcam_options_go_to_photos;
       
   388             },
       
   389         MENU_ITEM
       
   390             {
       
   391             command = EAknCmdHelp;
       
   392             txt = qtn_options_help;
       
   393             },
       
   394         MENU_ITEM
       
   395             {
       
   396             command = ECamCmdInternalExit;
       
   397             txt = qtn_options_exit;
       
   398             }
       
   399         };
       
   400     }
       
   401 
       
   402 
       
   403 
       
   404 // ---------------------------------------------------------
       
   405 //   
       
   406 //   r_cam_still_post_capture_ok_menubar
       
   407 //   Ok menubar for still image post capture view
       
   408 //
       
   409 // ---------------------------------------------------------
       
   410 //
       
   411 RESOURCE MENU_BAR r_cam_still_post_capture_ok_menubar
       
   412     {
       
   413     titles =
       
   414         {
       
   415         MENU_TITLE
       
   416             {
       
   417             menu_pane = r_cam_still_post_capture_ok_menu;
       
   418             }
       
   419         };
       
   420     }
       
   421 
       
   422 // ---------------------------------------------------------
       
   423 //   
       
   424 //   r_cam_still_post_capture_ok_menu
       
   425 //   Context specific ok options menu for still 
       
   426 //   image post capture view
       
   427 //
       
   428 // ---------------------------------------------------------
       
   429 //
       
   430 RESOURCE MENU_PANE r_cam_still_post_capture_ok_menu
       
   431     {
       
   432     items = 
       
   433         {
       
   434         MENU_ITEM
       
   435             {
       
   436             command = ECamCmdNewPhoto;
       
   437             txt = qtn_lcam_options_new_photo;
       
   438             },
       
   439         MENU_ITEM
       
   440             {
       
   441             command = ECamCmdDelete;
       
   442             txt = qtn_lcam_options_delete;
       
   443             }
       
   444         };
       
   445     }
       
   446 
       
   447 //-----------------------------------------------------------------------------
       
   448 //
       
   449 //    r_cam_still_pre_capture_menu_burst_off_text
       
   450 //    Switch to normal mode text
       
   451 //
       
   452 //-----------------------------------------------------------------------------
       
   453 //
       
   454 RESOURCE TBUF r_cam_still_pre_capture_menu_burst_off_text
       
   455     {
       
   456     buf = qtn_lcam_deact_seq_mode;
       
   457     }
       
   458 
       
   459 //----------------------------------------------------
       
   460 //   
       
   461 //    r_cam_still_scene_setting_title
       
   462 //    Title name used in still scene settings view
       
   463 //
       
   464 //----------------------------------------------------
       
   465 //
       
   466 RESOURCE TITLE_PANE r_cam_still_scene_setting_title
       
   467      {
       
   468      txt = qtn_lcam_title_text_scenes_phot;
       
   469      }
       
   470 
       
   471 //----------------------------------------------------
       
   472 //   
       
   473 //    r_cam_still_sequence_mode_setting_title
       
   474 //    Title name used in still sequence mode settings view
       
   475 //
       
   476 //----------------------------------------------------
       
   477 //
       
   478 RESOURCE TITLE_PANE r_cam_still_sequence_mode_setting_title
       
   479      {
       
   480      txt = qtn_lcam_selector_title_tl;
       
   481      }
       
   482 
       
   483 //-----------------------------------------------------------------------------
       
   484 //
       
   485 //    r_cam_img_precap_reticule
       
   486 //    The size and position of the still reticule
       
   487 //
       
   488 //-----------------------------------------------------------------------------
       
   489 //
       
   490 RESOURCE AVKON_LAYOUT_RECT r_cam_img_precap_reticule 
       
   491 		{ 
       
   492 		//l = 80; t = 60; W = 160; H = 120; 
       
   493         l = 200; t = 90; W = 240; H = 180;
       
   494 
       
   495 //    { r = 142 ; t = 106; W = 36; H = 27; }
       
   496 		} 
       
   497     
       
   498 //-----------------------------------------------------------------------------
       
   499 //
       
   500 //    r_cam_img_precap_flash_icon
       
   501 //    The size and position of flash charging indicator
       
   502 //
       
   503 //-----------------------------------------------------------------------------
       
   504 //
       
   505 RESOURCE AVKON_LAYOUT_RECT r_cam_img_precap_flash_icon
       
   506     { r = 249 ; t = 3; W = 16; H = 16; }    
       
   507 
       
   508 
       
   509 
       
   510 //----------------------------------------------------
       
   511 //   
       
   512 //    r_cam_saving_image_wait_note
       
   513 //    Wait note shown when saving image after capture
       
   514 //
       
   515 //----------------------------------------------------
       
   516 //
       
   517 RESOURCE DIALOG r_cam_processing_wait_note
       
   518     {
       
   519     flags = EAknWaitNoteFlags | EEikDialogFlagNoBackgroundFade;
       
   520     buttons = R_AVKON_SOFTKEYS_EMPTY;
       
   521     items=
       
   522         {
       
   523         DLG_LINE
       
   524             {
       
   525             type = EAknCtNote;
       
   526             id = EGenProcessingWaitNote;
       
   527             control = AVKON_NOTE 
       
   528                 {
       
   529                 layout = EWaitLayout;
       
   530                 animation = R_QGN_GRAF_WAIT_BAR_ANIM;
       
   531                 singular_label = qtn_gen_note_processing;
       
   532                 };
       
   533             }
       
   534         };
       
   535     }
       
   536 
       
   537