camerauis/cameraapp/generic/GsCamcorderPlugin/data/gscamerapluginrsc.rss
changeset 19 d9aefe59d544
parent 3 8b2d6d0384b0
child 21 fa6d9f75d6a6
child 28 3075d9b614e6
equal deleted inserted replaced
3:8b2d6d0384b0 19:d9aefe59d544
     1 /*
       
     2 * Copyright (c) 2007-2009 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: 
       
    15 *        Resource file for GS Camera Plug-in
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 //  RESOURCE IDENTIFIER
       
    21 NAME    DCAM // 4 letter ID
       
    22 
       
    23 //  INCLUDES
       
    24 
       
    25 #include <avkon.rsg>
       
    26 #include <avkon.hrh>
       
    27 #include <e32keys.h>
       
    28 #include <eikon.rh>
       
    29 #include <avkon.loc>
       
    30 #include <avkon.rh>
       
    31 #include <bldvariant.hrh>
       
    32 #include <eikcore.rsg>
       
    33 #include <eikon.rsg>
       
    34 #include <data_caging_paths_strings.hrh>
       
    35 #include <AiwCommon.rh>
       
    36 #include <appinfo.rh>
       
    37 #include <badef.rh>
       
    38 #include <gscommon.rh>
       
    39 #include <cameraapp.mbg>
       
    40 #include "GSCamcorderPlugin.hrh"
       
    41 #include "Cam.hrh"
       
    42 #include "CamSettings.hrh"
       
    43 #include "CamSettingsInternal.hrh"
       
    44 #include "Cam.rh"
       
    45 #include "CamConstantsCamcorder.hrh"
       
    46 #include "CamConstantsViewMode.hrh"
       
    47 #include "CamConstantsPortrait.hrh"
       
    48 #include <cam.loc>
       
    49 
       
    50 
       
    51 //  RESOURCE DEFINITIONS 
       
    52 
       
    53 //----------------------------------------------------
       
    54 //   
       
    55 //    
       
    56 //    Needed or loading the resource fails!
       
    57 //
       
    58 //----------------------------------------------------
       
    59 //
       
    60 RESOURCE RSS_SIGNATURE
       
    61     {
       
    62     }
       
    63 
       
    64 RESOURCE EIK_APP_INFO
       
    65     {
       
    66     cba = r_cam_softkeys_options_exit;
       
    67     }
       
    68 //----------------------------------------------------
       
    69 //   
       
    70 //    r_cam_saving_image_wait_note
       
    71 //    Wait note shown when saving image after capture
       
    72 //
       
    73 //----------------------------------------------------
       
    74 //
       
    75 RESOURCE DIALOG r_cam_processing_wait_note
       
    76     {
       
    77     flags = EAknWaitNoteFlags | EEikDialogFlagNoBackgroundFade;
       
    78     buttons = R_AVKON_SOFTKEYS_EMPTY;
       
    79     items=
       
    80         {
       
    81         DLG_LINE
       
    82             {
       
    83             type = EAknCtNote;
       
    84             id = EGenProcessingWaitNote;
       
    85             control = AVKON_NOTE 
       
    86                 {
       
    87                 layout = EWaitLayout;
       
    88                 animation = R_QGN_GRAF_WAIT_BAR_ANIM;
       
    89                 singular_label = qtn_gen_note_processing;
       
    90                 };
       
    91             }
       
    92         };
       
    93     }
       
    94 //----------------------------------------------------
       
    95 //   
       
    96 //    r_cam_setting_list_view
       
    97 //    Video and Photo settings view
       
    98 //
       
    99 //----------------------------------------------------
       
   100 //
       
   101 RESOURCE AVKON_VIEW r_gs_cam_setting_list_view
       
   102     {
       
   103     menubar = r_gs_cam_settings_menubar;
       
   104     cba = r_cam_setting_softkeys_options_back__open;   
       
   105     }
       
   106     
       
   107 //----------------------------------------------------
       
   108 //   
       
   109 //    r_gs_menubar_open_exit
       
   110 //    Options menu with 'Open' and 'Exit' items.
       
   111 //
       
   112 //----------------------------------------------------
       
   113 //
       
   114 RESOURCE MENU_BAR r_gs_menubar_open_exit
       
   115     {
       
   116     titles =
       
   117         {
       
   118         MENU_TITLE 
       
   119             { 
       
   120             menu_pane = r_gs_menu_item_exit;
       
   121             },
       
   122         MENU_TITLE 
       
   123             {
       
   124             menu_pane = r_gs_menu_item_open;
       
   125             }
       
   126         };
       
   127     }
       
   128     
       
   129 //----------------------------------------------------
       
   130 //   
       
   131 //    r_gs_menubar_change_exit
       
   132 //    Options menu with 'Change' and 'Exit' items.
       
   133 //
       
   134 //----------------------------------------------------
       
   135 //
       
   136 RESOURCE MENU_BAR r_gs_menubar_change_exit
       
   137     {
       
   138     titles =
       
   139         {
       
   140         MENU_TITLE 
       
   141             { 
       
   142             menu_pane = r_gs_menu_item_exit;
       
   143             },
       
   144         MENU_TITLE 
       
   145             {
       
   146             menu_pane = r_gs_menu_item_change;
       
   147             }
       
   148         };
       
   149     }
       
   150     
       
   151 //----------------------------------------------------
       
   152 //   
       
   153 //    r_gs_menu_item_open
       
   154 //    Options menu item 'Open'.
       
   155 //
       
   156 //----------------------------------------------------
       
   157 //
       
   158 RESOURCE MENU_PANE r_gs_menu_item_open
       
   159     {
       
   160     items =
       
   161         {
       
   162         MENU_ITEM 
       
   163             {
       
   164             command = EAknCmdOpen;
       
   165             txt = qtn_fldr_open;
       
   166             }
       
   167         };
       
   168     }
       
   169 
       
   170 //----------------------------------------------------
       
   171 //   
       
   172 //    r_gs_menu_item_change
       
   173 //    Options menu item 'Change'.
       
   174 //
       
   175 //----------------------------------------------------
       
   176 //
       
   177 RESOURCE MENU_PANE r_gs_menu_item_change
       
   178     {
       
   179     items =
       
   180         {
       
   181         MENU_ITEM 
       
   182             {
       
   183             command = ECamMSKCmdAppChange;
       
   184             txt = qtn_options_change;
       
   185             }
       
   186         };
       
   187     }
       
   188 #ifdef __SERIES60_HELP
       
   189 //----------------------------------------------------
       
   190 //   
       
   191 //    r_gs_menu_item_exit
       
   192 //    Options menu items 'Help' and 'Exit'.
       
   193 //    Used instead of plain 'Exit' when help is wanted
       
   194 //    to be shown in UI.
       
   195 //
       
   196 //----------------------------------------------------
       
   197 //
       
   198 RESOURCE MENU_PANE r_gs_menu_item_exit
       
   199     {
       
   200     items =
       
   201         {
       
   202         MENU_ITEM
       
   203             {
       
   204             command = EAknCmdHelp;
       
   205             txt = qtn_options_help;
       
   206             },
       
   207         MENU_ITEM 
       
   208             {
       
   209             command = EAknCmdExit;
       
   210             txt = qtn_options_exit;
       
   211             }
       
   212         };
       
   213     }
       
   214 #else // if __SERIES60_HELP not defined
       
   215 //----------------------------------------------------
       
   216 //   
       
   217 //    r_gs_menu_item_exit
       
   218 //    Options menu item 'Exit'.
       
   219 //
       
   220 //----------------------------------------------------
       
   221 //
       
   222 RESOURCE MENU_PANE r_gs_menu_item_exit
       
   223     {
       
   224     items =
       
   225         {
       
   226         MENU_ITEM 
       
   227             {
       
   228             command = EAknCmdExit;
       
   229             txt = qtn_options_exit;
       
   230             }
       
   231         };
       
   232     }
       
   233 #endif  // __SERIES60_HELP
       
   234 
       
   235 //----------------------------------------------------
       
   236 //   
       
   237 //    r_gs_cam_settings_menubar
       
   238 //    Menubar visible in the main setting view
       
   239 //
       
   240 //----------------------------------------------------
       
   241 //
       
   242 RESOURCE MENU_BAR r_gs_cam_settings_menubar
       
   243     {
       
   244     titles = 
       
   245         {
       
   246         MENU_TITLE
       
   247             {
       
   248             menu_pane = r_gs_cam_settings_menu;
       
   249             }
       
   250         };
       
   251     }
       
   252 //----------------------------------------------------
       
   253 //   
       
   254 //    r_gs_cam_settings_menu
       
   255 //    Menu visible in the main setting view
       
   256 //
       
   257 //----------------------------------------------------
       
   258 //
       
   259 RESOURCE MENU_PANE r_gs_cam_settings_menu
       
   260     {
       
   261     items = 
       
   262         {
       
   263         MENU_ITEM
       
   264             { 
       
   265             command = EAknCmdOpen; 
       
   266             txt = qtn_msk_open; 
       
   267             flags = EEikMenuItemAction;
       
   268             },
       
   269 #ifdef __SERIES60_HELP
       
   270         MENU_ITEM
       
   271             {
       
   272             command = EAknCmdHelp; 
       
   273             txt = qtn_options_help; 
       
   274             },
       
   275 #endif
       
   276         MENU_ITEM 
       
   277             {
       
   278             command = EAknCmdExit;
       
   279             txt = qtn_options_exit;
       
   280             }
       
   281         };
       
   282     }
       
   283 
       
   284 
       
   285 
       
   286 //----------------------------------------------------
       
   287 //   
       
   288 //    r_cam_settings_title_name
       
   289 //    Title name used in all settings views
       
   290 //
       
   291 //----------------------------------------------------
       
   292 //
       
   293 RESOURCE TBUF r_cam_gs_settings_title_name
       
   294     {
       
   295     buf = qtn_lcam_gen_sett_title_camera;
       
   296     }
       
   297    
       
   298     
       
   299 
       
   300 //-----------------------------------------------------------------------------
       
   301 //    
       
   302 //    r_cam_lbx
       
   303 //    Camera listbox items
       
   304 //
       
   305 //-----------------------------------------------------------------------------
       
   306 //
       
   307 RESOURCE GS_FEATURE_ARRAY r_cam_lbx
       
   308     {
       
   309     items =
       
   310         {
       
   311         GS_FEATURE
       
   312             {
       
   313             txt = "0\t"qtn_lcam_gen_sett_camera_folder_image;
       
   314             item = EImageSettingsFolder;
       
   315             },
       
   316         GS_FEATURE
       
   317             {
       
   318             txt = "1\t"qtn_lcam_gen_sett_camera_folder_video;
       
   319             item = EVideoSettingsFolder;
       
   320             }
       
   321         };    
       
   322     }
       
   323  
       
   324 //----------------------------------------------------
       
   325 //   
       
   326 //    r_cam_setting_softkeys_options_back__open
       
   327 //    Softkeys for settings main view    
       
   328 //
       
   329 //----------------------------------------------------
       
   330 //
       
   331 RESOURCE CBA r_cam_setting_softkeys_options_back__open
       
   332     {
       
   333     buttons  = 
       
   334         {
       
   335         CBA_BUTTON { id = EAknSoftkeyOptions; txt = text_softkey_option; },
       
   336         CBA_BUTTON { id = EAknSoftkeyBack; txt = text_softkey_back; },
       
   337         CBA_BUTTON { id = EAknCmdOpen; txt = qtn_msk_open; }  
       
   338         };
       
   339     }
       
   340 
       
   341 //----------------------------------------------------
       
   342 //   
       
   343 //    r_gs_camcorder_view_title
       
   344 //    Camcorder view's title.
       
   345 //
       
   346 //----------------------------------------------------
       
   347 //
       
   348 RESOURCE TITLE_PANE r_gs_camcorder_view_title
       
   349     {
       
   350     txt = qtn_lcam_gen_sett_list;
       
   351     }
       
   352 
       
   353 //----------------------------------------------------
       
   354 //   
       
   355 //    r_cam_namebase_video
       
   356 //    Base name for video files
       
   357 //
       
   358 //----------------------------------------------------
       
   359 //
       
   360 RESOURCE TBUF r_cam_namebase_video
       
   361     {
       
   362     buf = qtn_lcam_namebase_video;
       
   363     }
       
   364 
       
   365 
       
   366 //----------------------------------------------------
       
   367 //   
       
   368 //    r_cam_namebase_image
       
   369 //    Base name for image files
       
   370 //
       
   371 //----------------------------------------------------
       
   372 //
       
   373 RESOURCE TBUF r_cam_namebase_image
       
   374     {
       
   375     buf = qtn_lcam_namebase_image;
       
   376     }
       
   377 
       
   378 
       
   379 //***********************************************************
       
   380 // VIDEO QUALITY RESOURCE DEFINITIONS
       
   381 //***********************************************************
       
   382 
       
   383 //----------------------------------------------------
       
   384 //
       
   385 //    r_gs_video_quality_tvhigh
       
   386 //    Video Quality
       
   387 //
       
   388 //----------------------------------------------------
       
   389 //
       
   390 RESOURCE TBUF r_gs_video_quality_tvhigh
       
   391     {
       
   392     buf = qtn_lcam_set_type_tvhigh;
       
   393     }
       
   394 
       
   395 
       
   396 //----------------------------------------------------
       
   397 //
       
   398 //    r_gs_video_quality_high
       
   399 //    Video Quality
       
   400 //
       
   401 //----------------------------------------------------
       
   402 //
       
   403 RESOURCE TBUF r_gs_video_quality_high
       
   404     {
       
   405     buf = qtn_lcam_set_type_high;
       
   406     }
       
   407 
       
   408 //----------------------------------------------------
       
   409 //
       
   410 //    r_gs_video_quality_widescreen_high
       
   411 //    Video Quality
       
   412 //
       
   413 //----------------------------------------------------
       
   414 //
       
   415 RESOURCE TBUF r_gs_video_quality_widescreen_high
       
   416     {
       
   417     buf = qtn_lcam_set_type_widescreen; 
       
   418     }
       
   419 
       
   420 //----------------------------------------------------
       
   421 //
       
   422 //    r_gs_video_quality_widescreen_normal
       
   423 //    Video Quality
       
   424 //
       
   425 //----------------------------------------------------
       
   426 //
       
   427 RESOURCE TBUF r_gs_video_quality_widescreen_normal
       
   428     {
       
   429     buf = qtn_lcam_set_type_widescr_normal; 
       
   430     }
       
   431 
       
   432 //----------------------------------------------------
       
   433 //
       
   434 //    r_gs_video_quality_tvnorm
       
   435 //    Video Quality
       
   436 //
       
   437 //----------------------------------------------------
       
   438 //
       
   439 RESOURCE TBUF r_gs_video_quality_tvnorm
       
   440     {
       
   441     buf = qtn_lcam_set_type_tvnorm;
       
   442     }
       
   443     
       
   444 //----------------------------------------------------
       
   445 //
       
   446 //    r_gs_video_quality_norm
       
   447 //    Video Quality
       
   448 //
       
   449 //----------------------------------------------------
       
   450 //
       
   451 RESOURCE TBUF r_gs_video_quality_norm
       
   452     {
       
   453     buf = qtn_lcam_set_type_normal;
       
   454     }
       
   455 
       
   456 //----------------------------------------------------
       
   457 //
       
   458 //    r_gs_video_quality_webhigh
       
   459 //    Video Quality
       
   460 //
       
   461 //----------------------------------------------------
       
   462 //
       
   463 RESOURCE TBUF r_gs_video_quality_webhigh
       
   464     {
       
   465     buf = qtn_lcam_set_type_webhigh;
       
   466     }
       
   467 
       
   468 
       
   469 //----------------------------------------------------
       
   470 //
       
   471 //    r_gs_video_quality_webnorm
       
   472 //    Video Quality
       
   473 //
       
   474 //----------------------------------------------------
       
   475 //
       
   476 RESOURCE TBUF r_gs_video_quality_webnorm
       
   477     {
       
   478     buf = qtn_lcam_set_type_webnorm;
       
   479     }
       
   480 
       
   481 
       
   482 //----------------------------------------------------
       
   483 //
       
   484 //    r_gs_video_quality_mms
       
   485 //    Video Quality
       
   486 //
       
   487 //----------------------------------------------------
       
   488 //
       
   489 RESOURCE TBUF r_gs_video_quality_mms
       
   490     {
       
   491     buf = qtn_lcam_set_type_mms;
       
   492     }
       
   493 
       
   494 //----------------------------------------------------
       
   495 //
       
   496 //    r_gs_video_quality_sharing
       
   497 //    Video Quality
       
   498 //
       
   499 //----------------------------------------------------
       
   500 //
       
   501 RESOURCE TBUF r_gs_video_quality_sharing
       
   502     {
       
   503     buf = qtn_lcam_set_type_sharing;
       
   504     }
       
   505 
       
   506 
       
   507 //*********************************************************
       
   508 // GS Cusotm IMAGE QUALITY SETTINGS resource definitions
       
   509 //**********************************************************
       
   510 
       
   511 
       
   512 //----------------------------------------------------
       
   513 //
       
   514 //    r_gs_image_quality_print5mlarge
       
   515 //    Image Quality
       
   516 //
       
   517 //----------------------------------------------------
       
   518 //
       
   519 RESOURCE TBUF r_gs_image_quality_print5mlarge
       
   520     {
       
   521     buf = qtn_lcam_sett_attr_quality_print5mlarge;
       
   522     }
       
   523     
       
   524 
       
   525 //----------------------------------------------------
       
   526 //
       
   527 //    r_gs_image_quality_print3mlarge
       
   528 //    Image Quality
       
   529 //
       
   530 //----------------------------------------------------
       
   531 //
       
   532 RESOURCE TBUF r_gs_image_quality_print3mlarge
       
   533     {
       
   534     buf = qtn_lcam_sett_attr_quality_print3mlarge;
       
   535     }
       
   536 
       
   537 
       
   538 //----------------------------------------------------
       
   539 //
       
   540 //    r_gs_image_quality_print2mlarge
       
   541 //    Image Quality
       
   542 //
       
   543 //----------------------------------------------------
       
   544 //
       
   545 RESOURCE TBUF r_gs_image_quality_print2mlarge
       
   546     {
       
   547     buf = qtn_lcam_sett_attr_quality_print2mlarge;
       
   548     }
       
   549 
       
   550 
       
   551 //----------------------------------------------------
       
   552 //
       
   553 //    r_gs_image_quality_print3mmed
       
   554 //    Image Quality
       
   555 //
       
   556 //----------------------------------------------------
       
   557 //
       
   558 RESOURCE TBUF r_gs_image_quality_print3mmed
       
   559     {
       
   560     buf = qtn_lcam_sett_attr_quality_print3mmed;
       
   561     }
       
   562 
       
   563 
       
   564 //----------------------------------------------------
       
   565 //
       
   566 //    r_gs_image_quality_print2mmed
       
   567 //    Image Quality
       
   568 //
       
   569 //----------------------------------------------------
       
   570 //
       
   571 RESOURCE TBUF r_gs_image_quality_print2mmed
       
   572     {
       
   573     buf = qtn_lcam_sett_attr_quality_print2mmed;
       
   574     }
       
   575 
       
   576 
       
   577 //----------------------------------------------------
       
   578 //
       
   579 //    r_gs_image_quality_print1mmed
       
   580 //    Image Quality
       
   581 //
       
   582 //----------------------------------------------------
       
   583 //
       
   584 RESOURCE TBUF r_gs_image_quality_print1mmed
       
   585     {
       
   586     buf = qtn_lcam_sett_attr_quality_print1mmed;
       
   587     }
       
   588 
       
   589 
       
   590 //----------------------------------------------------
       
   591 //
       
   592 //    r_gs_image_quality_print1_3small
       
   593 //    Image Quality
       
   594 //
       
   595 //----------------------------------------------------
       
   596 //
       
   597 RESOURCE TBUF r_gs_image_quality_print1_3small
       
   598     {
       
   599     buf = qtn_lcam_sett_attr_quality_print1_3small;
       
   600     }
       
   601 
       
   602 
       
   603 //----------------------------------------------------
       
   604 //
       
   605 //    r_gs_image_quality_print1_0small
       
   606 //    Image Quality
       
   607 //
       
   608 //----------------------------------------------------
       
   609 //
       
   610 RESOURCE TBUF r_gs_image_quality_print1_0small
       
   611     {
       
   612     buf = qtn_lcam_sett_attr_quality_print1_0small;
       
   613     }
       
   614 
       
   615 
       
   616 //----------------------------------------------------
       
   617 //
       
   618 //    r_gs_image_quality_print0_8small
       
   619 //    Image Quality
       
   620 //
       
   621 //----------------------------------------------------
       
   622 //
       
   623 RESOURCE TBUF r_gs_image_quality_print0_8small
       
   624     {
       
   625     buf = qtn_lcam_sett_attr_quality_print0_8med;
       
   626     }
       
   627 
       
   628 //----------------------------------------------------
       
   629 //
       
   630 //    r_gs_image_quality_mms
       
   631 //    Image Quality
       
   632 //
       
   633 //----------------------------------------------------
       
   634 //
       
   635 RESOURCE TBUF r_gs_image_quality_mms
       
   636     {
       
   637     buf = qtn_lcam_sett_attr_quality_mms;
       
   638     }
       
   639 
       
   640 // The following are the resources shared between camera application
       
   641 // and camera settings pluin refer to \generic\common folder for details
       
   642 #include "CamSettings.ra"
       
   643 #include "CamAppWide.ra"
       
   644 #include "CamCapture.ra"
       
   645 #include "CamCaptureSetup.ra"
       
   646 #include "CamStillCaptureCamcorder.ra"
       
   647 #include "CamVideoCaptureCamcorder.ra"
       
   648 
       
   649 
       
   650 //End of File