1 /* |
|
2 * Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * TNRLAPP.RSS |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 NAME NRL |
|
21 CHARACTER_SET UTF8 |
|
22 #include <techview\eikon.rh> |
|
23 #include <eikcore.rsg> |
|
24 #include <eikctl.rsg> |
|
25 #include <testnrl.mbg> |
|
26 #include "TestNrl.hrh" |
|
27 |
|
28 RESOURCE RSS_SIGNATURE { } |
|
29 |
|
30 RESOURCE TBUF16 { buf=""; } |
|
31 |
|
32 RESOURCE EIK_APP_INFO |
|
33 { |
|
34 hotkeys=r_nrl_hotkeys; |
|
35 menubar=r_nrl_menubar; |
|
36 toolbar=r_nrl_toolbar; |
|
37 } |
|
38 |
|
39 RESOURCE MENU_BAR r_nrl_menubar |
|
40 { |
|
41 titles= |
|
42 { |
|
43 MENU_TITLE {menu_pane=r_nrl_file; txt="File"; } |
|
44 }; |
|
45 } |
|
46 |
|
47 RESOURCE MENU_PANE r_nrl_file |
|
48 { |
|
49 items= |
|
50 { |
|
51 MENU_ITEM |
|
52 { |
|
53 command=EAppCmdTest; |
|
54 txt="Start Test"; |
|
55 }, |
|
56 MENU_ITEM |
|
57 { |
|
58 command=EAppCmdExit; |
|
59 txt="Exit"; |
|
60 } |
|
61 }; |
|
62 } |
|
63 |
|
64 RESOURCE HOTKEYS r_nrl_hotkeys |
|
65 { |
|
66 control= |
|
67 { |
|
68 HOTKEY{command=EAppCmdTest;key='t';}, |
|
69 HOTKEY{command=EAppCmdExit;key='e';} |
|
70 }; |
|
71 } |
|
72 |
|
73 |
|
74 RESOURCE TOOLBAR r_nrl_toolbar |
|
75 { |
|
76 controls= |
|
77 { |
|
78 TBAR_BUTTON |
|
79 { |
|
80 id=EAppCmdTest; |
|
81 txt="Start\nTests"; |
|
82 layout=EEikCmdButExcessToText; |
|
83 flags=EEikToolBarCtrlHasSetMinLength; |
|
84 length=KEikStdToolBarButtonHeight; |
|
85 }, |
|
86 TBAR_BUTTON |
|
87 { |
|
88 id=EAppCmdExit; |
|
89 txt="Exit"; |
|
90 layout=EEikCmdButExcessToText; |
|
91 flags=EEikToolBarCtrlHasSetMinLength; |
|
92 length=KEikStdToolBarButtonHeight; |
|
93 }, |
|
94 TBAR_BUTTON |
|
95 { |
|
96 id=EAppCmdNone; |
|
97 flags=EEikToolBarCtrlHasSetMinLength; |
|
98 length=KEikStdToolBarButtonHeight*10/8; |
|
99 layout=EEikCmdButTextRightPictureLeft|EEikCmdButDenseFont|EEikCmdButExcessToText; |
|
100 bmpfile="z:\\resource\\apps\\testnrl.mbm"; |
|
101 bmpid=EMbmTestnrlPic; |
|
102 bmpmask=EMbmTestnrlMask; |
|
103 }, |
|
104 TBAR_CTRL |
|
105 { |
|
106 type=EEikCtSpacer; id=9999; flags=EEikToolBarCtrlIsStretchable; |
|
107 control=SPACER { }; |
|
108 }, |
|
109 TBAR_CTRL |
|
110 { |
|
111 type=EEikCtClock; |
|
112 control=CLOCK |
|
113 { |
|
114 digitalresourceid=R_EIK_DIGITAL_CLOCK; |
|
115 analogresourceid=R_EIK_ANALOG_CLOCK; |
|
116 }; |
|
117 } |
|
118 }; |
|
119 } |
|
120 |
|
121 RESOURCE ARRAY r_nrl_collate |
|
122 { |
|
123 items= |
|
124 { |
|
125 LBUF {txt="D";}, |
|
126 LBUF {txt="B";}, |
|
127 LBUF {txt="A";} |
|
128 }; |
|
129 } |
|
130 |
|
131 |
|
132 |
|