1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/mm/mmlibs/mmfw/tsrc/mmvalidationsuite/mmvalidationsuiteapp/src/MVSApp.rss Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,1806 @@
1.4 +// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
1.5 +// All rights reserved.
1.6 +// This component and the accompanying materials are made available
1.7 +// under the terms of "Eclipse Public License v1.0"
1.8 +// which accompanies this distribution, and is available
1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.10 +//
1.11 +// Initial Contributors:
1.12 +// Nokia Corporation - initial contribution.
1.13 +//
1.14 +// Contributors:
1.15 +//
1.16 +// Description:
1.17 +// Part of the MVS Application for TechView
1.18 +//
1.19 +
1.20 +
1.21 +NAME NEWA
1.22 +
1.23 +#include <techview/eikon.rh>
1.24 +#include <uikon.rh>
1.25 +#include <techview/eikon.hrh>
1.26 +#include <uiklafgt/eikcore.rsg>
1.27 +#include <eikcoctl.rsg>
1.28 +#include <eikctl.rsg>
1.29 +#include <eikfile.rsg>
1.30 +#include <eikprint.rsg>
1.31 +
1.32 +#include <mvsapp.mbg>
1.33 +
1.34 +
1.35 +//enums for the resource file and application
1.36 +#include "MVSApp.hrh"
1.37 +
1.38 +//string defs
1.39 +#include "MVSApp.rls"
1.40 +
1.41 +RESOURCE RSS_SIGNATURE { }
1.42 +
1.43 +RESOURCE TBUF
1.44 + {
1.45 + buf = "";
1.46 + }
1.47 +
1.48 +RESOURCE EIK_APP_INFO
1.49 + {
1.50 + hotkeys = r_mvs_hotkeys;
1.51 + menubar = r_mvs_menubar;
1.52 + toolbar = r_mvs_toolbar;
1.53 + toolband = r_mvs_toolbar2;
1.54 + }
1.55 +
1.56 +RESOURCE HOTKEYS r_mvs_hotkeys
1.57 + {
1.58 + control =
1.59 + {
1.60 + HOTKEY
1.61 + {
1.62 + command = EMVSCmdExit;
1.63 + key = HOTKEY_EEikCmdExit;
1.64 + },
1.65 + HOTKEY
1.66 + {
1.67 + command = EMVSCmdNew;
1.68 + key = HOTKEY_EMVSNew;
1.69 + },
1.70 + HOTKEY
1.71 + {
1.72 + command = EMVSCmdOpen;
1.73 + key = HOTKEY_EMVSOpen;
1.74 + },
1.75 + HOTKEY
1.76 + {
1.77 + command = EMVSCmdRecord;
1.78 + key = HOTKEY_EMVSRecord;
1.79 + },
1.80 + HOTKEY
1.81 + {
1.82 + command = EMVSCmdClose;
1.83 + key = HOTKEY_EMVSClose;
1.84 + },
1.85 + HOTKEY
1.86 + {
1.87 + command = EMVSButtonCancel;
1.88 + key = HOTKEY_EMVSCancel;
1.89 + }
1.90 + };
1.91 + plain =
1.92 + {
1.93 + HOTKEY
1.94 + {
1.95 + command = EMVSCmdPlay;
1.96 + key = HOTKEY_EMVSPlay;
1.97 + },
1.98 + HOTKEY
1.99 + {
1.100 + command = EMVSCmdPause;
1.101 + key = HOTKEY_EMVSPause;
1.102 + },
1.103 + HOTKEY
1.104 + {
1.105 + command = EMVSCmdStop;
1.106 + key = HOTKEY_EMVSStop;
1.107 + }
1.108 + };
1.109 + }
1.110 +
1.111 +RESOURCE MENU_BAR r_mvs_menubar
1.112 + {
1.113 + titles =
1.114 + {
1.115 + MENU_TITLE
1.116 + {
1.117 + menu_pane = r_mvs_file_menu;
1.118 + txt = STRING_mvs_file_menu;
1.119 + },
1.120 + MENU_TITLE
1.121 + {
1.122 + menu_pane = r_mvs_edit_menu;
1.123 + txt = STRING_mvs_edit_menu;
1.124 + },
1.125 + MENU_TITLE
1.126 + {
1.127 + menu_pane = r_mvs_settings_menu;
1.128 + txt = STRING_mvs_settings_menu;
1.129 + },
1.130 + MENU_TITLE
1.131 + {
1.132 + menu_pane = r_mvs_controls_menu;
1.133 + txt = STRING_mvs_controls_menu;
1.134 + }
1.135 + };
1.136 + }
1.137 +
1.138 +RESOURCE MENU_PANE r_mvs_file_menu
1.139 + {
1.140 + items =
1.141 + {
1.142 + MENU_ITEM
1.143 + {
1.144 + command = EMVSCmdNew;
1.145 + txt = STRING_mvs_file_menu_record;
1.146 + },
1.147 + MENU_ITEM
1.148 + {
1.149 + command = EMVSCmdOpen;
1.150 + txt = STRING_mvs_file_menu_play;
1.151 + },
1.152 + MENU_ITEM
1.153 + {
1.154 + command = EMVSCmdClose;
1.155 + txt = STRING_mvs_file_menu_close;
1.156 + },
1.157 + MENU_ITEM
1.158 + {
1.159 + command = EMVSCmdSystemInfo;
1.160 + txt = STRING_mvs_file_menu_systeminfo;
1.161 + },
1.162 + MENU_ITEM
1.163 + {
1.164 + command = EMVSCmdExit;
1.165 + txt = STRING_mvs_file_menu_exit;
1.166 + }
1.167 + };
1.168 + }
1.169 +
1.170 +RESOURCE MENU_PANE r_mvs_edit_menu
1.171 + {
1.172 + items =
1.173 + {
1.174 + MENU_ITEM
1.175 + {
1.176 + command = EMVSCmdSetCropWindow;
1.177 + txt = STRING_mvs_edit_menu_setcropwindow;
1.178 + },
1.179 + MENU_ITEM
1.180 + {
1.181 + command = EMVSCmdSetPlayWindow;
1.182 + txt = STRING_mvs_edit_menu_setplaywindow;
1.183 + },
1.184 + MENU_ITEM
1.185 + {
1.186 + command = EMVSCmdClearPlayWindow;
1.187 + txt = STRING_mvs_edit_menu_clearplaywindow;
1.188 + }
1.189 + };
1.190 + }
1.191 +
1.192 +
1.193 +RESOURCE MENU_PANE r_mvs_settings_menu
1.194 + {
1.195 + items =
1.196 + {
1.197 + MENU_ITEM
1.198 + {
1.199 + command = EMVSCmdAudioSetting;
1.200 + txt = STRING_mvs_settings_audio_menu;
1.201 + },
1.202 + MENU_ITEM
1.203 + {
1.204 + command = EMVSVideoCmdSettings;
1.205 + txt = STRING_mvs_settings_video_menu;
1.206 + },
1.207 + MENU_ITEM
1.208 + {
1.209 + command = EMVSCmdEditMetadata;
1.210 + txt = STRING_mvs_settings_metadata_menu;
1.211 + },
1.212 + MENU_ITEM
1.213 + {
1.214 + command = EMVSCmdMultiScreen;
1.215 + txt = STRING_mvs_multiscreen_option;
1.216 + },
1.217 + MENU_ITEM
1.218 + {
1.219 + command = EMVSRegisterForNotification;
1.220 + txt = STRING_mvs_settings_register_menu;
1.221 + },
1.222 + MENU_ITEM
1.223 + {
1.224 + command = EMVSCmdClearLog;
1.225 + txt = STRING_mvs_settings_clearlog_menu;
1.226 +#ifdef SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
1.227 + flags = EEikMenuItemSeparatorAfter;
1.228 + },
1.229 + MENU_ITEM
1.230 + {
1.231 + command = EMVSCmdEnableSubtitles;
1.232 + txt = STRING_mvs_settings_menu_enable_subtitles;
1.233 + },
1.234 + MENU_ITEM
1.235 + {
1.236 + command = EMVSCmdDisableSubtitles;
1.237 + txt = STRING_mvs_settings_menu_disable_subtitles;
1.238 +#endif // SYMBIAN_MULTIMEDIA_SUBTITLE_SUPPORT
1.239 + }
1.240 + };
1.241 + }
1.242 +
1.243 +
1.244 +RESOURCE MENU_PANE r_mvs_controls_menu
1.245 + {
1.246 + items =
1.247 + {
1.248 + MENU_ITEM
1.249 + {
1.250 + command = EMVSCmdPlay;
1.251 + txt = STRING_mvs_controls_menu_play;
1.252 + },
1.253 + MENU_ITEM
1.254 + {
1.255 + command = EMVSCmdPause;
1.256 + txt = STRING_mvs_controls_menu_pause;
1.257 + },
1.258 + MENU_ITEM
1.259 + {
1.260 + command = EMVSCmdStop;
1.261 + txt = STRING_mvs_controls_menu_stop;
1.262 + flags = EEikMenuItemSeparatorAfter;
1.263 + },
1.264 + MENU_ITEM
1.265 + {
1.266 + command = EMVSCmdRewind;
1.267 + txt = STRING_mvs_controls_menu_rewind;
1.268 + },
1.269 + MENU_ITEM
1.270 + {
1.271 + command = EMVSCmdFastForward;
1.272 + txt = STRING_mvs_controls_menu_forward;
1.273 + },
1.274 + MENU_ITEM
1.275 + {
1.276 + command = EMVSCmdRecord;
1.277 + txt = STRING_mvs_controls_menu_record;
1.278 + }
1.279 +
1.280 + };
1.281 + }
1.282 +
1.283 +
1.284 +
1.285 +RESOURCE MENU_PANE r_mvs_settings_audio_menu
1.286 + {
1.287 + items=
1.288 + {
1.289 + MENU_ITEM
1.290 + {
1.291 + command = EMVSCmdSetVolume;
1.292 + txt = STRING_mvs_settings_audio_menu_setvolume;
1.293 + },
1.294 + MENU_ITEM
1.295 + {
1.296 + command = EMVSCmdSetRepeats;
1.297 + txt = STRING_mvs_settings_audio_menu_setrepeats;
1.298 + },
1.299 + MENU_ITEM
1.300 + {
1.301 + command = EMVSCmdSetPlayBalance;
1.302 + txt = STRING_mvs_settings_audio_menu_setplaybackbalance;
1.303 + },
1.304 + MENU_ITEM
1.305 + {
1.306 + command = EMVSCmdSetGain;
1.307 + txt = STRING_mvs_settings_audio_menu_setgain;
1.308 + },
1.309 + MENU_ITEM
1.310 + {
1.311 + command = EMVSCmdSetRecordBalance;
1.312 + txt = STRING_mvs_settings_audio_menu_setrecordbalance;
1.313 + },
1.314 + MENU_ITEM
1.315 + {
1.316 + command = EMVSCmdSetAudioPriority;
1.317 + txt = STRING_mvs_settings_audio_menu_setaudiopriority;
1.318 + }
1.319 +
1.320 + };
1.321 + }
1.322 +
1.323 +
1.324 +RESOURCE TOOLBAND r_mvs_toolbar1
1.325 + {
1.326 + breadth=100;
1.327 + controls=
1.328 + {
1.329 + DLG_TBAR_SPACER
1.330 + {
1.331 + type=EEikCtSpacer;
1.332 + flags=EEikToolBarCtrlHasSetMinLength;
1.333 + length = 638;
1.334 + width=25;
1.335 + color=3;
1.336 + }
1.337 + };
1.338 + }
1.339 +
1.340 +RESOURCE TOOLBAND r_mvs_toolbar
1.341 + {
1.342 + breadth=30;
1.343 + controls=
1.344 + {
1.345 + TBAR_BUTTON
1.346 + {
1.347 + id=EMVSCmdPlay;
1.348 + flags=EEikToolBarCtrlHasSetMinLength;
1.349 + length = 30;
1.350 + bmpfile="*";
1.351 + bmpid=EMbmMvsappPlay;
1.352 + bmpmask=EMbmMvsappPlaymask;
1.353 + },
1.354 +
1.355 + TBAR_BUTTON
1.356 + {
1.357 + id=EMVSCmdPause;
1.358 + flags=EEikToolBarCtrlHasSetMinLength;
1.359 + length = 30;
1.360 + bmpfile="*";
1.361 + bmpid=EMbmMvsappPause;
1.362 + bmpmask=EMbmMvsappPausemask;
1.363 + },
1.364 +
1.365 + TBAR_BUTTON
1.366 + {
1.367 + id=EMVSCmdStop;
1.368 + flags=EEikToolBarCtrlHasSetMinLength;
1.369 + length = 30;
1.370 + bmpfile="*";
1.371 + bmpid=EMbmMvsappStop;
1.372 + bmpmask=EMbmMvsappStopmask;
1.373 + },
1.374 +
1.375 + TBAR_BUTTON
1.376 + {
1.377 + id=EMVSCmdRecord;
1.378 + flags=EEikToolBarCtrlHasSetMinLength;
1.379 + length = 30;
1.380 + bmpfile="*";
1.381 + bmpid=EMbmMvsappRec;
1.382 + bmpmask=EMbmMvsappRecmask;
1.383 + },
1.384 +
1.385 + DLG_TBAR_SPACER
1.386 + {
1.387 + type=EEikCtSpacer;
1.388 + flags=EEikToolBarCtrlHasSetMinLength;
1.389 + length = 35;
1.390 + width=25;
1.391 + color=3;
1.392 + },
1.393 +
1.394 + TBAR_BUTTON
1.395 + {
1.396 + id=EMVSCmdSetRepeats;
1.397 + flags=EEikToolBarCtrlHasSetMinLength;
1.398 + length = 30;
1.399 + bmpfile="*";
1.400 + bmpid=EMbmMvsappCirc;
1.401 + bmpmask=EMbmMvsappCircmask;
1.402 + },
1.403 +
1.404 + TBAR_BUTTON
1.405 + {
1.406 + id=EMVSCmdSetVolume;
1.407 + flags=EEikToolBarCtrlHasSetMinLength;
1.408 + length = 45;
1.409 + bmpfile="*";
1.410 + bmpid=EMbmMvsappSound;
1.411 + bmpmask=EMbmMvsappSoundmask;
1.412 + },
1.413 +
1.414 + TBAR_BUTTON
1.415 + {
1.416 + id=EMVSCmdSetPlayBalance;
1.417 + flags=EEikToolBarCtrlHasSetMinLength;
1.418 + length = 45;
1.419 + bmpfile="*";
1.420 + bmpid=EMbmMvsappBalance;
1.421 + bmpmask=EMbmMvsappBalancemask;
1.422 + },
1.423 +
1.424 + DLG_TBAR_SPACER
1.425 + {
1.426 + type=EEikCtSpacer;
1.427 + flags=EEikToolBarCtrlHasSetMinLength;
1.428 + length = 52;
1.429 + width=10;
1.430 + color=3;
1.431 + },
1.432 +
1.433 + TBAR_BUTTON
1.434 + {
1.435 + id=EMVSCmdRewind;
1.436 + flags=EEikToolBarCtrlHasSetMinLength;
1.437 + length = 45;
1.438 + bmpfile="*";
1.439 + bmpid=EMbmMvsappRwd;
1.440 + bmpmask=EMbmMvsappRwdmask;
1.441 + },
1.442 +
1.443 + DLG_TBAR_SPACER
1.444 + {
1.445 + type=EEikCtSpacer;
1.446 + flags=EEikToolBarCtrlHasSetMinLength;
1.447 + length = 6;
1.448 + width=25;
1.449 + color=3;
1.450 + },
1.451 +
1.452 + TBAR_BUTTON
1.453 + {
1.454 + id=EMVSCmdFastForward;
1.455 + flags=EEikToolBarCtrlHasSetMinLength;
1.456 + length = 45;
1.457 + bmpfile="*";
1.458 + bmpid=EMbmMvsappFwd;
1.459 + bmpmask=EMbmMvsappFwdmask;
1.460 + },
1.461 +
1.462 +
1.463 + DLG_TBAR_SPACER
1.464 + {
1.465 + type=EEikCtSpacer;
1.466 + flags=EEikToolBarCtrlHasSetMinLength;
1.467 + length = 215;
1.468 + width=25;
1.469 + color=3;
1.470 + }
1.471 + };
1.472 +
1.473 + }
1.474 +
1.475 +RESOURCE TOOLBAND r_mvs_toolbar2
1.476 + {
1.477 + breadth=5;
1.478 + controls=
1.479 + {
1.480 + DLG_TBAR_SPACER
1.481 + {
1.482 + type=EEikCtSpacer;
1.483 + flags=EEikToolBarCtrlHasSetMinLength;
1.484 + length = 638;
1.485 + width=25;
1.486 + color=3;
1.487 + }
1.488 + };
1.489 + }
1.490 +
1.491 + //buttons
1.492 +RESOURCE DLG_BUTTONS r_mvs_buttons_up_down_ok_cancel
1.493 + {
1.494 + buttons=
1.495 + {
1.496 + DLG_BUTTON
1.497 + {
1.498 + id = EMVSButtonDown;
1.499 + button = CMBUT {txt = STRING_r_mvs_buttons_down;};
1.500 + hotkey = EEikBidBlank;
1.501 + },
1.502 + DLG_BUTTON
1.503 + {
1.504 + id = EMVSButtonUp;
1.505 + button = CMBUT {txt = STRING_r_mvs_buttons_up;};
1.506 + hotkey = EEikBidSpace;
1.507 + },
1.508 + DLG_BUTTON
1.509 + {
1.510 + id = EMVSButtonCancel;
1.511 + button = CMBUT {txt = STRING_r_mvs_buttons_cancel;};
1.512 + hotkey = EEikBidCancel;
1.513 + },
1.514 + DLG_BUTTON
1.515 + {
1.516 + id = EMVSButtonOk;
1.517 + button = CMBUT {txt = STRING_r_mvs_buttons_ok;};
1.518 + hotkey = EEikBidOk;
1.519 + }
1.520 + };
1.521 + }
1.522 +
1.523 +RESOURCE DIALOG r_mvs_dialog_setvolume
1.524 + {
1.525 + flags=EEikDialogFlagWait;
1.526 + title=STRING_r_mvs_dialog_setvolume_setvolume;
1.527 + buttons = r_mvs_buttons_up_down_ok_cancel;
1.528 + items=
1.529 + {
1.530 + DLG_LINE
1.531 + {
1.532 + prompt=STRING_r_mvs_dialog_setvolume_specifyvolume;
1.533 + type=EEikCtProgInfo;
1.534 + id=EMVSCmdSetVolume;
1.535 + control=PROGRESSINFO
1.536 + {
1.537 + finalval=KMVSProgressLabelMaxValue; // Maximum number of values the bar can have.
1.538 + width=200; // The width of the bar.
1.539 + text_type=EEikProgressTextPercentage;
1.540 + };
1.541 + },
1.542 + DLG_LINE
1.543 + {
1.544 + prompt=STRING_r_mvs_dialog_setvolume_specifyvolumeramp;
1.545 + type=EEikCtNumberEditor;
1.546 + id=EMVSCmdSetVolumeRamp;
1.547 + control= NUMBER_EDITOR
1.548 + {
1.549 + min = 0;
1.550 + max = 10;
1.551 + };
1.552 + }
1.553 + };
1.554 + }
1.555 +
1.556 +RESOURCE DLG_BUTTONS r_mvs_buttons_left_right_ok_cancel
1.557 + {
1.558 + buttons=
1.559 + {
1.560 + DLG_BUTTON
1.561 + {
1.562 + id = EMVSButtonLeft;
1.563 + button = CMBUT {txt = STRING_r_mvs_buttons_left;};
1.564 + },
1.565 + DLG_BUTTON
1.566 + {
1.567 + id = EMVSButtonRight;
1.568 + button = CMBUT {txt = STRING_r_mvs_buttons_right;};
1.569 + },
1.570 + DLG_BUTTON
1.571 + {
1.572 + id = EMVSButtonCancel;
1.573 + button = CMBUT {txt = STRING_r_mvs_buttons_cancel;};
1.574 + },
1.575 + DLG_BUTTON
1.576 + {
1.577 + id = EMVSButtonOk;
1.578 + button = CMBUT {txt = STRING_r_mvs_buttons_ok;};
1.579 + }
1.580 + };
1.581 + }
1.582 +
1.583 +RESOURCE DIALOG r_mvs_dialog_setbalance
1.584 + {
1.585 + flags=EEikDialogFlagWait;
1.586 + title=STRING_r_mvs_dialog_setbalance_setbalance;
1.587 + buttons = r_mvs_buttons_left_right_ok_cancel;
1.588 + items=
1.589 + {
1.590 + DLG_LINE
1.591 + {
1.592 +
1.593 + prompt=STRING_r_mvs_dialog_setbalance_specifybalance;
1.594 + type=EEikCtProgInfo;
1.595 + id=EMVSSetBalance;
1.596 + control=PROGRESSINFO
1.597 + {
1.598 + finalval=KMVSProgressLabelMaxValue; // Maximum number of values the bar can have.
1.599 + width=200; // The width of the bar.
1.600 + };
1.601 + },
1.602 + DLG_LINE
1.603 + {
1.604 + prompt="";
1.605 + type=EEikCtLabel;
1.606 + id=EMVSSetBalanceLR;
1.607 + control= LABEL
1.608 + {
1.609 + txt = "Left Right ";
1.610 + };
1.611 + }
1.612 + };
1.613 + }
1.614 +
1.615 +RESOURCE DIALOG r_mvs_dialog_setgain
1.616 + {
1.617 + flags=EEikDialogFlagWait;
1.618 + title=STRING_r_mvs_dialog_setgain_setgain;
1.619 + buttons = r_mvs_buttons_up_down_ok_cancel;
1.620 + items=
1.621 + {
1.622 + DLG_LINE
1.623 + {
1.624 + prompt=STRING_r_mvs_dialog_setgain_specifygain;
1.625 + type=EEikCtProgInfo;
1.626 + id=EMVSCmdSetGain;
1.627 + control=PROGRESSINFO
1.628 + {
1.629 + finalval=KMVSProgressLabelMaxValue; // Maximum number of values the bar can have.
1.630 + width=200; // The width of the bar.
1.631 + text_type=EEikProgressTextPercentage;
1.632 + };
1.633 + }
1.634 + };
1.635 + }
1.636 +
1.637 +RESOURCE DIALOG r_mvs_dialog_setrepeats
1.638 + {
1.639 + flags = EEikDialogFlagWait;
1.640 + title=STRING_r_mvs_dialog_setrepeats_setrepeats;
1.641 + buttons = R_EIK_BUTTONS_CANCEL_OK;
1.642 + items=
1.643 + {
1.644 + DLG_LINE
1.645 + {
1.646 + prompt=STRING_r_mvs_dialog_setrepeats_specifyrepeats;
1.647 + type=EEikCtNumberEditor;
1.648 + id=EMVSCmdSetRepeats;
1.649 + control= NUMBER_EDITOR
1.650 + {
1.651 + min = 0;
1.652 + max = 1000;
1.653 + };
1.654 + },
1.655 + DLG_LINE
1.656 + {
1.657 + prompt=STRING_r_mvs_dialog_setrepeats_specifytrailingsilence;
1.658 + type=EEikCtNumberEditor;
1.659 + id=EMVSCmdSetTrailingSilence;
1.660 + control= NUMBER_EDITOR
1.661 + {
1.662 + min = 1;
1.663 + max = 10;
1.664 + };
1.665 + }
1.666 + };
1.667 + }
1.668 +
1.669 +RESOURCE DIALOG r_mvs_dialog_multiplescreen
1.670 + {
1.671 + flags = EEikDialogFlagWait;
1.672 + title=STRING_r_mvs_dialog_setscreen;
1.673 + buttons = R_EIK_BUTTONS_CANCEL_OK;
1.674 + items=
1.675 + {
1.676 + DLG_LINE
1.677 + {
1.678 + prompt=STRING_r_mvs_dialog_setscreen_specifyscreen;
1.679 + type=EEikCtNumberEditor;
1.680 + id=EMVSCmdMultiScreen;
1.681 + control= NUMBER_EDITOR
1.682 + {
1.683 + min = 0;
1.684 + max = 1000;
1.685 + };
1.686 + }
1.687 + };
1.688 + }
1.689 +
1.690 +RESOURCE DIALOG r_mvs_dialog_register
1.691 + {
1.692 + flags=EEikDialogFlagWait;
1.693 + title=STRING_r_mvs_dialog_registerfornotification;
1.694 + buttons = R_EIK_BUTTONS_CANCEL_OK;
1.695 + items=
1.696 + {
1.697 + DLG_LINE
1.698 + {
1.699 + prompt=STRING_r_mvs_dialog_registerfornotification_label;
1.700 + type=EEikCtCheckBox;
1.701 + id=EMVSRegisterForNotification;
1.702 + }
1.703 + };
1.704 + }
1.705 +
1.706 +RESOURCE DLG_BUTTONS r_mvs_buttons_cancel_next
1.707 + {
1.708 + buttons=
1.709 + {
1.710 + DLG_BUTTON
1.711 + {
1.712 + id = EMVSButtonCancel;
1.713 + button = CMBUT {txt = STRING_r_mvs_buttons_cancel;};
1.714 + },
1.715 + DLG_BUTTON
1.716 + {
1.717 + id = EMVSButtonNext;
1.718 + button = CMBUT {txt = STRING_r_mvs_buttons_next;};
1.719 + hotkey = EEikBidOk;
1.720 + }
1.721 + };
1.722 + }
1.723 +
1.724 +RESOURCE ARRAY r_mvs_array_none
1.725 + {
1.726 + items=
1.727 + {
1.728 + LBUF { txt= STRING_r_mvs_dialog_none; }
1.729 + };
1.730 + }
1.731 +
1.732 +RESOURCE DIALOG r_mvs_dialog_selectplugins
1.733 + {
1.734 + flags=EEikDialogFlagWait;
1.735 + title=STRING_r_mvs_dialog_selectplugins_selectplugins;
1.736 + buttons = r_mvs_buttons_cancel_next;
1.737 + items=
1.738 + {
1.739 + DLG_LINE
1.740 + {
1.741 + prompt=STRING_r_mvs_dialog_selectplugins_type;
1.742 + type=EEikCtHorOptionButList;
1.743 + id=EMVSCmdSelectMediaType;
1.744 + control= HOROPBUT
1.745 + {
1.746 + array_id=r_mvs_media_type_array;
1.747 + };
1.748 + },
1.749 +
1.750 + DLG_LINE
1.751 + {
1.752 + prompt=STRING_r_mvs_dialog_selectplugins_format;
1.753 + type=EEikCtChoiceList;
1.754 + id=EMVSCmdSelectFormat;
1.755 + control= CHOICELIST
1.756 + {
1.757 + array_id = r_mvs_array_none;
1.758 + };
1.759 + },
1.760 +
1.761 + DLG_LINE
1.762 + {
1.763 + prompt=STRING_r_mvs_dialog_selectplugins_controller;
1.764 + type=EEikCtChoiceList;
1.765 + id=EMVSCmdSelectControllerPlugin;
1.766 + control=CHOICELIST
1.767 + {
1.768 + array_id = r_mvs_array_none;
1.769 + };
1.770 + }
1.771 +
1.772 + };
1.773 + }
1.774 +
1.775 +RESOURCE DIALOG r_mvs_dialog_videoplugins
1.776 + {
1.777 + flags=EEikDialogFlagWait;
1.778 + title=STRING_r_mvs_dialog_selectplugins_videoplugins;
1.779 + buttons = r_mvs_buttons_update_cancel;
1.780 + items=
1.781 + {
1.782 + DLG_LINE
1.783 + {
1.784 + prompt=STRING_r_mvs_dialog_selectvideomime_codec;
1.785 + type=EEikCtChoiceList;
1.786 + id=EMVSCmdSelectVideoMimeCodec;
1.787 + control= CHOICELIST
1.788 + {
1.789 + };
1.790 + },
1.791 + DLG_LINE
1.792 + {
1.793 + prompt=STRING_r_mvs_dialog_selectvideoframerate;
1.794 + type=EEikCtChoiceList;
1.795 + id=EMVSCmdSelectVideoFrameRate;
1.796 + control= CHOICELIST
1.797 + {
1.798 + };
1.799 + },
1.800 + DLG_LINE
1.801 + {
1.802 + prompt=STRING_r_mvs_dialog_selectvideoFrameSize;
1.803 + type=EEikCtChoiceList;
1.804 + id=EMVSCmdSelectVideoFrameSize;
1.805 + control= CHOICELIST
1.806 + {
1.807 + };
1.808 + },
1.809 + DLG_LINE
1.810 + {
1.811 + type=EEikCtCheckBox;
1.812 + prompt=STRING_r_audioenabled_dialog_settings;
1.813 + id=EMVSEnableAudio;
1.814 + },
1.815 + DLG_LINE
1.816 + {
1.817 + type=EEikCtCheckBox;
1.818 + prompt=STRING_r_audio_dialog_settings;
1.819 + id=EMVSRestoreVideoSettings;
1.820 + }
1.821 + };
1.822 + }
1.823 +
1.824 +RESOURCE ARRAY r_mvs_media_type_array
1.825 + {
1.826 + items=
1.827 + {
1.828 + OPBUT { id = EMVSHorOptButtonAudio;
1.829 + text=STRING_r_mvs_dialog_selectplugins_audiochkbox; },
1.830 + OPBUT { id = EMVSHorOptButtonVideo;
1.831 + text=STRING_r_mvs_dialog_selectplugins_videochkbox; }
1.832 + };
1.833 + }
1.834 +
1.835 +RESOURCE DLG_BUTTONS r_mvs_buttons_update_cancel
1.836 + {
1.837 + buttons=
1.838 + {
1.839 + DLG_BUTTON
1.840 + {
1.841 + id = EMVSButtonCancel;
1.842 + button = CMBUT {txt = STRING_r_mvs_buttons_cancel;};
1.843 + hotkey = EEikBidCancel;
1.844 + },
1.845 + DLG_BUTTON
1.846 + {
1.847 + id = EMVSButtonUpdate;
1.848 + button = CMBUT {txt = STRING_r_mvs_buttons_ok;};
1.849 + hotkey = EEikBidOk;
1.850 + }
1.851 + };
1.852 + }
1.853 +
1.854 +RESOURCE DLG_BUTTONS r_mvs_buttons_update
1.855 + {
1.856 + buttons=
1.857 + {
1.858 + DLG_BUTTON
1.859 + {
1.860 + id = EMVSButtonOnlyUpdate;
1.861 + button = CMBUT {txt = STRING_r_mvs_buttons_ok;};
1.862 + hotkey = EEikBidOk;
1.863 + }
1.864 + };
1.865 + }
1.866 +
1.867 +RESOURCE DIALOG r_mvs_dialog_configuredataformat
1.868 + {
1.869 + flags=EEikDialogFlagWait;
1.870 + title=r_mvs_dialog_configuredataformat_configuredataformat;
1.871 + buttons = r_mvs_buttons_update_cancel;
1.872 + items=
1.873 + {
1.874 + DLG_LINE
1.875 + {
1.876 + prompt=STRING_r_mvs_dialog_selectplugins_codec;
1.877 + type=EEikCtChoiceList;
1.878 + id=EMVSCmdSelectCodec;
1.879 + control= CHOICELIST
1.880 + {
1.881 + };
1.882 + },
1.883 +
1.884 + DLG_LINE
1.885 + {
1.886 + prompt=r_mvs_dialog_configuredataformat_bitrate;
1.887 + type=EEikCtChoiceList;
1.888 + id=EMVSSetBitrate;
1.889 + control= CHOICELIST
1.890 + {
1.891 + };
1.892 + },
1.893 +
1.894 + DLG_LINE
1.895 + {
1.896 + prompt=r_mvs_dialog_configuredataformat_nochannels;
1.897 + type=EEikCtChoiceList;
1.898 + id=EMVSSetNoOfChannels;
1.899 + control= CHOICELIST
1.900 + {
1.901 + };
1.902 + },
1.903 +
1.904 + DLG_LINE
1.905 + {
1.906 + prompt=r_mvs_dialog_configuredataformat_samplerate;
1.907 + type=EEikCtChoiceList;
1.908 + id=EMVSSetSamplerate;
1.909 + control= CHOICELIST
1.910 + {
1.911 + };
1.912 + },
1.913 + DLG_LINE
1.914 + {
1.915 + type=EEikCtCheckBox;
1.916 + prompt=STRING_r_audio_dialog_settings;
1.917 + id=EMVSRestoreAudioSettings;
1.918 + }
1.919 + };
1.920 + }
1.921 +
1.922 +RESOURCE ARRAY r_mvs_dialog_configuredataformat_formats
1.923 + {
1.924 + items=
1.925 + {
1.926 + LBUF { txt= STRING_r_mvs_dialog_configuredataformat_formats_wav; }
1.927 + };
1.928 +
1.929 + }
1.930 +
1.931 +RESOURCE ARRAY r_mvs_dialog_configuredataformat_codecs
1.932 + {
1.933 + items=
1.934 + {
1.935 + LBUF { txt= STRING_r_mvs_dialog_configuredataformat_codecs_pcm16; }
1.936 + };
1.937 +
1.938 + }
1.939 +
1.940 +// The array associated with the configure data format dialog.
1.941 +
1.942 +RESOURCE ARRAY r_mvs_dialog_configuredataformat_bitrates
1.943 + {
1.944 + items=
1.945 + {
1.946 + LBUF { txt= STRING_r_mvs_dialog_configuredataformat_bitrates_128; }
1.947 + };
1.948 +
1.949 + }
1.950 +
1.951 +
1.952 +RESOURCE ARRAY r_mvs_dialog_configuredataformat_samplerates
1.953 + {
1.954 + items=
1.955 + {
1.956 + LBUF { txt= STRING_r_mvs_dialog_configuredataformat_samplerates_8000; },
1.957 + LBUF { txt= STRING_r_mvs_dialog_configuredataformat_samplerates_11025; },
1.958 + LBUF { txt= STRING_r_mvs_dialog_configuredataformat_samplerates_16000; },
1.959 + LBUF { txt= STRING_r_mvs_dialog_configuredataformat_samplerates_22050; },
1.960 + LBUF { txt= STRING_r_mvs_dialog_configuredataformat_samplerates_32000; },
1.961 + LBUF { txt= STRING_r_mvs_dialog_configuredataformat_samplerates_44100; },
1.962 + LBUF { txt= STRING_r_mvs_dialog_configuredataformat_samplerates_48000; }
1.963 + };
1.964 +
1.965 + }
1.966 +
1.967 +RESOURCE ARRAY r_mvs_dialog_configuredataformat_no_of_channels
1.968 + {
1.969 + items=
1.970 + {
1.971 + LBUF { txt= STRING_r_mvs_dialog_configuredataformat_nochannels_mono; },
1.972 + LBUF { txt= STRING_r_mvs_dialog_configuredataformat_nochannels_stereo; }
1.973 + };
1.974 +
1.975 + }
1.976 +
1.977 +
1.978 +RESOURCE DIALOG r_mvs_dialog_setmetainfo
1.979 + {
1.980 + flags=EEikDialogFlagWait;
1.981 + title=STRING_r_mvs_dialog_setmetainfo_setmetainfo;
1.982 + buttons = r_mvs_buttons_update_cancel;
1.983 + items=
1.984 + {
1.985 + DLG_LINE
1.986 + {
1.987 + prompt= STRING_r_mvs_dialog_viewmetainfo_title;
1.988 + type=EEikCtEdwin;
1.989 + id=EMVSMeta1;
1.990 + control= EDWIN
1.991 + {
1.992 + flags = 0;
1.993 + width = 15;
1.994 + lines = 1;
1.995 + maxlength = 20;
1.996 + };
1.997 + },
1.998 +
1.999 + DLG_LINE
1.1000 + {
1.1001 + prompt=STRING_r_mvs_dialog_viewmetainfo_author;
1.1002 + type=EEikCtEdwin;
1.1003 + id=EMVSMeta2;
1.1004 + control= EDWIN
1.1005 + {
1.1006 + flags = 0;
1.1007 + width = 15;
1.1008 + lines = 1;
1.1009 + maxlength = 20;
1.1010 + };
1.1011 + },
1.1012 +
1.1013 + DLG_LINE
1.1014 + {
1.1015 + prompt=STRING_r_mvs_dialog_viewmetainfo_copyright;
1.1016 + type=EEikCtEdwin;
1.1017 + id=EMVSMeta3;
1.1018 + control= EDWIN
1.1019 + {
1.1020 + flags = 0;
1.1021 + width = 10;
1.1022 + lines = 1;
1.1023 + maxlength = 15;
1.1024 + };
1.1025 + },
1.1026 +
1.1027 + DLG_LINE
1.1028 + {
1.1029 + prompt=STRING_r_mvs_dialog_viewmetainfo_revision;
1.1030 + type=EEikCtEdwin;
1.1031 + id=EMVSMeta4;
1.1032 + control= EDWIN
1.1033 + {
1.1034 + flags = 0;
1.1035 + width = 5;
1.1036 + lines = 1;
1.1037 + maxlength = 8;
1.1038 + };
1.1039 + },
1.1040 +
1.1041 + DLG_LINE
1.1042 + {
1.1043 + prompt=STRING_r_mvs_dialog_viewmetainfo_category;
1.1044 + type=EEikCtEdwin;
1.1045 + id=EMVSMeta5;
1.1046 + control= EDWIN
1.1047 + {
1.1048 + flags = 0;
1.1049 + width = 10;
1.1050 + lines = 1;
1.1051 + maxlength = 15;
1.1052 + };
1.1053 + },
1.1054 +
1.1055 + DLG_LINE
1.1056 + {
1.1057 + prompt=STRING_r_mvs_dialog_viewmetainfo_comments;
1.1058 + type=EEikCtEdwin;
1.1059 + id=EMVSMeta6;
1.1060 + control= EDWIN
1.1061 + {
1.1062 + flags = 0;
1.1063 + width = 15;
1.1064 + lines = 2;
1.1065 + maxlength = 40;
1.1066 + };
1.1067 + }
1.1068 + };
1.1069 + }
1.1070 +
1.1071 +
1.1072 +//
1.1073 +//
1.1074 +//SYSTEM INFO
1.1075 +RESOURCE DIALOG r_new_mvs_dialog_systeminfo
1.1076 + {
1.1077 + flags=EEikDialogFlagWait;
1.1078 + title=STRING_mvs_file_menu_systeminfo;
1.1079 + buttons = r_mvs_buttons_update;
1.1080 + items=
1.1081 + {
1.1082 + DLG_LINE
1.1083 + {
1.1084 + prompt="";
1.1085 + type=EEikCtEdwin;
1.1086 + id=EMVSCmdSystemInfo;
1.1087 + control=EDWIN
1.1088 + {
1.1089 + width=45;
1.1090 + lines=25;
1.1091 + };
1.1092 + }
1.1093 + };
1.1094 + }
1.1095 +
1.1096 +
1.1097 +//
1.1098 +//
1.1099 +//VIDEO SETTINGS
1.1100 +RESOURCE DIALOG r_mvs_video_dialog_videosetting
1.1101 + {
1.1102 + flags=EEikDialogFlagWait;
1.1103 + title=STRING_r_newvideo_dialog_video_videosetting;
1.1104 + buttons = r_mvs_buttons_update_cancel;
1.1105 + items=
1.1106 + {
1.1107 + DLG_LINE
1.1108 + {
1.1109 + prompt=STRING_r_newvideo_dialog_video_rotation;
1.1110 + type=EEikCtChoiceList;
1.1111 + id=EMVSVideoRotationSettings;
1.1112 + control= CHOICELIST
1.1113 + {
1.1114 + array_id = r_newmvs_dialog_setvideorotation_choicelist;
1.1115 + };
1.1116 + },
1.1117 + DLG_LINE
1.1118 + {
1.1119 + prompt=STRING_r_newvideo_dialog_video_scalewidth;
1.1120 + type=EEikCtFlPtEd;
1.1121 + id=EMVSCmdScaleWidth;
1.1122 + control= FLPTED
1.1123 + {
1.1124 + min = 1;
1.1125 + max = 1000;
1.1126 + };
1.1127 + trailer="%";
1.1128 + },
1.1129 + DLG_LINE
1.1130 + {
1.1131 + prompt=STRING_r_newvideo_dialog_video_scaleheight;
1.1132 + type=EEikCtFlPtEd;
1.1133 + id=EMVSCmdScaleHeight;
1.1134 + control= FLPTED
1.1135 + {
1.1136 + min = 1;
1.1137 + max = 1000;
1.1138 + };
1.1139 + trailer="%";
1.1140 + },
1.1141 + DLG_LINE
1.1142 + {
1.1143 + prompt=STRING_r_newvideo_dialog_video_antialiasfiltering;
1.1144 + type=EEikCtCheckBox;
1.1145 + id=EMVSAntiAliasFiltering;
1.1146 + },
1.1147 + DLG_LINE
1.1148 + {
1.1149 + prompt="";
1.1150 + type=EEikCtLabel;
1.1151 + id=EMVSVideoCmdSettings;
1.1152 + control=LABEL
1.1153 + {
1.1154 + txt = "_____________________________________________________";
1.1155 + };
1.1156 + },
1.1157 + DLG_LINE
1.1158 + {
1.1159 + prompt="";
1.1160 + type=EEikCtLabel;
1.1161 + id=EMVSVideoCmdSettings;
1.1162 + control=LABEL
1.1163 + {
1.1164 + txt = "CROP REGION";
1.1165 + };
1.1166 + },
1.1167 + DLG_LINE
1.1168 + {
1.1169 + prompt=STRING_r_newvideo_dialog_video_top_left_x;
1.1170 + type=EEikCtNumberEditor;
1.1171 + id=EMVSCmdSetTopLeftx;
1.1172 + control= NUMBER_EDITOR
1.1173 + {
1.1174 + min = 0;
1.1175 + max = 1000;
1.1176 + };
1.1177 + },
1.1178 + DLG_LINE
1.1179 + {
1.1180 + prompt=STRING_r_newvideo_dialog_video_top_left_y;
1.1181 + type=EEikCtNumberEditor;
1.1182 + id=EMVSCmdSetTopLefty;
1.1183 + control= NUMBER_EDITOR
1.1184 + {
1.1185 + min = 0;
1.1186 + max = 1000;
1.1187 + };
1.1188 + },
1.1189 + DLG_LINE
1.1190 + {
1.1191 + prompt=STRING_r_newvideo_dialog_video_bottom_right_x;
1.1192 + type=EEikCtNumberEditor;
1.1193 + id=EMVSCmdSetBottomRightx;
1.1194 + control= NUMBER_EDITOR
1.1195 + {
1.1196 + min = 0;
1.1197 + max = 1000;
1.1198 + };
1.1199 + },
1.1200 + DLG_LINE
1.1201 + {
1.1202 + prompt=STRING_r_newvideo_dialog_video_bottom_right_y;
1.1203 + type=EEikCtNumberEditor;
1.1204 + id=EMVSCmdSetBottomRighty;
1.1205 + control= NUMBER_EDITOR
1.1206 + {
1.1207 + min = 0;
1.1208 + max = 1000;
1.1209 + };
1.1210 + },
1.1211 + DLG_LINE
1.1212 + {
1.1213 + prompt="";
1.1214 + type=EEikCtLabel;
1.1215 + id=EMVSVideoCmdSettings;
1.1216 + control=LABEL
1.1217 + {
1.1218 + txt = "_____________________________________________________";
1.1219 + };
1.1220 + },
1.1221 + DLG_LINE
1.1222 + {
1.1223 + prompt="";
1.1224 + type=EEikCtLabel;
1.1225 + id=EMVSVideoCmdSettings;
1.1226 + control=LABEL
1.1227 + {
1.1228 + txt = "VIDEO EXTENT REGION";
1.1229 + };
1.1230 + },
1.1231 + DLG_LINE
1.1232 + {
1.1233 + prompt=STRING_r_newvideo_dialog_video_top_left_x;
1.1234 + type=EEikCtNumberEditor;
1.1235 + id=EMVSCmdSetVideoExtentTopLeftx;
1.1236 + control= NUMBER_EDITOR
1.1237 + {
1.1238 + min = 0;
1.1239 + max = 1000;
1.1240 + };
1.1241 + },
1.1242 + DLG_LINE
1.1243 + {
1.1244 + prompt=STRING_r_newvideo_dialog_video_top_left_y;
1.1245 + type=EEikCtNumberEditor;
1.1246 + id=EMVSCmdSetVideoExtentTopLefty;
1.1247 + control= NUMBER_EDITOR
1.1248 + {
1.1249 + min = 0;
1.1250 + max = 1000;
1.1251 + };
1.1252 + },
1.1253 + DLG_LINE
1.1254 + {
1.1255 + prompt=STRING_r_newvideo_dialog_video_bottom_right_x;
1.1256 + type=EEikCtNumberEditor;
1.1257 + id=EMVSCmdSetVideoExtentBottomRightx;
1.1258 + control= NUMBER_EDITOR
1.1259 + {
1.1260 + min = 0;
1.1261 + max = 1000;
1.1262 + };
1.1263 + },
1.1264 + DLG_LINE
1.1265 + {
1.1266 + prompt=STRING_r_newvideo_dialog_video_bottom_right_y;
1.1267 + type=EEikCtNumberEditor;
1.1268 + id=EMVSCmdSetVideoExtentBottomRighty;
1.1269 + control= NUMBER_EDITOR
1.1270 + {
1.1271 + min = 0;
1.1272 + max = 1000;
1.1273 + };
1.1274 + },
1.1275 + DLG_LINE
1.1276 + {
1.1277 + prompt="";
1.1278 + type=EEikCtLabel;
1.1279 + id=EMVSVideoCmdSettings;
1.1280 + control=LABEL
1.1281 + {
1.1282 + txt = "_____________________________________________________";
1.1283 + };
1.1284 + },
1.1285 + DLG_LINE
1.1286 + {
1.1287 + prompt="";
1.1288 + type=EEikCtLabel;
1.1289 + id=EMVSVideoCmdSettings;
1.1290 + control=LABEL
1.1291 + {
1.1292 + txt = "WINDOW CLIPPING REGION";
1.1293 + };
1.1294 + },
1.1295 + DLG_LINE
1.1296 + {
1.1297 + prompt=STRING_r_newvideo_dialog_video_top_left_x;
1.1298 + type=EEikCtNumberEditor;
1.1299 + id=EMVSCmdSetWindowClipTopLeftx;
1.1300 + control= NUMBER_EDITOR
1.1301 + {
1.1302 + min = 0;
1.1303 + max = 1000;
1.1304 + };
1.1305 + },
1.1306 + DLG_LINE
1.1307 + {
1.1308 + prompt=STRING_r_newvideo_dialog_video_top_left_y;
1.1309 + type=EEikCtNumberEditor;
1.1310 + id=EMVSCmdSetWindowClipTopLefty;
1.1311 + control= NUMBER_EDITOR
1.1312 + {
1.1313 + min = 0;
1.1314 + max = 1000;
1.1315 + };
1.1316 + },
1.1317 + DLG_LINE
1.1318 + {
1.1319 + prompt=STRING_r_newvideo_dialog_video_bottom_right_x;
1.1320 + type=EEikCtNumberEditor;
1.1321 + id=EMVSCmdSetWindowClipBottomRightx;
1.1322 + control= NUMBER_EDITOR
1.1323 + {
1.1324 + min = 0;
1.1325 + max = 1000;
1.1326 + };
1.1327 + },
1.1328 + DLG_LINE
1.1329 + {
1.1330 + prompt=STRING_r_newvideo_dialog_video_bottom_right_y;
1.1331 + type=EEikCtNumberEditor;
1.1332 + id=EMVSCmdSetWindowClipBottomRighty;
1.1333 + control= NUMBER_EDITOR
1.1334 + {
1.1335 + min = 0;
1.1336 + max = 1000;
1.1337 + };
1.1338 + },
1.1339 + DLG_LINE
1.1340 + {
1.1341 + prompt="";
1.1342 + type=EEikCtLabel;
1.1343 + id=EMVSVideoCmdSettings;
1.1344 + control=LABEL
1.1345 + {
1.1346 + txt = "_______________________________________________________";
1.1347 + };
1.1348 + },
1.1349 + DLG_LINE
1.1350 + {
1.1351 + type=EEikCtCheckBox;
1.1352 + prompt=STRING_r_newvideo_dialog_video_display_overlay_text;
1.1353 + id=EMVSCmdSetDisplayOverlayText;
1.1354 + },
1.1355 + DLG_LINE
1.1356 + {
1.1357 + prompt=STRING_r_newvideo_dialog_video_display_overlay_text;
1.1358 + type=EEikCtEdwin;
1.1359 + id=EMVSCmdSetOverlayText;
1.1360 + control= EDWIN
1.1361 + {
1.1362 + width = 20;
1.1363 + maxlength = 50;
1.1364 + };
1.1365 + },
1.1366 + DLG_LINE
1.1367 + {
1.1368 + prompt="";
1.1369 + type=EEikCtLabel;
1.1370 + id=EMVSVideoCmdSettings;
1.1371 + control=LABEL
1.1372 + {
1.1373 + txt = "_____________________________________________________";
1.1374 + };
1.1375 + },
1.1376 + DLG_LINE
1.1377 + {
1.1378 + type=EEikCtCheckBox;
1.1379 + prompt=STRING_r_newvideo_dialog_video_viewfinder;
1.1380 + id=EMVSVideoCmdSettings;
1.1381 + },
1.1382 + DLG_LINE
1.1383 + {
1.1384 + prompt=STRING_r_newvideo_dialog_video_cameraindex;
1.1385 + type=EEikCtNumberEditor;
1.1386 + id=EMVSVideoCmdSettings;
1.1387 + control= NUMBER_EDITOR
1.1388 + {
1.1389 + min = 1;
1.1390 + max = 1000;
1.1391 + };
1.1392 + },
1.1393 + DLG_LINE
1.1394 + {
1.1395 + prompt="";
1.1396 + type=EEikCtLabel;
1.1397 + id=EMVSVideoCmdSettings;
1.1398 + control=LABEL
1.1399 + {
1.1400 + txt = "_______________________________________________________";
1.1401 + };
1.1402 + },
1.1403 + DLG_LINE
1.1404 + {
1.1405 + prompt=STRING_r_newvideo_dialog_video_camerapriority;
1.1406 + type=EEikCtNumberEditor;
1.1407 + id=EMVSVideoCmdSettings;
1.1408 + control= NUMBER_EDITOR
1.1409 + {
1.1410 + min = 1;
1.1411 + max = 1000;
1.1412 + };
1.1413 + },
1.1414 + DLG_LINE
1.1415 + {
1.1416 + prompt="";
1.1417 + type=EEikCtLabel;
1.1418 + id=EMVSVideoCmdSettings;
1.1419 + control= LABEL
1.1420 + {
1.1421 +
1.1422 + };
1.1423 + },
1.1424 + DLG_LINE
1.1425 + {
1.1426 + prompt="";
1.1427 + type=EEikCtLabel;
1.1428 + id=EMVSVideoCmdSettings;
1.1429 + control=LABEL
1.1430 + {
1.1431 + txt = "_______________________________________________________";
1.1432 + };
1.1433 + },
1.1434 + DLG_LINE
1.1435 + {
1.1436 + prompt=STRING_r_newvideo_dialog_video_auto_scale_type;
1.1437 + type=EEikCtChoiceList;
1.1438 + id=EMVSAutoScaleType;
1.1439 + control= CHOICELIST
1.1440 + {
1.1441 + array_id = r_newmvs_dialog_setautoscale_type_choicelist;
1.1442 + };
1.1443 + },
1.1444 + DLG_LINE
1.1445 + {
1.1446 + prompt=STRING_r_newvideo_dialog_video_auto_scale_horiz;
1.1447 + type=EEikCtChoiceList;
1.1448 + id=EMVSAutoScaleHoriz;
1.1449 + control= CHOICELIST
1.1450 + {
1.1451 + array_id = r_newmvs_dialog_setautoscale_horiz_choicelist;
1.1452 + };
1.1453 + },
1.1454 + DLG_LINE
1.1455 + {
1.1456 + prompt=STRING_r_newvideo_dialog_video_auto_scale_horiz_pos;
1.1457 + type=EEikCtNumberEditor;
1.1458 + id=EMVSAutoScaleHorizPos;
1.1459 + control= NUMBER_EDITOR
1.1460 + {
1.1461 + min = -1000;
1.1462 + max = 1000;
1.1463 + };
1.1464 + },
1.1465 + DLG_LINE
1.1466 + {
1.1467 + prompt=STRING_r_newvideo_dialog_video_auto_scale_vert;
1.1468 + type=EEikCtChoiceList;
1.1469 + id=EMVSAutoScaleVert;
1.1470 + control= CHOICELIST
1.1471 + {
1.1472 + array_id = r_newmvs_dialog_setautoscale_vert_choicelist;
1.1473 + };
1.1474 + },
1.1475 + DLG_LINE
1.1476 + {
1.1477 + prompt=STRING_r_newvideo_dialog_video_auto_scale_vert_pos;
1.1478 + type=EEikCtNumberEditor;
1.1479 + id=EMVSAutoScaleVertPos;
1.1480 + control= NUMBER_EDITOR
1.1481 + {
1.1482 + min = -1000;
1.1483 + max = 1000;
1.1484 + };
1.1485 + },
1.1486 + DLG_LINE
1.1487 + {
1.1488 + prompt=STRING_r_newvideo_dialog_pip;
1.1489 + type=EEikCtCheckBox;
1.1490 + id=EMVSPIP;
1.1491 + },
1.1492 + DLG_LINE
1.1493 + {
1.1494 + prompt=STRING_r_newvideo_dialog_crp;
1.1495 + type=EEikCtCheckBox;
1.1496 + id=EMVSCRP;
1.1497 + }
1.1498 + };
1.1499 + }
1.1500 +
1.1501 +
1.1502 +RESOURCE ARRAY r_newmvs_dialog_setvideorotation_choicelist
1.1503 + {
1.1504 + items=
1.1505 + {
1.1506 + LBUF { txt= STRING_r_mvs_dialog_setrotationnone; },
1.1507 + LBUF { txt= STRING_r_mvs_dialog_setrotationClockwise90; },
1.1508 + LBUF { txt= STRING_r_mvs_dialog_setrotationClockwise180; },
1.1509 + LBUF { txt= STRING_r_mvs_dialog_setrotationClockwise270; }
1.1510 + };
1.1511 +
1.1512 + }
1.1513 +
1.1514 +RESOURCE ARRAY r_newmvs_dialog_setautoscale_type_choicelist
1.1515 + {
1.1516 + items=
1.1517 + {
1.1518 + LBUF { txt= STRING_r_newvideo_dialog_video_auto_scale_none; },
1.1519 + LBUF { txt= STRING_r_newvideo_dialog_video_auto_scale_best_fit; },
1.1520 + LBUF { txt= STRING_r_newvideo_dialog_video_auto_scale_clip; },
1.1521 + LBUF { txt= STRING_r_newvideo_dialog_video_auto_scale_stretch; }
1.1522 + };
1.1523 + }
1.1524 +
1.1525 +RESOURCE ARRAY r_newmvs_dialog_setautoscale_horiz_choicelist
1.1526 + {
1.1527 + items=
1.1528 + {
1.1529 + LBUF { txt= STRING_r_newvideo_dialog_video_auto_scale_left; },
1.1530 + LBUF { txt= STRING_r_newvideo_dialog_video_auto_scale_center; },
1.1531 + LBUF { txt= STRING_r_newvideo_dialog_video_auto_scale_right; },
1.1532 + LBUF { txt= STRING_r_newvideo_dialog_video_auto_scale_custom; }
1.1533 + };
1.1534 + }
1.1535 +
1.1536 +RESOURCE ARRAY r_newmvs_dialog_setautoscale_vert_choicelist
1.1537 + {
1.1538 + items=
1.1539 + {
1.1540 + LBUF { txt= STRING_r_newvideo_dialog_video_auto_scale_top; },
1.1541 + LBUF { txt= STRING_r_newvideo_dialog_video_auto_scale_center; },
1.1542 + LBUF { txt= STRING_r_newvideo_dialog_video_auto_scale_bottom; },
1.1543 + LBUF { txt= STRING_r_newvideo_dialog_video_auto_scale_custom; }
1.1544 + };
1.1545 + }
1.1546 +
1.1547 +/*//
1.1548 +//
1.1549 +//Audio Settings*/
1.1550 +RESOURCE DIALOG r_new_mvs_dialog_audiosetting
1.1551 + {
1.1552 + flags=EEikDialogFlagWait;
1.1553 + title=STRING_mvs_file_menu_audiosetting;
1.1554 + buttons = r_mvs_buttons_update_cancel;
1.1555 + items=
1.1556 + {
1.1557 + DLG_LINE
1.1558 + {
1.1559 + prompt=STRING_mvs_settings_audio_menu_setrepeats;
1.1560 + type=EEikCtNumberEditor;
1.1561 + id=EMVSCmdSetRepeats;
1.1562 + control= NUMBER_EDITOR
1.1563 + {
1.1564 + min = 0;
1.1565 + max = 1000;
1.1566 + };
1.1567 + },
1.1568 + DLG_LINE
1.1569 + {
1.1570 + prompt=STRING_mvs_audiosetting_dialog_delay;
1.1571 + type=EEikCtNumberEditor;
1.1572 + id=EMVSCmdSetTrailingSilence;
1.1573 + control= NUMBER_EDITOR
1.1574 + {
1.1575 + min = 1;
1.1576 + max = 10;
1.1577 + };
1.1578 + trailer="sec";
1.1579 + },
1.1580 + DLG_LINE
1.1581 + {
1.1582 + type=EEikCtCheckBox;
1.1583 + prompt=STRING_r_audiosetting_dialog_playonopen;
1.1584 + id=EMVSCmdAudioSetting;
1.1585 + },
1.1586 + DLG_LINE
1.1587 + {
1.1588 + prompt=STRING_mvs_settings_audio_menu_setaudiopriority;
1.1589 + type=EEikCtChoiceList;
1.1590 + id=EMVSCmdSetAudioPriority;
1.1591 + control= CHOICELIST
1.1592 + {
1.1593 + array_id = r_newmvs_dialog_setaudiopriority_choicelist;
1.1594 + };
1.1595 + },
1.1596 + DLG_LINE
1.1597 + {
1.1598 + prompt= STRING_mvs_settings_audio_menu_setaudioprioritypreference;
1.1599 + type=EEikCtChoiceList;
1.1600 + id=EMVSCmdSetAudioPriorityPreference;
1.1601 + control= CHOICELIST
1.1602 + {
1.1603 + array_id = r_newmvs_dialog_setprioritypreference_choicelist;
1.1604 + };
1.1605 + },
1.1606 + DLG_LINE
1.1607 + {
1.1608 + type=EEikCtCheckBox;
1.1609 + prompt=STRING_r_audiosetting_dialog_autopauseresume;
1.1610 + id=EMVSAutoPauseResume;
1.1611 + },
1.1612 + DLG_LINE
1.1613 + {
1.1614 + type=EEikCtNumberEditor;
1.1615 + prompt=STRING_r_audiosetting_dialog_maxfilesize;
1.1616 + id=EMVSCmdSetMaxFileSizeNum;
1.1617 + control= NUMBER_EDITOR
1.1618 + {
1.1619 + min = 0;
1.1620 + max = 2147483647;
1.1621 + };
1.1622 + }
1.1623 + };
1.1624 + }
1.1625 +
1.1626 +RESOURCE ARRAY r_newmvs_dialog_setaudiopriority_choicelist
1.1627 + {
1.1628 + items=
1.1629 + {
1.1630 + LBUF { txt= STRING_r_mvs_dialog_setaudiopriority_min; },
1.1631 + LBUF { txt= STRING_r_mvs_dialog_setaudiopriority_normal; },
1.1632 + LBUF { txt= STRING_r_mvs_dialog_setaudiopriority_max; }
1.1633 + };
1.1634 +
1.1635 + }
1.1636 +
1.1637 +RESOURCE ARRAY r_newmvs_dialog_setprioritypreference_choicelist
1.1638 + {
1.1639 + items=
1.1640 + {
1.1641 + LBUF { txt= STRING_r_mvs_dialog_setprioritypreference_None; },
1.1642 + LBUF { txt= STRING_r_mvs_dialog_setprioritypreference_time; },
1.1643 + LBUF { txt= STRING_r_mvs_dialog_setprioritypreference_quality; },
1.1644 + LBUF { txt= STRING_r_mvs_dialog_setprioritypreference_both; }
1.1645 + };
1.1646 +
1.1647 + }
1.1648 +
1.1649 +
1.1650 +
1.1651 +//
1.1652 +//
1.1653 +//SETPLAYWINDOW
1.1654 +
1.1655 +RESOURCE DIALOG r_mvs_dialog_setplaywindow
1.1656 + {
1.1657 + flags=EEikDialogFlagWait;
1.1658 + title=STRING_r_mvs_dialog_setplaywindow ;
1.1659 + buttons = r_mvs_buttons_update_cancel;
1.1660 + items=
1.1661 + {
1.1662 + DLG_LINE
1.1663 + {
1.1664 + prompt=STRING_r_mvs_dialog_setplaywindow_start;
1.1665 + type=EEikCtNumberEditor;
1.1666 + id=EMVSCmdSetPlayWindowStart;
1.1667 + control= NUMBER_EDITOR
1.1668 + {
1.1669 + min = 0;
1.1670 + max = 2147483647;
1.1671 + };
1.1672 + trailer="ms";
1.1673 + },
1.1674 + DLG_LINE
1.1675 + {
1.1676 + prompt=STRING_r_mvs_dialog_setplaywindow_end;
1.1677 + type=EEikCtNumberEditor;
1.1678 + id=EMVSCmdSetPlayWindowEnd;
1.1679 + control= NUMBER_EDITOR
1.1680 + {
1.1681 + min = 0;
1.1682 + max = 2147483647;//This will be updated when seeded
1.1683 + };
1.1684 + trailer="ms";
1.1685 + }
1.1686 + };
1.1687 + }
1.1688 +
1.1689 +//
1.1690 +//CROP DIALOG
1.1691 +// This dialog is used to crop the audio clip.
1.1692 +//
1.1693 +RESOURCE DIALOG r_mvs_dialog_crop
1.1694 + {
1.1695 + flags=EEikDialogFlagWait;
1.1696 + title=STRING_r_mvs_dialog_crop_crop;
1.1697 + buttons = r_mvs_buttons_crop_cancel;
1.1698 + items=
1.1699 + {
1.1700 + DLG_LINE
1.1701 + {
1.1702 + prompt=STRING_r_mvs_dialog_crop_leftright;
1.1703 + type=EEikCtHorOptionButList;
1.1704 + id=EMVSCmdCropLeftRight;
1.1705 + control= HOROPBUT
1.1706 + {
1.1707 + array_id=r_mvs_crop_left_right_array;
1.1708 + };
1.1709 + },
1.1710 + DLG_LINE
1.1711 + {
1.1712 + prompt=STRING_r_mvs_dialog_crop_position;
1.1713 + type=EEikCtNumberEditor;
1.1714 + id=EMVSCmdCropPositionNumber;
1.1715 + control= NUMBER_EDITOR
1.1716 + {
1.1717 + min = 0;
1.1718 + max = 9999999;//This will be updated when seeded
1.1719 + };
1.1720 + trailer="sec";
1.1721 + }
1.1722 + };
1.1723 + }
1.1724 +
1.1725 +RESOURCE ARRAY r_mvs_crop_left_right_array
1.1726 + {
1.1727 + items=
1.1728 + {
1.1729 + OPBUT { id = EMVSHorOptButtonCropFromBeginning;
1.1730 + text=STRING_r_mvs_crop_left_right_array_left; },
1.1731 + OPBUT { id = EMVSHorOptButtonCropFromEnd;
1.1732 + text=STRING_r_mvs_crop_left_right_array_right; }
1.1733 + };
1.1734 + }
1.1735 +
1.1736 +
1.1737 +RESOURCE PROGRESSINFO r_clip_progressinfo
1.1738 + {
1.1739 + text_type=0;
1.1740 + splits_in_block=50;
1.1741 + finalval=200;
1.1742 + width=0;
1.1743 + height=0;
1.1744 + }
1.1745 +
1.1746 +//
1.1747 +//
1.1748 +//
1.1749 +//Crop button
1.1750 +//
1.1751 +//
1.1752 +RESOURCE DLG_BUTTONS r_mvs_buttons_crop_cancel
1.1753 + {
1.1754 + buttons=
1.1755 + {
1.1756 + DLG_BUTTON
1.1757 + {
1.1758 + id = EMVSButtonCancel;
1.1759 + button = CMBUT {txt = STRING_r_mvs_buttons_cancel;};
1.1760 + hotkey = EEikBidCancel;
1.1761 + },
1.1762 + DLG_BUTTON
1.1763 + {
1.1764 + id = EMVSButtonUpdate;
1.1765 + button = CMBUT {txt = STRING_r_mvs_buttons_crop;};
1.1766 + hotkey = EEikBidOk;
1.1767 + }
1.1768 + };
1.1769 + }
1.1770 +
1.1771 +//
1.1772 +//View Related//
1.1773 +//
1.1774 +RESOURCE TBUF r_idle { buf = STRING_KIdle; }
1.1775 +RESOURCE TBUF r_playing { buf = STRING_KPlaying; }
1.1776 +RESOURCE TBUF r_ready { buf = STRING_KReady; }
1.1777 +RESOURCE TBUF r_paused { buf = STRING_KPaused; }
1.1778 +RESOURCE TBUF r_recording { buf = STRING_KRecording; }
1.1779 +RESOURCE TBUF r_nofile { buf = STRING_KNoFile; }
1.1780 +RESOURCE TBUF r_open { buf = STRING_KOpen; }
1.1781 +RESOURCE TBUF r_zerotime { buf = STRING_KZeroTime; }
1.1782 +
1.1783 +RESOURCE TBUF r_dollardollar { buf = STRING_KDollarDollar; }
1.1784 +RESOURCE TBUF r_percent { buf = STRING_KPercent; }
1.1785 +RESOURCE TBUF r_volume { buf = STRING_KVolume; }
1.1786 +RESOURCE TBUF r_volumeramp { buf = STRING_KVolumeRamp; }
1.1787 +RESOURCE TBUF r_balance { buf = STRING_KBalance; }
1.1788 +RESOURCE TBUF r_cropstart { buf = STRING_KCropStart; }
1.1789 +RESOURCE TBUF r_cropend { buf = STRING_KCropEnd; }
1.1790 +RESOURCE TBUF r_norepeats { buf = STRING_KNoRepeats; }
1.1791 +RESOURCE TBUF r_repeatdelay { buf = STRING_KRepeatDelay; }
1.1792 +RESOURCE TBUF r_audiopriority { buf = STRING_KAudioPriority; }
1.1793 +RESOURCE TBUF r_gain { buf = STRING_KGain; }
1.1794 +RESOURCE TBUF r_tabspace { buf = STRING_KTabSpace; }
1.1795 +RESOURCE TBUF r_ms { buf = STRING_Kms; }
1.1796 +RESOURCE TBUF r_cliplength { buf = STRING_KClipLength; }
1.1797 +RESOURCE TBUF r_left { buf = STRING_KLeftOpen; }
1.1798 +RESOURCE TBUF r_right { buf = STRING_KRightOpen; }
1.1799 +RESOURCE TBUF r_close { buf = STRING_KClose; }
1.1800 +RESOURCE TBUF r_nocrop { buf = STRING_KNoCrop; }
1.1801 +RESOURCE TBUF r_welcome { buf = STRING_KWelcome; }
1.1802 +RESOURCE TBUF r_center { buf = STRING_KCenter; }
1.1803 +RESOURCE TBUF r_ramp { buf = STRING_KRamp; }
1.1804 +RESOURCE TBUF r_format { buf = STRING_KFormat; }
1.1805 +RESOURCE TBUF r_bitrate { buf = STRING_KBitRate; }
1.1806 +RESOURCE TBUF r_samplerate { buf = STRING_KSampleRate; }
1.1807 +RESOURCE TBUF r_channels { buf = STRING_KChannels; }
1.1808 +RESOURCE TBUF r_audioenabled { buf = STRING_KAudioEnabled; }
1.1809 +RESOURCE TBUF r_audionotenabled { buf = STRING_KAudioNotEnabled; }