1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/textandloc/localisation/localesupport/TestNrl/TestNrl.Rss Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,132 @@
1.4 +/*
1.5 +* Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
1.6 +* All rights reserved.
1.7 +* This component and the accompanying materials are made available
1.8 +* under the terms of "Eclipse Public License v1.0"
1.9 +* which accompanies this distribution, and is available
1.10 +* at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.11 +*
1.12 +* Initial Contributors:
1.13 +* Nokia Corporation - initial contribution.
1.14 +*
1.15 +* Contributors:
1.16 +*
1.17 +* Description:
1.18 +* TNRLAPP.RSS
1.19 +*
1.20 +*/
1.21 +
1.22 +
1.23 +NAME NRL
1.24 +CHARACTER_SET UTF8
1.25 +#include <techview/eikon.rh>
1.26 +#include <eikcore.rsg>
1.27 +#include <eikctl.rsg>
1.28 +#include <testnrl.mbg>
1.29 +#include "TestNrl.hrh"
1.30 +
1.31 +RESOURCE RSS_SIGNATURE { }
1.32 +
1.33 +RESOURCE TBUF16 { buf=""; }
1.34 +
1.35 +RESOURCE EIK_APP_INFO
1.36 + {
1.37 + hotkeys=r_nrl_hotkeys;
1.38 + menubar=r_nrl_menubar;
1.39 + toolbar=r_nrl_toolbar;
1.40 + }
1.41 +
1.42 +RESOURCE MENU_BAR r_nrl_menubar
1.43 + {
1.44 + titles=
1.45 + {
1.46 + MENU_TITLE {menu_pane=r_nrl_file; txt="File"; }
1.47 + };
1.48 + }
1.49 +
1.50 +RESOURCE MENU_PANE r_nrl_file
1.51 + {
1.52 + items=
1.53 + {
1.54 + MENU_ITEM
1.55 + {
1.56 + command=EAppCmdTest;
1.57 + txt="Start Test";
1.58 + },
1.59 + MENU_ITEM
1.60 + {
1.61 + command=EAppCmdExit;
1.62 + txt="Exit";
1.63 + }
1.64 + };
1.65 + }
1.66 +
1.67 +RESOURCE HOTKEYS r_nrl_hotkeys
1.68 + {
1.69 + control=
1.70 + {
1.71 + HOTKEY{command=EAppCmdTest;key='t';},
1.72 + HOTKEY{command=EAppCmdExit;key='e';}
1.73 + };
1.74 + }
1.75 +
1.76 +
1.77 +RESOURCE TOOLBAR r_nrl_toolbar
1.78 + {
1.79 + controls=
1.80 + {
1.81 + TBAR_BUTTON
1.82 + {
1.83 + id=EAppCmdTest;
1.84 + txt="Start\nTests";
1.85 + layout=EEikCmdButExcessToText;
1.86 + flags=EEikToolBarCtrlHasSetMinLength;
1.87 + length=KEikStdToolBarButtonHeight;
1.88 + },
1.89 + TBAR_BUTTON
1.90 + {
1.91 + id=EAppCmdExit;
1.92 + txt="Exit";
1.93 + layout=EEikCmdButExcessToText;
1.94 + flags=EEikToolBarCtrlHasSetMinLength;
1.95 + length=KEikStdToolBarButtonHeight;
1.96 + },
1.97 + TBAR_BUTTON
1.98 + {
1.99 + id=EAppCmdNone;
1.100 + flags=EEikToolBarCtrlHasSetMinLength;
1.101 + length=KEikStdToolBarButtonHeight*10/8;
1.102 + layout=EEikCmdButTextRightPictureLeft|EEikCmdButDenseFont|EEikCmdButExcessToText;
1.103 + bmpfile="z:\\resource\\apps\\testnrl.mbm";
1.104 + bmpid=EMbmTestnrlPic;
1.105 + bmpmask=EMbmTestnrlMask;
1.106 + },
1.107 + TBAR_CTRL
1.108 + {
1.109 + type=EEikCtSpacer; id=9999; flags=EEikToolBarCtrlIsStretchable;
1.110 + control=SPACER { };
1.111 + },
1.112 + TBAR_CTRL
1.113 + {
1.114 + type=EEikCtClock;
1.115 + control=CLOCK
1.116 + {
1.117 + digitalresourceid=R_EIK_DIGITAL_CLOCK;
1.118 + analogresourceid=R_EIK_ANALOG_CLOCK;
1.119 + };
1.120 + }
1.121 + };
1.122 + }
1.123 +
1.124 +RESOURCE ARRAY r_nrl_collate
1.125 + {
1.126 + items=
1.127 + {
1.128 + LBUF {txt="D";},
1.129 + LBUF {txt="B";},
1.130 + LBUF {txt="A";}
1.131 + };
1.132 + }
1.133 +
1.134 +
1.135 +