localisation/localesupport/TestNrl/TestNrl.Rss
changeset 0 a41df078684a
child 15 4122176ea935
equal deleted inserted replaced
-1:000000000000 0:a41df078684a
       
     1 // Copyright (c) 2001-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 the License "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 // TNRLAPP.RSS
       
    15 // 
       
    16 //
       
    17 
       
    18 NAME NRL
       
    19 CHARACTER_SET UTF8
       
    20 #include <techview\eikon.rh>
       
    21 #include <eikcore.rsg>
       
    22 #include <eikctl.rsg>
       
    23 #include <testnrl.mbg>
       
    24 #include "TestNrl.hrh"
       
    25 
       
    26 RESOURCE RSS_SIGNATURE { }
       
    27 
       
    28 RESOURCE TBUF16 { buf=""; }
       
    29 
       
    30 RESOURCE EIK_APP_INFO
       
    31 	{
       
    32 	hotkeys=r_nrl_hotkeys;
       
    33 	menubar=r_nrl_menubar;
       
    34 	toolbar=r_nrl_toolbar;
       
    35 	}
       
    36 
       
    37 RESOURCE MENU_BAR r_nrl_menubar
       
    38   {
       
    39   titles=
       
    40       {
       
    41        MENU_TITLE {menu_pane=r_nrl_file; txt="File"; }
       
    42        };
       
    43    }
       
    44 
       
    45 RESOURCE MENU_PANE r_nrl_file 
       
    46 	{
       
    47 	items=
       
    48 		{
       
    49 		MENU_ITEM
       
    50 			{
       
    51 			command=EAppCmdTest;
       
    52 			txt="Start Test";
       
    53 			},
       
    54 		MENU_ITEM
       
    55 			{
       
    56 			command=EAppCmdExit;
       
    57 			txt="Exit";
       
    58 			}
       
    59 		};
       
    60 	}
       
    61 
       
    62 RESOURCE HOTKEYS r_nrl_hotkeys
       
    63 	{
       
    64 	control=
       
    65 		{
       
    66 		HOTKEY{command=EAppCmdTest;key='t';},
       
    67 		HOTKEY{command=EAppCmdExit;key='e';}
       
    68 		};
       
    69 	}
       
    70 
       
    71 
       
    72 RESOURCE TOOLBAR r_nrl_toolbar
       
    73 	{
       
    74 	controls=
       
    75 		{
       
    76 		TBAR_BUTTON 
       
    77 			{
       
    78 			id=EAppCmdTest; 
       
    79 			txt="Start\nTests";
       
    80 			layout=EEikCmdButExcessToText;
       
    81 			flags=EEikToolBarCtrlHasSetMinLength;
       
    82 			length=KEikStdToolBarButtonHeight;
       
    83 			},
       
    84 		TBAR_BUTTON 
       
    85 			{
       
    86 			id=EAppCmdExit; 
       
    87 			txt="Exit";
       
    88 			layout=EEikCmdButExcessToText;
       
    89 			flags=EEikToolBarCtrlHasSetMinLength;
       
    90 			length=KEikStdToolBarButtonHeight;
       
    91 			},
       
    92 		TBAR_BUTTON
       
    93 			{
       
    94 			id=EAppCmdNone;
       
    95 			flags=EEikToolBarCtrlHasSetMinLength;
       
    96 			length=KEikStdToolBarButtonHeight*10/8;
       
    97 			layout=EEikCmdButTextRightPictureLeft|EEikCmdButDenseFont|EEikCmdButExcessToText;
       
    98 			bmpfile="z:\\resource\\apps\\testnrl.mbm";
       
    99 			bmpid=EMbmTestnrlPic;
       
   100 			bmpmask=EMbmTestnrlMask;
       
   101 			},
       
   102 		TBAR_CTRL 
       
   103 			{
       
   104 			type=EEikCtSpacer; id=9999; flags=EEikToolBarCtrlIsStretchable;
       
   105 			control=SPACER { }; 
       
   106 			},
       
   107 		TBAR_CTRL
       
   108 			{
       
   109 			type=EEikCtClock;
       
   110 			control=CLOCK 
       
   111 				{ 
       
   112 				digitalresourceid=R_EIK_DIGITAL_CLOCK; 
       
   113 				analogresourceid=R_EIK_ANALOG_CLOCK; 
       
   114 				};
       
   115 			}
       
   116 		};
       
   117 	}
       
   118 
       
   119 RESOURCE ARRAY r_nrl_collate
       
   120 	{
       
   121 	items=
       
   122 		{
       
   123 		LBUF {txt="D";},
       
   124 		LBUF {txt="B";},
       
   125 		LBUF {txt="A";}
       
   126 		};
       
   127 	}
       
   128 
       
   129 
       
   130