os/mm/mmlibs/mmfw/tsrc/mmvalidationsuite/mmvalidationsuiteapp/src/MVSApp.rss
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 // Part of the MVS Application for TechView
    15 //
    16 
    17 
    18 NAME NEWA
    19 
    20 #include <techview/eikon.rh>
    21 #include <uikon.rh>
    22 #include <techview/eikon.hrh>
    23 #include <uiklafgt/eikcore.rsg>
    24 #include <eikcoctl.rsg>
    25 #include <eikctl.rsg>
    26 #include <eikfile.rsg>
    27 #include <eikprint.rsg>
    28 
    29 #include <mvsapp.mbg>
    30 
    31 
    32 //enums for the resource file and application
    33 #include "MVSApp.hrh"
    34 
    35 //string defs
    36 #include "MVSApp.rls"
    37 
    38 RESOURCE RSS_SIGNATURE { }
    39 
    40 RESOURCE TBUF
    41     {
    42     buf = "";
    43     }
    44 
    45 RESOURCE EIK_APP_INFO
    46     {
    47     hotkeys = r_mvs_hotkeys;
    48     menubar = r_mvs_menubar;
    49     toolbar = r_mvs_toolbar;
    50     toolband = r_mvs_toolbar2;
    51     }
    52 
    53 RESOURCE HOTKEYS r_mvs_hotkeys
    54     {
    55     control =
    56         {
    57         HOTKEY
    58             {
    59             command = EMVSCmdExit;
    60             key = HOTKEY_EEikCmdExit;
    61             },
    62 		HOTKEY
    63             {
    64             command = EMVSCmdNew;
    65             key = HOTKEY_EMVSNew;
    66             },
    67 		HOTKEY
    68             {
    69             command = EMVSCmdOpen;
    70             key = HOTKEY_EMVSOpen;
    71             },
    72 		HOTKEY
    73             {
    74             command = EMVSCmdRecord;
    75             key = HOTKEY_EMVSRecord;
    76             },
    77 		HOTKEY
    78             {
    79             command = EMVSCmdClose;
    80             key = HOTKEY_EMVSClose;
    81             },
    82 		HOTKEY
    83 			{
    84 			command = EMVSButtonCancel;
    85 			key = HOTKEY_EMVSCancel;
    86 			}        
    87          };
    88 	plain = 
    89 		{
    90 		HOTKEY
    91             {
    92             command = EMVSCmdPlay;
    93             key = HOTKEY_EMVSPlay;
    94             },
    95         HOTKEY
    96             {
    97             command = EMVSCmdPause;
    98             key = HOTKEY_EMVSPause;
    99             },
   100         HOTKEY
   101             {
   102             command = EMVSCmdStop;
   103             key = HOTKEY_EMVSStop;
   104             }
   105         };
   106     }
   107 
   108 RESOURCE MENU_BAR r_mvs_menubar
   109     {
   110     titles =
   111         {
   112         MENU_TITLE
   113             {
   114             menu_pane = r_mvs_file_menu;
   115             txt = STRING_mvs_file_menu;
   116             },
   117         MENU_TITLE
   118             {
   119             menu_pane = r_mvs_edit_menu;
   120             txt = STRING_mvs_edit_menu;
   121             },
   122         MENU_TITLE
   123             {
   124             menu_pane = r_mvs_settings_menu;
   125             txt = STRING_mvs_settings_menu;
   126             },
   127         MENU_TITLE
   128         	{
   129         	menu_pane = r_mvs_controls_menu;
   130         	txt = STRING_mvs_controls_menu;	
   131         	}
   132         };
   133     }
   134 
   135 RESOURCE MENU_PANE r_mvs_file_menu
   136     {
   137     items =
   138         {
   139         MENU_ITEM
   140             {
   141             command = EMVSCmdNew;
   142             txt = STRING_mvs_file_menu_record;
   143             },
   144         MENU_ITEM
   145             {
   146             command = EMVSCmdOpen;
   147             txt = STRING_mvs_file_menu_play;
   148             },
   149         MENU_ITEM
   150             {
   151             command = EMVSCmdClose;
   152             txt = STRING_mvs_file_menu_close;
   153             },
   154         MENU_ITEM
   155             {
   156             command = EMVSCmdSystemInfo;
   157             txt = STRING_mvs_file_menu_systeminfo;
   158             },
   159         MENU_ITEM
   160             {
   161             command = EMVSCmdExit;
   162             txt = STRING_mvs_file_menu_exit;
   163             }
   164         };
   165     }
   166 
   167 RESOURCE MENU_PANE r_mvs_edit_menu
   168     {
   169     items =
   170         {
   171         MENU_ITEM
   172             {
   173             command = EMVSCmdSetCropWindow;
   174             txt = STRING_mvs_edit_menu_setcropwindow;
   175             },
   176         MENU_ITEM
   177             {
   178             command = EMVSCmdSetPlayWindow;
   179             txt = STRING_mvs_edit_menu_setplaywindow;
   180             },
   181         MENU_ITEM
   182             {
   183             command = EMVSCmdClearPlayWindow;
   184             txt = STRING_mvs_edit_menu_clearplaywindow;
   185             }
   186         };
   187     }
   188 
   189 
   190 RESOURCE MENU_PANE r_mvs_settings_menu
   191     {
   192     items =
   193         {
   194         MENU_ITEM
   195             {
   196             command = EMVSCmdAudioSetting;
   197             txt = STRING_mvs_settings_audio_menu;
   198             },
   199         MENU_ITEM
   200             {
   201             command = EMVSVideoCmdSettings;
   202             txt = STRING_mvs_settings_video_menu;
   203             },
   204         MENU_ITEM
   205             {
   206             command = EMVSCmdEditMetadata;
   207             txt = STRING_mvs_settings_metadata_menu;
   208             },
   209         MENU_ITEM
   210         	{
   211         	command = EMVSCmdMultiScreen;
   212         	txt = STRING_mvs_multiscreen_option;
   213         	},
   214         MENU_ITEM
   215         	{
   216         	command = EMVSRegisterForNotification;
   217         	txt = STRING_mvs_settings_register_menu;
   218         	},
   219         MENU_ITEM
   220             {
   221             command = EMVSCmdClearLog;
   222             txt = STRING_mvs_settings_clearlog_menu;
   223 #ifdef SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
   224             flags = EEikMenuItemSeparatorAfter;
   225             },
   226          MENU_ITEM
   227 	        {
   228 	        command = EMVSCmdEnableSubtitles;
   229 	        txt = STRING_mvs_settings_menu_enable_subtitles;
   230 	        },
   231 	     MENU_ITEM
   232 	        {
   233 	        command = EMVSCmdDisableSubtitles;
   234 	        txt = STRING_mvs_settings_menu_disable_subtitles;
   235 #endif // SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
   236             }
   237         };
   238     }
   239 
   240 
   241 RESOURCE MENU_PANE r_mvs_controls_menu
   242     {
   243     items =
   244         {
   245         MENU_ITEM
   246             {
   247             command = EMVSCmdPlay;
   248             txt = STRING_mvs_controls_menu_play;
   249             },
   250          MENU_ITEM
   251             {
   252             command = EMVSCmdPause;
   253             txt = STRING_mvs_controls_menu_pause;
   254             },
   255          MENU_ITEM
   256             {
   257             command = EMVSCmdStop;
   258             txt = STRING_mvs_controls_menu_stop;
   259             flags = EEikMenuItemSeparatorAfter;
   260             },
   261          MENU_ITEM
   262             {
   263             command = EMVSCmdRewind;
   264             txt = STRING_mvs_controls_menu_rewind;
   265             },
   266          MENU_ITEM
   267             {
   268             command = EMVSCmdFastForward;
   269             txt = STRING_mvs_controls_menu_forward;
   270             },
   271          MENU_ITEM
   272             {
   273             command = EMVSCmdRecord;
   274             txt = STRING_mvs_controls_menu_record;
   275             }
   276             
   277         };
   278     }
   279     
   280     
   281 
   282 RESOURCE MENU_PANE r_mvs_settings_audio_menu
   283 	{
   284     items=
   285         {
   286         MENU_ITEM
   287             {
   288             command = EMVSCmdSetVolume;
   289             txt = STRING_mvs_settings_audio_menu_setvolume;
   290             },
   291         MENU_ITEM
   292             {
   293             command = EMVSCmdSetRepeats;
   294             txt = STRING_mvs_settings_audio_menu_setrepeats;
   295             },
   296 		MENU_ITEM
   297             {
   298             command = EMVSCmdSetPlayBalance;
   299             txt = STRING_mvs_settings_audio_menu_setplaybackbalance;
   300             },
   301         MENU_ITEM
   302             {
   303             command = EMVSCmdSetGain;
   304             txt = STRING_mvs_settings_audio_menu_setgain;
   305             },
   306         MENU_ITEM
   307             {
   308             command = EMVSCmdSetRecordBalance;
   309             txt = STRING_mvs_settings_audio_menu_setrecordbalance;
   310             },
   311         MENU_ITEM
   312             {
   313             command = EMVSCmdSetAudioPriority;
   314             txt = STRING_mvs_settings_audio_menu_setaudiopriority;
   315             }
   316 		
   317         };
   318     }
   319    
   320   
   321 RESOURCE TOOLBAND r_mvs_toolbar1
   322 	{
   323 	breadth=100;
   324 	controls=
   325 		{
   326 		DLG_TBAR_SPACER
   327             {
   328 			type=EEikCtSpacer;
   329 			flags=EEikToolBarCtrlHasSetMinLength;
   330 			length = 638;
   331 			width=25;
   332 			color=3;
   333             }   
   334         };
   335 	}
   336 
   337 RESOURCE TOOLBAND r_mvs_toolbar
   338     {
   339     breadth=30;
   340     controls=
   341         {
   342 		TBAR_BUTTON
   343             {
   344             id=EMVSCmdPlay;
   345             flags=EEikToolBarCtrlHasSetMinLength;
   346 			length = 30;
   347             bmpfile="*";
   348             bmpid=EMbmMvsappPlay;
   349             bmpmask=EMbmMvsappPlaymask;
   350             },
   351                   
   352         TBAR_BUTTON 
   353             {
   354             id=EMVSCmdPause;
   355             flags=EEikToolBarCtrlHasSetMinLength;
   356 			length = 30;
   357             bmpfile="*";
   358             bmpid=EMbmMvsappPause;
   359             bmpmask=EMbmMvsappPausemask;
   360             },
   361 
   362         TBAR_BUTTON 
   363             {
   364             id=EMVSCmdStop;
   365             flags=EEikToolBarCtrlHasSetMinLength;
   366 			length = 30;
   367             bmpfile="*";
   368             bmpid=EMbmMvsappStop;
   369             bmpmask=EMbmMvsappStopmask;
   370             },
   371         
   372         TBAR_BUTTON 
   373             {
   374             id=EMVSCmdRecord;
   375             flags=EEikToolBarCtrlHasSetMinLength;
   376 			length = 30;
   377             bmpfile="*";
   378             bmpid=EMbmMvsappRec;
   379             bmpmask=EMbmMvsappRecmask;
   380             },  
   381             
   382 		DLG_TBAR_SPACER
   383             {
   384 			type=EEikCtSpacer;
   385 			flags=EEikToolBarCtrlHasSetMinLength;
   386 			length = 35;
   387 			width=25;
   388 			color=3;
   389             },  
   390         
   391 		TBAR_BUTTON 
   392             {
   393             id=EMVSCmdSetRepeats;
   394             flags=EEikToolBarCtrlHasSetMinLength;
   395 			length = 30;
   396             bmpfile="*";
   397             bmpid=EMbmMvsappCirc;
   398 	        bmpmask=EMbmMvsappCircmask;
   399             },
   400         
   401         TBAR_BUTTON
   402             {
   403             id=EMVSCmdSetVolume;
   404             flags=EEikToolBarCtrlHasSetMinLength;
   405 			length = 45;
   406             bmpfile="*";
   407             bmpid=EMbmMvsappSound;
   408 	        bmpmask=EMbmMvsappSoundmask;
   409             },
   410             
   411         TBAR_BUTTON
   412             {
   413             id=EMVSCmdSetPlayBalance;
   414             flags=EEikToolBarCtrlHasSetMinLength;
   415 			length = 45;
   416             bmpfile="*";
   417             bmpid=EMbmMvsappBalance;
   418 	        bmpmask=EMbmMvsappBalancemask;
   419             },
   420             
   421         DLG_TBAR_SPACER
   422             {
   423 			type=EEikCtSpacer;
   424 			flags=EEikToolBarCtrlHasSetMinLength;
   425 			length = 52;
   426 			width=10;
   427 			color=3;
   428             }, 
   429             
   430 		TBAR_BUTTON 
   431             {
   432             id=EMVSCmdRewind;
   433             flags=EEikToolBarCtrlHasSetMinLength;
   434 			length = 45;
   435             bmpfile="*";
   436             bmpid=EMbmMvsappRwd;
   437             bmpmask=EMbmMvsappRwdmask;
   438             },
   439 	
   440 		DLG_TBAR_SPACER
   441             {
   442 			type=EEikCtSpacer;
   443 			flags=EEikToolBarCtrlHasSetMinLength;
   444 			length = 6;
   445 			width=25;
   446 			color=3;
   447             },   
   448         
   449 		TBAR_BUTTON 
   450             {
   451             id=EMVSCmdFastForward;
   452             flags=EEikToolBarCtrlHasSetMinLength;
   453 			length = 45;
   454             bmpfile="*";
   455             bmpid=EMbmMvsappFwd;
   456             bmpmask=EMbmMvsappFwdmask;
   457             },
   458 		
   459 		
   460 		DLG_TBAR_SPACER
   461             {
   462 			type=EEikCtSpacer;
   463 			flags=EEikToolBarCtrlHasSetMinLength;
   464 			length = 215;
   465 			width=25;
   466 			color=3;
   467             }                    	    
   468         };
   469 
   470     }
   471     
   472 RESOURCE TOOLBAND r_mvs_toolbar2
   473 	{
   474 	breadth=5;
   475 	controls=
   476 		{
   477 		DLG_TBAR_SPACER
   478             {
   479 			type=EEikCtSpacer;
   480 			flags=EEikToolBarCtrlHasSetMinLength;
   481 			length = 638;
   482 			width=25;
   483 			color=3;
   484             }   
   485         };
   486 	}
   487 
   488  //buttons
   489 RESOURCE DLG_BUTTONS r_mvs_buttons_up_down_ok_cancel
   490 	{
   491 	buttons=
   492 		{
   493 		DLG_BUTTON
   494 			{
   495 			id = EMVSButtonDown;
   496 			button = CMBUT {txt = STRING_r_mvs_buttons_down;};
   497 			hotkey = EEikBidBlank;
   498 			},
   499 		DLG_BUTTON
   500 			{
   501 			id = EMVSButtonUp;
   502 			button = CMBUT {txt = STRING_r_mvs_buttons_up;};
   503 			hotkey = EEikBidSpace;
   504 			},
   505 		DLG_BUTTON
   506 			{
   507 			id = EMVSButtonCancel;
   508 			button = CMBUT {txt = STRING_r_mvs_buttons_cancel;};
   509 			hotkey = EEikBidCancel;
   510 			},	
   511 		DLG_BUTTON
   512 			{
   513 			id = EMVSButtonOk;
   514 			button = CMBUT {txt = STRING_r_mvs_buttons_ok;};
   515 			hotkey = EEikBidOk;
   516 			}
   517 		};
   518 	}
   519 	
   520 RESOURCE DIALOG r_mvs_dialog_setvolume
   521 	{
   522     flags=EEikDialogFlagWait;
   523 	title=STRING_r_mvs_dialog_setvolume_setvolume;
   524 	buttons = r_mvs_buttons_up_down_ok_cancel;
   525     items=
   526 		{
   527          DLG_LINE
   528             {	
   529             prompt=STRING_r_mvs_dialog_setvolume_specifyvolume;
   530             type=EEikCtProgInfo;
   531 			id=EMVSCmdSetVolume;
   532 			control=PROGRESSINFO
   533 				{
   534 				finalval=KMVSProgressLabelMaxValue; // Maximum number of values the bar can have.
   535                 width=200; // The width of the bar.
   536 				text_type=EEikProgressTextPercentage;
   537 				};
   538             },
   539 		DLG_LINE
   540             {	
   541             prompt=STRING_r_mvs_dialog_setvolume_specifyvolumeramp;
   542             type=EEikCtNumberEditor;
   543 			id=EMVSCmdSetVolumeRamp;
   544 			control= NUMBER_EDITOR
   545 				{
   546 				min = 0;
   547 				max = 10;
   548 				};
   549             }
   550         };
   551 	}
   552 
   553 RESOURCE DLG_BUTTONS r_mvs_buttons_left_right_ok_cancel
   554 	{
   555 	buttons=
   556 		{
   557 		DLG_BUTTON
   558 			{
   559 			id = EMVSButtonLeft;
   560 			button = CMBUT {txt = STRING_r_mvs_buttons_left;};
   561 			},
   562 		DLG_BUTTON
   563 			{
   564 			id = EMVSButtonRight;
   565 			button = CMBUT {txt = STRING_r_mvs_buttons_right;};
   566 			},
   567 		DLG_BUTTON
   568 			{
   569 			id = EMVSButtonCancel;
   570 			button = CMBUT {txt = STRING_r_mvs_buttons_cancel;};
   571 			},
   572 		DLG_BUTTON
   573 			{
   574 			id = EMVSButtonOk;
   575 			button = CMBUT {txt = STRING_r_mvs_buttons_ok;};
   576 			}
   577 		};
   578 	}
   579 	
   580 RESOURCE DIALOG r_mvs_dialog_setbalance
   581 	{
   582     flags=EEikDialogFlagWait;
   583 	title=STRING_r_mvs_dialog_setbalance_setbalance;
   584 	buttons = r_mvs_buttons_left_right_ok_cancel;
   585     items=
   586 		{
   587          DLG_LINE
   588             {
   589 			
   590             prompt=STRING_r_mvs_dialog_setbalance_specifybalance;
   591             type=EEikCtProgInfo;
   592 			id=EMVSSetBalance;
   593 			control=PROGRESSINFO
   594 				{
   595 				finalval=KMVSProgressLabelMaxValue; // Maximum number of values the bar can have.
   596                 width=200; // The width of the bar.
   597 				};
   598             },
   599 		DLG_LINE
   600             {	
   601             prompt="";
   602             type=EEikCtLabel;
   603 			id=EMVSSetBalanceLR;
   604 			control= LABEL
   605 				{
   606 				txt = "Left                      Right    ";
   607 				};
   608             }
   609 		};
   610 	}
   611 	
   612 RESOURCE DIALOG r_mvs_dialog_setgain
   613 	{
   614     flags=EEikDialogFlagWait;
   615 	title=STRING_r_mvs_dialog_setgain_setgain;
   616 	buttons = r_mvs_buttons_up_down_ok_cancel;
   617     items=
   618 		{
   619          DLG_LINE
   620             {	
   621             prompt=STRING_r_mvs_dialog_setgain_specifygain;
   622             type=EEikCtProgInfo;
   623 			id=EMVSCmdSetGain;
   624 			control=PROGRESSINFO
   625 				{
   626 				finalval=KMVSProgressLabelMaxValue; // Maximum number of values the bar can have.
   627                 width=200; // The width of the bar.
   628 				text_type=EEikProgressTextPercentage;
   629 				};
   630             }
   631 		};
   632 	}
   633 
   634 RESOURCE DIALOG r_mvs_dialog_setrepeats
   635 	{
   636 	flags = EEikDialogFlagWait;
   637 	title=STRING_r_mvs_dialog_setrepeats_setrepeats;
   638 	buttons = R_EIK_BUTTONS_CANCEL_OK;
   639     items=
   640 		{
   641          DLG_LINE
   642             {	
   643             prompt=STRING_r_mvs_dialog_setrepeats_specifyrepeats;
   644             type=EEikCtNumberEditor;
   645 			id=EMVSCmdSetRepeats;
   646 			control= NUMBER_EDITOR
   647 				{
   648 				min = 0;
   649 				max = 1000;
   650 				};
   651             },
   652 		DLG_LINE
   653             {	
   654             prompt=STRING_r_mvs_dialog_setrepeats_specifytrailingsilence;
   655             type=EEikCtNumberEditor;
   656 			id=EMVSCmdSetTrailingSilence;
   657 			control= NUMBER_EDITOR
   658 				{
   659 				min = 1;
   660 				max = 10;
   661 				};
   662             }
   663 		};
   664 	}
   665 	
   666 RESOURCE DIALOG r_mvs_dialog_multiplescreen
   667 	{
   668 	flags = EEikDialogFlagWait;
   669 	title=STRING_r_mvs_dialog_setscreen;
   670 	buttons = R_EIK_BUTTONS_CANCEL_OK;
   671     items=
   672 		{
   673          DLG_LINE
   674             {	
   675             prompt=STRING_r_mvs_dialog_setscreen_specifyscreen;
   676             type=EEikCtNumberEditor;
   677 			id=EMVSCmdMultiScreen;
   678 			control= NUMBER_EDITOR
   679 				{
   680 				min = 0;
   681 				max = 1000;
   682 				};
   683             }
   684 		};
   685 	}
   686 	
   687 RESOURCE DIALOG r_mvs_dialog_register
   688 	{
   689     flags=EEikDialogFlagWait;
   690 	title=STRING_r_mvs_dialog_registerfornotification;
   691 	buttons = R_EIK_BUTTONS_CANCEL_OK;
   692     items=
   693 		{
   694          DLG_LINE
   695             {	
   696             prompt=STRING_r_mvs_dialog_registerfornotification_label;
   697             type=EEikCtCheckBox;
   698 			id=EMVSRegisterForNotification;
   699             }
   700         };
   701 	}
   702 
   703 RESOURCE DLG_BUTTONS r_mvs_buttons_cancel_next
   704 	{
   705 	buttons=
   706 		{
   707 		DLG_BUTTON
   708 			{
   709 			id = EMVSButtonCancel;
   710 			button = CMBUT {txt = STRING_r_mvs_buttons_cancel;};
   711 			},
   712 		DLG_BUTTON
   713 			{
   714 			id = EMVSButtonNext;
   715 			button = CMBUT {txt = STRING_r_mvs_buttons_next;};
   716 			hotkey = EEikBidOk;
   717 			}
   718 		};
   719 	}
   720 	
   721 RESOURCE ARRAY r_mvs_array_none
   722     {
   723     items=
   724         {
   725         LBUF { txt= STRING_r_mvs_dialog_none; }
   726         };
   727     }
   728     
   729 RESOURCE DIALOG r_mvs_dialog_selectplugins
   730 	{
   731     flags=EEikDialogFlagWait;
   732 	title=STRING_r_mvs_dialog_selectplugins_selectplugins;
   733 	buttons = r_mvs_buttons_cancel_next;
   734     items=
   735 		{
   736 		 DLG_LINE
   737             {	
   738             prompt=STRING_r_mvs_dialog_selectplugins_type;
   739             type=EEikCtHorOptionButList;
   740 			id=EMVSCmdSelectMediaType;
   741 			control= HOROPBUT
   742 				{
   743 				array_id=r_mvs_media_type_array;
   744 				};
   745             },
   746             
   747          DLG_LINE
   748             {	
   749             prompt=STRING_r_mvs_dialog_selectplugins_format;
   750             type=EEikCtChoiceList;
   751 			id=EMVSCmdSelectFormat;
   752 			control= CHOICELIST
   753 				{
   754 				array_id = r_mvs_array_none;
   755 				};
   756             },
   757             
   758          DLG_LINE
   759             {	
   760             prompt=STRING_r_mvs_dialog_selectplugins_controller;
   761             type=EEikCtChoiceList;
   762 			id=EMVSCmdSelectControllerPlugin;
   763 			control=CHOICELIST
   764 				{
   765 				array_id = r_mvs_array_none;
   766 				};
   767             }
   768 		
   769 		};
   770 	}
   771 	
   772 RESOURCE DIALOG r_mvs_dialog_videoplugins
   773 	{
   774     flags=EEikDialogFlagWait;
   775 	title=STRING_r_mvs_dialog_selectplugins_videoplugins;
   776 	buttons = r_mvs_buttons_update_cancel;
   777     items=
   778 		{       
   779         DLG_LINE
   780             {	
   781             prompt=STRING_r_mvs_dialog_selectvideomime_codec;
   782             type=EEikCtChoiceList;
   783 			id=EMVSCmdSelectVideoMimeCodec;
   784 			control= CHOICELIST
   785 			    {
   786 				};
   787             },
   788          DLG_LINE
   789             {	
   790             prompt=STRING_r_mvs_dialog_selectvideoframerate;
   791             type=EEikCtChoiceList;
   792 			id=EMVSCmdSelectVideoFrameRate;
   793 			control= CHOICELIST
   794 			    {
   795 			    };
   796             },
   797          DLG_LINE
   798             {	
   799             prompt=STRING_r_mvs_dialog_selectvideoFrameSize;
   800             type=EEikCtChoiceList;
   801 			id=EMVSCmdSelectVideoFrameSize;
   802 			control= CHOICELIST
   803 			    {
   804 			    };
   805             },
   806          DLG_LINE
   807             {
   808             type=EEikCtCheckBox;
   809             prompt=STRING_r_audioenabled_dialog_settings;
   810             id=EMVSEnableAudio;
   811             },
   812          DLG_LINE
   813             {
   814             type=EEikCtCheckBox;
   815             prompt=STRING_r_audio_dialog_settings;
   816             id=EMVSRestoreVideoSettings;
   817             }
   818         };
   819 	}
   820 
   821 RESOURCE ARRAY r_mvs_media_type_array
   822     {
   823     items=
   824         {
   825         OPBUT { id = EMVSHorOptButtonAudio;
   826 				text=STRING_r_mvs_dialog_selectplugins_audiochkbox; },
   827         OPBUT { id = EMVSHorOptButtonVideo;
   828 				text=STRING_r_mvs_dialog_selectplugins_videochkbox; }
   829         };
   830     }
   831     
   832 RESOURCE DLG_BUTTONS r_mvs_buttons_update_cancel
   833 	{
   834 	buttons=
   835 		{
   836 		DLG_BUTTON
   837 			{
   838 			id = EMVSButtonCancel;
   839 			button = CMBUT {txt = STRING_r_mvs_buttons_cancel;};
   840 			hotkey = EEikBidCancel;
   841 			},
   842 		DLG_BUTTON
   843 			{
   844 			id = EMVSButtonUpdate;
   845 			button = CMBUT {txt = STRING_r_mvs_buttons_ok;};
   846 			hotkey = EEikBidOk;
   847 			}
   848 		};
   849 	}
   850 	
   851 RESOURCE DLG_BUTTONS r_mvs_buttons_update
   852 	{
   853 	buttons=
   854 		{
   855 		DLG_BUTTON
   856 			{
   857 			id = EMVSButtonOnlyUpdate;
   858 			button = CMBUT {txt = STRING_r_mvs_buttons_ok;};
   859 			hotkey = EEikBidOk;
   860 			}
   861 		};
   862 	}
   863 	
   864 RESOURCE DIALOG r_mvs_dialog_configuredataformat
   865 	{
   866     flags=EEikDialogFlagWait;
   867 	title=r_mvs_dialog_configuredataformat_configuredataformat;
   868 	buttons = r_mvs_buttons_update_cancel;
   869     items=
   870 		{         
   871         DLG_LINE
   872             {	
   873             prompt=STRING_r_mvs_dialog_selectplugins_codec;
   874             type=EEikCtChoiceList;
   875 			id=EMVSCmdSelectCodec;
   876 			control= CHOICELIST
   877 				{
   878 				};
   879             },
   880          
   881          DLG_LINE
   882             {	
   883             prompt=r_mvs_dialog_configuredataformat_bitrate;
   884             type=EEikCtChoiceList;
   885 			id=EMVSSetBitrate;
   886 			control= CHOICELIST
   887 				{
   888 				};
   889             },
   890 
   891 		DLG_LINE
   892             {	
   893             prompt=r_mvs_dialog_configuredataformat_nochannels;
   894             type=EEikCtChoiceList;
   895 			id=EMVSSetNoOfChannels;
   896 			control= CHOICELIST
   897 				{
   898 				};
   899             },
   900 
   901 		DLG_LINE
   902             {	
   903             prompt=r_mvs_dialog_configuredataformat_samplerate;
   904             type=EEikCtChoiceList;
   905 			id=EMVSSetSamplerate;
   906 			control= CHOICELIST
   907 				{
   908 				};
   909             },
   910         DLG_LINE
   911             {
   912             type=EEikCtCheckBox;
   913             prompt=STRING_r_audio_dialog_settings;
   914             id=EMVSRestoreAudioSettings;
   915             }
   916 		};
   917 	}
   918 
   919 RESOURCE ARRAY r_mvs_dialog_configuredataformat_formats
   920       {
   921       items=
   922           {
   923           LBUF { txt= STRING_r_mvs_dialog_configuredataformat_formats_wav; }
   924           };    
   925 
   926       }
   927 
   928 RESOURCE ARRAY r_mvs_dialog_configuredataformat_codecs
   929       {
   930       items=
   931           {
   932           LBUF { txt= STRING_r_mvs_dialog_configuredataformat_codecs_pcm16; }
   933           };    
   934 
   935       }
   936       
   937 // The array associated with the configure data format dialog.
   938 
   939 RESOURCE ARRAY r_mvs_dialog_configuredataformat_bitrates
   940       {
   941       items=
   942           {
   943           LBUF { txt= STRING_r_mvs_dialog_configuredataformat_bitrates_128; }
   944           };    
   945 
   946       }
   947 
   948 
   949 RESOURCE ARRAY r_mvs_dialog_configuredataformat_samplerates
   950       {
   951       items=
   952           {
   953           LBUF { txt= STRING_r_mvs_dialog_configuredataformat_samplerates_8000; },
   954 		  LBUF { txt= STRING_r_mvs_dialog_configuredataformat_samplerates_11025; },
   955 		  LBUF { txt= STRING_r_mvs_dialog_configuredataformat_samplerates_16000; },
   956 		  LBUF { txt= STRING_r_mvs_dialog_configuredataformat_samplerates_22050; },
   957 		  LBUF { txt= STRING_r_mvs_dialog_configuredataformat_samplerates_32000; },
   958 		  LBUF { txt= STRING_r_mvs_dialog_configuredataformat_samplerates_44100; },
   959 		  LBUF { txt= STRING_r_mvs_dialog_configuredataformat_samplerates_48000; }
   960 		  };    
   961 
   962       }
   963 
   964 RESOURCE ARRAY r_mvs_dialog_configuredataformat_no_of_channels
   965       {
   966       items=
   967           {
   968           LBUF { txt= STRING_r_mvs_dialog_configuredataformat_nochannels_mono; },
   969 		  LBUF { txt= STRING_r_mvs_dialog_configuredataformat_nochannels_stereo; }
   970           };    
   971 
   972       }
   973 
   974 
   975 RESOURCE DIALOG r_mvs_dialog_setmetainfo
   976 	{
   977     flags=EEikDialogFlagWait;
   978 	title=STRING_r_mvs_dialog_setmetainfo_setmetainfo;
   979 	buttons = r_mvs_buttons_update_cancel;
   980     items=
   981 		{
   982          DLG_LINE
   983             {	
   984             prompt= STRING_r_mvs_dialog_viewmetainfo_title;
   985             type=EEikCtEdwin;
   986 			id=EMVSMeta1;
   987 			control= EDWIN
   988 				{
   989 				flags = 0;
   990 				width = 15;
   991 				lines = 1;
   992 				maxlength = 20;
   993 				};
   994             },
   995 
   996 		DLG_LINE
   997             {	
   998             prompt=STRING_r_mvs_dialog_viewmetainfo_author;
   999             type=EEikCtEdwin;
  1000 			id=EMVSMeta2;
  1001 			control= EDWIN
  1002 				{
  1003 				flags = 0;
  1004 				width = 15;
  1005 				lines = 1;
  1006 				maxlength = 20;
  1007 				};
  1008             },
  1009 
  1010 		DLG_LINE
  1011             {	
  1012             prompt=STRING_r_mvs_dialog_viewmetainfo_copyright;
  1013             type=EEikCtEdwin;
  1014 			id=EMVSMeta3;
  1015 			control= EDWIN
  1016 				{
  1017 				flags = 0;
  1018 				width = 10;
  1019 				lines = 1;
  1020 				maxlength = 15;
  1021 				};
  1022             },
  1023 
  1024 		DLG_LINE
  1025             {	
  1026             prompt=STRING_r_mvs_dialog_viewmetainfo_revision;
  1027             type=EEikCtEdwin;
  1028 			id=EMVSMeta4;
  1029 			control= EDWIN
  1030 				{
  1031 				flags = 0;
  1032 				width = 5;
  1033 				lines = 1;
  1034 				maxlength = 8;
  1035 				};
  1036             },
  1037 
  1038 		DLG_LINE
  1039             {	
  1040             prompt=STRING_r_mvs_dialog_viewmetainfo_category;
  1041             type=EEikCtEdwin;
  1042 			id=EMVSMeta5;
  1043 			control= EDWIN
  1044 				{
  1045 				flags = 0;
  1046 				width = 10;
  1047 				lines = 1;
  1048 				maxlength = 15;
  1049 				};
  1050             },
  1051 
  1052 		DLG_LINE
  1053             {	
  1054             prompt=STRING_r_mvs_dialog_viewmetainfo_comments;
  1055             type=EEikCtEdwin;
  1056 			id=EMVSMeta6;
  1057 			control= EDWIN
  1058 				{
  1059 				flags = 0;
  1060 				width = 15;
  1061 				lines = 2;
  1062 				maxlength = 40;
  1063 				};
  1064             }
  1065 		};
  1066 	}
  1067 
  1068 
  1069 //
  1070 //
  1071 //SYSTEM INFO
  1072 RESOURCE DIALOG r_new_mvs_dialog_systeminfo
  1073 	{
  1074     flags=EEikDialogFlagWait;
  1075 	title=STRING_mvs_file_menu_systeminfo;
  1076 	buttons = r_mvs_buttons_update;
  1077     items=
  1078 		{
  1079         DLG_LINE
  1080             {
  1081 		    prompt="";
  1082       		type=EEikCtEdwin;
  1083 			id=EMVSCmdSystemInfo;
  1084 			control=EDWIN
  1085 				{
  1086 				width=45;
  1087 				lines=25;
  1088 				};
  1089             }
  1090 		 };
  1091 	}
  1092 
  1093 
  1094 //
  1095 //
  1096 //VIDEO SETTINGS
  1097 RESOURCE DIALOG r_mvs_video_dialog_videosetting
  1098 	{
  1099     flags=EEikDialogFlagWait;
  1100 	title=STRING_r_newvideo_dialog_video_videosetting;
  1101 	buttons = r_mvs_buttons_update_cancel;
  1102     items=
  1103 		{
  1104        	DLG_LINE
  1105             {	
  1106             prompt=STRING_r_newvideo_dialog_video_rotation;
  1107             type=EEikCtChoiceList;
  1108 			id=EMVSVideoRotationSettings;
  1109 			control= CHOICELIST
  1110 				{
  1111 				array_id = r_newmvs_dialog_setvideorotation_choicelist;
  1112 				};
  1113             },
  1114         DLG_LINE
  1115             {	
  1116             prompt=STRING_r_newvideo_dialog_video_scalewidth;
  1117             type=EEikCtFlPtEd;
  1118 			id=EMVSCmdScaleWidth;
  1119 			control= FLPTED
  1120 				{
  1121 				min = 1;
  1122 				max = 1000;
  1123 				};
  1124             trailer="%";
  1125             },
  1126         DLG_LINE
  1127             {	
  1128             prompt=STRING_r_newvideo_dialog_video_scaleheight;
  1129             type=EEikCtFlPtEd;
  1130 			id=EMVSCmdScaleHeight;
  1131 			control= FLPTED 
  1132 				{
  1133 				min = 1;
  1134 				max = 1000;
  1135 				};
  1136 			trailer="%";
  1137             },
  1138         DLG_LINE
  1139             {	
  1140             prompt=STRING_r_newvideo_dialog_video_antialiasfiltering;
  1141             type=EEikCtCheckBox;
  1142             id=EMVSAntiAliasFiltering;
  1143 			},
  1144         DLG_LINE
  1145             {
  1146 		    prompt="";
  1147             type=EEikCtLabel;
  1148 			id=EMVSVideoCmdSettings;
  1149 			control=LABEL
  1150 				{
  1151 				txt = "_____________________________________________________";
  1152 				};
  1153             },
  1154         DLG_LINE
  1155             {
  1156 		    prompt="";
  1157             type=EEikCtLabel;
  1158 			id=EMVSVideoCmdSettings;
  1159 			control=LABEL
  1160 				{
  1161 				txt = "CROP REGION";         
  1162 				};
  1163             },
  1164 		DLG_LINE
  1165             {
  1166             prompt=STRING_r_newvideo_dialog_video_top_left_x;
  1167             type=EEikCtNumberEditor;
  1168             id=EMVSCmdSetTopLeftx;
  1169 			control= NUMBER_EDITOR
  1170 				{
  1171 				min = 0;
  1172 				max = 1000;
  1173 				};
  1174             },
  1175         DLG_LINE
  1176             {	
  1177             prompt=STRING_r_newvideo_dialog_video_top_left_y;
  1178             type=EEikCtNumberEditor;
  1179             id=EMVSCmdSetTopLefty;
  1180 			control= NUMBER_EDITOR
  1181 				{
  1182 				min = 0;
  1183 				max = 1000;
  1184 				};
  1185             },
  1186         DLG_LINE
  1187             {	
  1188             prompt=STRING_r_newvideo_dialog_video_bottom_right_x;
  1189             type=EEikCtNumberEditor;
  1190             id=EMVSCmdSetBottomRightx;
  1191 			control= NUMBER_EDITOR
  1192 				{
  1193 				min = 0;
  1194 				max = 1000;
  1195 				};
  1196             },
  1197         DLG_LINE
  1198             {	
  1199             prompt=STRING_r_newvideo_dialog_video_bottom_right_y;
  1200             type=EEikCtNumberEditor;
  1201             id=EMVSCmdSetBottomRighty; 
  1202 			control= NUMBER_EDITOR
  1203 				{
  1204 				min = 0;
  1205 				max = 1000;
  1206 				};
  1207             },
  1208         DLG_LINE
  1209             {
  1210 		    prompt="";
  1211             type=EEikCtLabel;
  1212 			id=EMVSVideoCmdSettings;
  1213 			control=LABEL
  1214 				{
  1215 				txt = "_____________________________________________________";
  1216 				};
  1217             },
  1218         DLG_LINE
  1219             {
  1220 		    prompt="";
  1221             type=EEikCtLabel;
  1222 			id=EMVSVideoCmdSettings;
  1223 			control=LABEL
  1224 				{
  1225 				txt = "VIDEO EXTENT REGION";
  1226 				};
  1227             },
  1228 		DLG_LINE
  1229             {	
  1230             prompt=STRING_r_newvideo_dialog_video_top_left_x;
  1231             type=EEikCtNumberEditor;
  1232             id=EMVSCmdSetVideoExtentTopLeftx;
  1233 			control= NUMBER_EDITOR
  1234 				{
  1235 				min = 0;
  1236 				max = 1000;
  1237 				};
  1238             },
  1239         DLG_LINE
  1240             {	
  1241             prompt=STRING_r_newvideo_dialog_video_top_left_y;
  1242             type=EEikCtNumberEditor;
  1243             id=EMVSCmdSetVideoExtentTopLefty;
  1244 			control= NUMBER_EDITOR
  1245 				{
  1246 				min = 0;
  1247 				max = 1000;
  1248 				};
  1249             },
  1250         DLG_LINE
  1251             {	
  1252             prompt=STRING_r_newvideo_dialog_video_bottom_right_x;
  1253             type=EEikCtNumberEditor;
  1254             id=EMVSCmdSetVideoExtentBottomRightx;
  1255 			control= NUMBER_EDITOR
  1256 				{
  1257 				min = 0;
  1258 				max = 1000;
  1259 				};
  1260             },
  1261         DLG_LINE
  1262             {	
  1263             prompt=STRING_r_newvideo_dialog_video_bottom_right_y;
  1264             type=EEikCtNumberEditor;
  1265             id=EMVSCmdSetVideoExtentBottomRighty;
  1266 			control= NUMBER_EDITOR
  1267 				{
  1268 				min = 0;
  1269 				max = 1000;
  1270 				};
  1271             },
  1272         DLG_LINE
  1273             {
  1274 		    prompt="";
  1275             type=EEikCtLabel;
  1276 			id=EMVSVideoCmdSettings;
  1277 			control=LABEL
  1278 				{
  1279 				txt = "_____________________________________________________";
  1280 				};
  1281             },
  1282         DLG_LINE
  1283             {
  1284 		    prompt="";
  1285             type=EEikCtLabel;
  1286 			id=EMVSVideoCmdSettings;
  1287 			control=LABEL
  1288 				{
  1289 				txt = "WINDOW CLIPPING REGION";
  1290 				};
  1291             },
  1292 		DLG_LINE
  1293             {	
  1294             prompt=STRING_r_newvideo_dialog_video_top_left_x;
  1295             type=EEikCtNumberEditor;
  1296             id=EMVSCmdSetWindowClipTopLeftx;
  1297 			control= NUMBER_EDITOR
  1298 				{
  1299 				min = 0;
  1300 				max = 1000;
  1301 				};
  1302             },
  1303         DLG_LINE
  1304             {	
  1305             prompt=STRING_r_newvideo_dialog_video_top_left_y;
  1306             type=EEikCtNumberEditor;
  1307             id=EMVSCmdSetWindowClipTopLefty;
  1308 			control= NUMBER_EDITOR
  1309 				{
  1310 				min = 0;
  1311 				max = 1000;
  1312 				};
  1313             },
  1314         DLG_LINE
  1315             {	
  1316             prompt=STRING_r_newvideo_dialog_video_bottom_right_x;
  1317             type=EEikCtNumberEditor;
  1318             id=EMVSCmdSetWindowClipBottomRightx;
  1319 			control= NUMBER_EDITOR
  1320 				{
  1321 				min = 0;
  1322 				max = 1000;
  1323 				};
  1324             },
  1325         DLG_LINE
  1326             {	
  1327             prompt=STRING_r_newvideo_dialog_video_bottom_right_y;
  1328             type=EEikCtNumberEditor;
  1329             id=EMVSCmdSetWindowClipBottomRighty;
  1330 			control= NUMBER_EDITOR
  1331 				{
  1332 				min = 0;
  1333 				max = 1000;
  1334 				};
  1335             },
  1336         DLG_LINE
  1337             {
  1338 		    prompt="";
  1339             type=EEikCtLabel;
  1340 			id=EMVSVideoCmdSettings;
  1341 			control=LABEL
  1342 				{
  1343 				txt = "_______________________________________________________";
  1344 				};
  1345             },
  1346         DLG_LINE
  1347                 {
  1348                 type=EEikCtCheckBox;
  1349                 prompt=STRING_r_newvideo_dialog_video_display_overlay_text;
  1350                 id=EMVSCmdSetDisplayOverlayText;
  1351                 },          
  1352         DLG_LINE
  1353             {	
  1354             prompt=STRING_r_newvideo_dialog_video_display_overlay_text;
  1355             type=EEikCtEdwin;
  1356             id=EMVSCmdSetOverlayText;
  1357 			control= EDWIN
  1358 				{
  1359                 width = 20;
  1360                 maxlength = 50;				
  1361 				};
  1362             },
  1363         DLG_LINE
  1364             {
  1365 		    prompt="";
  1366             type=EEikCtLabel;
  1367 			id=EMVSVideoCmdSettings;
  1368 			control=LABEL
  1369 				{
  1370 				txt = "_____________________________________________________";
  1371 				};
  1372             },                        
  1373         DLG_LINE
  1374                 {
  1375                 type=EEikCtCheckBox;
  1376                 prompt=STRING_r_newvideo_dialog_video_viewfinder;
  1377                 id=EMVSVideoCmdSettings;
  1378                 },          
  1379         DLG_LINE
  1380             {	
  1381             prompt=STRING_r_newvideo_dialog_video_cameraindex;
  1382             type=EEikCtNumberEditor;
  1383             id=EMVSVideoCmdSettings;
  1384 			control= NUMBER_EDITOR
  1385 				{
  1386 				min = 1;
  1387 				max = 1000;
  1388 				};
  1389             },
  1390         DLG_LINE
  1391             {
  1392 		    prompt="";
  1393             type=EEikCtLabel;
  1394 			id=EMVSVideoCmdSettings;
  1395 			control=LABEL
  1396 				{
  1397 				txt = "_______________________________________________________";
  1398 				};
  1399             },
  1400         DLG_LINE
  1401             {	
  1402             prompt=STRING_r_newvideo_dialog_video_camerapriority;
  1403             type=EEikCtNumberEditor;
  1404             id=EMVSVideoCmdSettings;
  1405 			control= NUMBER_EDITOR
  1406 				{
  1407 				min = 1;
  1408 				max = 1000;
  1409 				};
  1410             },
  1411         DLG_LINE
  1412             {	
  1413             prompt="";
  1414             type=EEikCtLabel;
  1415 			id=EMVSVideoCmdSettings;
  1416 			control= LABEL
  1417 				{
  1418 				
  1419 				};
  1420             },
  1421         DLG_LINE
  1422             {
  1423 		    prompt="";
  1424             type=EEikCtLabel;
  1425 			id=EMVSVideoCmdSettings;
  1426 			control=LABEL
  1427 				{
  1428 				txt = "_______________________________________________________";
  1429 				};
  1430             },
  1431         DLG_LINE
  1432             {	
  1433             prompt=STRING_r_newvideo_dialog_video_auto_scale_type;
  1434             type=EEikCtChoiceList;
  1435 			id=EMVSAutoScaleType;
  1436 			control= CHOICELIST
  1437 				{
  1438 				array_id = r_newmvs_dialog_setautoscale_type_choicelist;
  1439 				};
  1440             },
  1441         DLG_LINE
  1442             {	
  1443             prompt=STRING_r_newvideo_dialog_video_auto_scale_horiz;
  1444             type=EEikCtChoiceList;
  1445 			id=EMVSAutoScaleHoriz;
  1446 			control= CHOICELIST
  1447 				{
  1448 				array_id = r_newmvs_dialog_setautoscale_horiz_choicelist;
  1449 				};
  1450             },
  1451 		DLG_LINE
  1452             {	
  1453             prompt=STRING_r_newvideo_dialog_video_auto_scale_horiz_pos;
  1454             type=EEikCtNumberEditor;
  1455             id=EMVSAutoScaleHorizPos;
  1456 			control= NUMBER_EDITOR
  1457 				{
  1458 				min = -1000;
  1459 				max = 1000;
  1460 				};
  1461             },
  1462         DLG_LINE
  1463             {	
  1464             prompt=STRING_r_newvideo_dialog_video_auto_scale_vert;
  1465             type=EEikCtChoiceList;
  1466 			id=EMVSAutoScaleVert;
  1467 			control= CHOICELIST
  1468 				{
  1469 				array_id = r_newmvs_dialog_setautoscale_vert_choicelist;
  1470 				};
  1471             },
  1472 		DLG_LINE
  1473             {	
  1474             prompt=STRING_r_newvideo_dialog_video_auto_scale_vert_pos;
  1475             type=EEikCtNumberEditor;
  1476             id=EMVSAutoScaleVertPos;
  1477 			control= NUMBER_EDITOR
  1478 				{
  1479 				min = -1000;
  1480 				max = 1000;
  1481 				};
  1482             },
  1483          DLG_LINE
  1484          	{
  1485          	prompt=STRING_r_newvideo_dialog_pip;
  1486          	type=EEikCtCheckBox;
  1487          	id=EMVSPIP;
  1488          	},
  1489 		 DLG_LINE
  1490 			{
  1491 			prompt=STRING_r_newvideo_dialog_crp;
  1492 			type=EEikCtCheckBox;
  1493 			id=EMVSCRP;
  1494 			}
  1495 		};
  1496 	}
  1497 
  1498 
  1499 RESOURCE ARRAY r_newmvs_dialog_setvideorotation_choicelist
  1500       {
  1501       items=
  1502           {
  1503           LBUF { txt= STRING_r_mvs_dialog_setrotationnone; },
  1504           LBUF { txt= STRING_r_mvs_dialog_setrotationClockwise90; },
  1505           LBUF { txt= STRING_r_mvs_dialog_setrotationClockwise180; },
  1506           LBUF { txt= STRING_r_mvs_dialog_setrotationClockwise270; }
  1507           };
  1508 
  1509       }
  1510 
  1511 RESOURCE ARRAY r_newmvs_dialog_setautoscale_type_choicelist
  1512       {
  1513       items=
  1514           {
  1515           LBUF { txt= STRING_r_newvideo_dialog_video_auto_scale_none; },
  1516           LBUF { txt= STRING_r_newvideo_dialog_video_auto_scale_best_fit; },
  1517           LBUF { txt= STRING_r_newvideo_dialog_video_auto_scale_clip; },
  1518           LBUF { txt= STRING_r_newvideo_dialog_video_auto_scale_stretch; }
  1519           };
  1520       }
  1521 
  1522 RESOURCE ARRAY r_newmvs_dialog_setautoscale_horiz_choicelist
  1523       {
  1524       items=
  1525           {
  1526           LBUF { txt= STRING_r_newvideo_dialog_video_auto_scale_left; },
  1527           LBUF { txt= STRING_r_newvideo_dialog_video_auto_scale_center; },
  1528           LBUF { txt= STRING_r_newvideo_dialog_video_auto_scale_right; },
  1529           LBUF { txt= STRING_r_newvideo_dialog_video_auto_scale_custom; }
  1530           };
  1531       }
  1532 
  1533 RESOURCE ARRAY r_newmvs_dialog_setautoscale_vert_choicelist
  1534       {
  1535       items=
  1536           {
  1537           LBUF { txt= STRING_r_newvideo_dialog_video_auto_scale_top; },
  1538           LBUF { txt= STRING_r_newvideo_dialog_video_auto_scale_center; },
  1539           LBUF { txt= STRING_r_newvideo_dialog_video_auto_scale_bottom; },
  1540           LBUF { txt= STRING_r_newvideo_dialog_video_auto_scale_custom; }
  1541           };
  1542       }
  1543 
  1544 /*//
  1545 //
  1546 //Audio Settings*/
  1547 RESOURCE DIALOG r_new_mvs_dialog_audiosetting
  1548 	{
  1549     flags=EEikDialogFlagWait;
  1550 	title=STRING_mvs_file_menu_audiosetting;
  1551 	buttons = r_mvs_buttons_update_cancel;
  1552     items=
  1553 		{
  1554         DLG_LINE
  1555             {
  1556 		    prompt=STRING_mvs_settings_audio_menu_setrepeats;
  1557             type=EEikCtNumberEditor;
  1558 			id=EMVSCmdSetRepeats;
  1559 			control= NUMBER_EDITOR
  1560 				{
  1561 				min = 0;
  1562 				max = 1000;
  1563 				};
  1564             },
  1565 		DLG_LINE
  1566             {	
  1567             prompt=STRING_mvs_audiosetting_dialog_delay;
  1568             type=EEikCtNumberEditor;
  1569 			id=EMVSCmdSetTrailingSilence;
  1570 			control= NUMBER_EDITOR
  1571 				{
  1572 				min = 1;
  1573 				max = 10;
  1574 				};
  1575 			trailer="sec";
  1576             },
  1577         DLG_LINE
  1578             {
  1579             type=EEikCtCheckBox;
  1580             prompt=STRING_r_audiosetting_dialog_playonopen;
  1581             id=EMVSCmdAudioSetting;
  1582             },      
  1583         DLG_LINE
  1584             {	
  1585             prompt=STRING_mvs_settings_audio_menu_setaudiopriority;
  1586             type=EEikCtChoiceList;
  1587 			id=EMVSCmdSetAudioPriority;
  1588 			control= CHOICELIST
  1589 				{
  1590 				array_id = r_newmvs_dialog_setaudiopriority_choicelist;
  1591 				};
  1592             },
  1593 		DLG_LINE
  1594             {	
  1595             prompt= STRING_mvs_settings_audio_menu_setaudioprioritypreference;
  1596             type=EEikCtChoiceList;
  1597 			id=EMVSCmdSetAudioPriorityPreference;
  1598 			control= CHOICELIST
  1599 				{
  1600 				array_id = r_newmvs_dialog_setprioritypreference_choicelist;
  1601 				};
  1602             },
  1603         DLG_LINE
  1604             {
  1605             type=EEikCtCheckBox;
  1606             prompt=STRING_r_audiosetting_dialog_autopauseresume;
  1607             id=EMVSAutoPauseResume;
  1608             },
  1609         DLG_LINE
  1610             {	
  1611             type=EEikCtNumberEditor;
  1612             prompt=STRING_r_audiosetting_dialog_maxfilesize;
  1613 			id=EMVSCmdSetMaxFileSizeNum;
  1614 			control= NUMBER_EDITOR
  1615 				{
  1616 				min = 0;
  1617 				max = 2147483647;
  1618 				};
  1619             }
  1620        	};
  1621 	}
  1622 
  1623 RESOURCE ARRAY r_newmvs_dialog_setaudiopriority_choicelist
  1624       {
  1625       items=
  1626           {
  1627           LBUF { txt= STRING_r_mvs_dialog_setaudiopriority_min; },
  1628           LBUF { txt= STRING_r_mvs_dialog_setaudiopriority_normal; },
  1629           LBUF { txt= STRING_r_mvs_dialog_setaudiopriority_max; }
  1630           };    
  1631 
  1632       }
  1633 
  1634 RESOURCE ARRAY r_newmvs_dialog_setprioritypreference_choicelist
  1635       {
  1636       items=
  1637           {
  1638           LBUF { txt= STRING_r_mvs_dialog_setprioritypreference_None; },
  1639           LBUF { txt= STRING_r_mvs_dialog_setprioritypreference_time; },
  1640           LBUF { txt= STRING_r_mvs_dialog_setprioritypreference_quality; },
  1641           LBUF { txt= STRING_r_mvs_dialog_setprioritypreference_both; }
  1642           };    
  1643 
  1644       }
  1645 
  1646 
  1647 
  1648 //
  1649 //
  1650 //SETPLAYWINDOW
  1651 
  1652 RESOURCE DIALOG r_mvs_dialog_setplaywindow
  1653 	{
  1654     flags=EEikDialogFlagWait;
  1655 	title=STRING_r_mvs_dialog_setplaywindow ;
  1656 	buttons = r_mvs_buttons_update_cancel;
  1657     items=
  1658 		{
  1659 	    DLG_LINE
  1660             {	
  1661             prompt=STRING_r_mvs_dialog_setplaywindow_start;
  1662             type=EEikCtNumberEditor;
  1663 			id=EMVSCmdSetPlayWindowStart;
  1664 			control= NUMBER_EDITOR
  1665 				{
  1666 				min = 0;
  1667 				max = 2147483647;
  1668 				};
  1669 			trailer="ms";
  1670 		    },
  1671 		DLG_LINE
  1672             {	
  1673             prompt=STRING_r_mvs_dialog_setplaywindow_end;
  1674             type=EEikCtNumberEditor;
  1675 			id=EMVSCmdSetPlayWindowEnd;
  1676 			control= NUMBER_EDITOR
  1677 				{
  1678 				min = 0;
  1679 				max = 2147483647;//This will be updated when seeded
  1680 				};
  1681 			trailer="ms";
  1682             }
  1683 		};
  1684 	}
  1685 
  1686 //
  1687 //CROP DIALOG
  1688 // This dialog is used to crop the audio clip.
  1689 //	
  1690 RESOURCE DIALOG r_mvs_dialog_crop
  1691 	{
  1692     flags=EEikDialogFlagWait;
  1693 	title=STRING_r_mvs_dialog_crop_crop;
  1694 	buttons = r_mvs_buttons_crop_cancel;
  1695     items=
  1696 		{
  1697 		DLG_LINE
  1698             {	
  1699             prompt=STRING_r_mvs_dialog_crop_leftright;
  1700             type=EEikCtHorOptionButList;
  1701 			id=EMVSCmdCropLeftRight;
  1702 			control= HOROPBUT
  1703 				{
  1704 				array_id=r_mvs_crop_left_right_array;
  1705 				};
  1706             },
  1707 		DLG_LINE
  1708             {	
  1709             prompt=STRING_r_mvs_dialog_crop_position;
  1710             type=EEikCtNumberEditor;
  1711 			id=EMVSCmdCropPositionNumber;
  1712 			control= NUMBER_EDITOR
  1713 				{
  1714 				min = 0;
  1715 				max = 9999999;//This will be updated when seeded
  1716 				};
  1717 			trailer="sec";
  1718             }
  1719 		};
  1720 	}
  1721 
  1722 RESOURCE ARRAY r_mvs_crop_left_right_array
  1723     {
  1724     items=
  1725         {
  1726         OPBUT { id = EMVSHorOptButtonCropFromBeginning;
  1727 				text=STRING_r_mvs_crop_left_right_array_left; },
  1728         OPBUT { id = EMVSHorOptButtonCropFromEnd;
  1729 				text=STRING_r_mvs_crop_left_right_array_right; }
  1730         };
  1731     }
  1732 
  1733 
  1734 RESOURCE PROGRESSINFO r_clip_progressinfo
  1735 	{
  1736 	text_type=0;
  1737 	splits_in_block=50;
  1738 	finalval=200;
  1739 	width=0;
  1740 	height=0;
  1741 	}
  1742 	
  1743 //
  1744 //
  1745 //
  1746 //Crop button
  1747 //
  1748 //
  1749 RESOURCE DLG_BUTTONS r_mvs_buttons_crop_cancel
  1750 	{
  1751 	buttons=
  1752 		{
  1753 		DLG_BUTTON
  1754 			{
  1755 			id = EMVSButtonCancel;
  1756 			button = CMBUT {txt = STRING_r_mvs_buttons_cancel;};
  1757 			hotkey = EEikBidCancel;
  1758 			},
  1759 		DLG_BUTTON
  1760 			{
  1761 			id = EMVSButtonUpdate;
  1762 			button = CMBUT {txt = STRING_r_mvs_buttons_crop;};
  1763 			hotkey = EEikBidOk;
  1764 			}
  1765 		};
  1766 	}
  1767 
  1768 //
  1769 //View Related//
  1770 //
  1771 RESOURCE TBUF r_idle			{ buf =  STRING_KIdle;			}
  1772 RESOURCE TBUF r_playing			{ buf =  STRING_KPlaying;		}
  1773 RESOURCE TBUF r_ready			{ buf =  STRING_KReady;			}
  1774 RESOURCE TBUF r_paused			{ buf =  STRING_KPaused;		}
  1775 RESOURCE TBUF r_recording		{ buf =  STRING_KRecording;		}
  1776 RESOURCE TBUF r_nofile          { buf =  STRING_KNoFile;	    } 
  1777 RESOURCE TBUF r_open            { buf =  STRING_KOpen;			}
  1778 RESOURCE TBUF r_zerotime        { buf =  STRING_KZeroTime;  	}
  1779 
  1780 RESOURCE TBUF r_dollardollar	{ buf =  STRING_KDollarDollar;	}
  1781 RESOURCE TBUF r_percent			{ buf =  STRING_KPercent;		}
  1782 RESOURCE TBUF r_volume			{ buf =  STRING_KVolume;		}
  1783 RESOURCE TBUF r_volumeramp		{ buf =  STRING_KVolumeRamp;	}
  1784 RESOURCE TBUF r_balance			{ buf =  STRING_KBalance;		}
  1785 RESOURCE TBUF r_cropstart		{ buf =  STRING_KCropStart;		}
  1786 RESOURCE TBUF r_cropend			{ buf =  STRING_KCropEnd;		}
  1787 RESOURCE TBUF r_norepeats		{ buf =  STRING_KNoRepeats;		}
  1788 RESOURCE TBUF r_repeatdelay		{ buf =  STRING_KRepeatDelay;	}
  1789 RESOURCE TBUF r_audiopriority	{ buf =  STRING_KAudioPriority;	}
  1790 RESOURCE TBUF r_gain			{ buf =  STRING_KGain;			}
  1791 RESOURCE TBUF r_tabspace		{ buf =  STRING_KTabSpace;		}
  1792 RESOURCE TBUF r_ms				{ buf =  STRING_Kms;			}
  1793 RESOURCE TBUF r_cliplength		{ buf =  STRING_KClipLength;	}
  1794 RESOURCE TBUF r_left			{ buf =  STRING_KLeftOpen;		}
  1795 RESOURCE TBUF r_right			{ buf =  STRING_KRightOpen;		}
  1796 RESOURCE TBUF r_close			{ buf =  STRING_KClose;			}
  1797 RESOURCE TBUF r_nocrop			{ buf =  STRING_KNoCrop;		}
  1798 RESOURCE TBUF r_welcome			{ buf =  STRING_KWelcome;		}
  1799 RESOURCE TBUF r_center			{ buf =  STRING_KCenter;		}
  1800 RESOURCE TBUF r_ramp			{ buf =  STRING_KRamp;			}
  1801 RESOURCE TBUF r_format			{ buf =  STRING_KFormat;		}
  1802 RESOURCE TBUF r_bitrate 		{ buf =  STRING_KBitRate;   	}
  1803 RESOURCE TBUF r_samplerate 		{ buf =  STRING_KSampleRate;   	}
  1804 RESOURCE TBUF r_channels 		{ buf =  STRING_KChannels;   	}
  1805 RESOURCE TBUF r_audioenabled    { buf =  STRING_KAudioEnabled;  }
  1806 RESOURCE TBUF r_audionotenabled { buf =  STRING_KAudioNotEnabled;  }