|
1 // Copyright (c) 1997-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 // TCOLOVR.RSS |
|
15 // |
|
16 // |
|
17 |
|
18 NAME TCOV |
|
19 |
|
20 #include <techview/eikon.rh> |
|
21 #include <techview/eikon.rsg> |
|
22 |
|
23 //#include <eikcolor.rh> |
|
24 |
|
25 #include "TCOLOVRSTEP.HRH" |
|
26 |
|
27 RESOURCE RSS_SIGNATURE { } |
|
28 |
|
29 RESOURCE TBUF16 { buf=""; } |
|
30 |
|
31 RESOURCE EIK_APP_INFO |
|
32 { |
|
33 hotkeys=r_tcolovr_hotkeys; |
|
34 menubar=r_tcolovr_menubar; |
|
35 toolbar=r_tcolovr_toolbar; |
|
36 } |
|
37 |
|
38 RESOURCE HOTKEYS r_tcolovr_hotkeys |
|
39 { |
|
40 control= |
|
41 { |
|
42 HOTKEY {command=EAppCmdShowDlg; key='s';}, |
|
43 HOTKEY {command=EEikCmdExit; key='e';}, |
|
44 HOTKEY {command=EAppCmdToggleSpane; key='y';} |
|
45 }; |
|
46 } |
|
47 |
|
48 RESOURCE TOOLBAR r_tcolovr_toolbar |
|
49 { |
|
50 controls= |
|
51 { |
|
52 TBAR_BUTTON {id=EEikCmdExit; txt="Exit";}, |
|
53 TBAR_BUTTON {id=EAppCmdShowDlg; txt="Show";} |
|
54 }; |
|
55 } |
|
56 |
|
57 RESOURCE MENU_BAR r_tcolovr_menubar |
|
58 { |
|
59 titles= |
|
60 { |
|
61 MENU_TITLE { menu_pane=r_tcolovr_file_menu; txt="Menu"; } |
|
62 }; |
|
63 } |
|
64 |
|
65 RESOURCE MENU_PANE r_tcolovr_file_menu |
|
66 { |
|
67 items= |
|
68 { |
|
69 MENU_ITEM |
|
70 { |
|
71 command=EAppCmdShowDlg; |
|
72 txt="Show"; |
|
73 }, |
|
74 MENU_ITEM |
|
75 { |
|
76 command=EAppCmdSystemColors; |
|
77 txt="Set normal system colors"; |
|
78 }, |
|
79 MENU_ITEM |
|
80 { |
|
81 command=EAppCmdOverrideForeAndBackToLightOnDark; |
|
82 txt="Set fore/back colors to light on dark"; |
|
83 }, |
|
84 MENU_ITEM |
|
85 { |
|
86 command=EAppCmdOverrideForeAndBackToDarkOnLight; |
|
87 txt="Set fore/back colors to dark on light"; |
|
88 }, |
|
89 MENU_ITEM |
|
90 { |
|
91 command=EAppCmdDim; |
|
92 txt="Dim controls"; |
|
93 }, |
|
94 MENU_ITEM |
|
95 { |
|
96 command=EAppCmdToggleFloatingMenu; |
|
97 txt="Toggle floating menu"; |
|
98 }, |
|
99 MENU_ITEM |
|
100 { |
|
101 command=EAppCmdToggleSpane; |
|
102 txt="Toggle Status Pane"; |
|
103 }, |
|
104 MENU_ITEM |
|
105 { |
|
106 command=EEikCmdExit; |
|
107 txt="Exit"; |
|
108 } |
|
109 }; |
|
110 } |
|
111 |
|
112 RESOURCE MENU_PANE r_tcolovr_menu |
|
113 { |
|
114 items= |
|
115 { |
|
116 MENU_ITEM |
|
117 { |
|
118 command=0; |
|
119 txt="Menu item"; |
|
120 }, |
|
121 MENU_ITEM |
|
122 { |
|
123 command=0; |
|
124 txt="Menu item"; |
|
125 } |
|
126 }; |
|
127 } |
|
128 |
|
129 RESOURCE MENU_BAR r_tcolovr_menus |
|
130 { |
|
131 titles= |
|
132 { |
|
133 MENU_TITLE { menu_pane=r_tcolovr_menu; txt="Menu title"; } |
|
134 }; |
|
135 } |
|
136 |
|
137 RESOURCE ARRAY r_tcolovr_fruit_list |
|
138 { |
|
139 items= |
|
140 { |
|
141 LBUF {txt="Apple";}, |
|
142 LBUF {txt="Banana";}, |
|
143 LBUF {txt="Blackberry";}, |
|
144 LBUF {txt="Blueberry";}, |
|
145 LBUF {txt="Cherry";}, |
|
146 LBUF {txt="Clementine";}, |
|
147 LBUF {txt="Coconut";}, |
|
148 LBUF {txt="Gooseberry";}, |
|
149 LBUF {txt="Grape";}, |
|
150 LBUF {txt="Kiwi";}, |
|
151 LBUF {txt="Mandarin";}, |
|
152 LBUF {txt="Peach";}, |
|
153 LBUF {txt="Plum";}, |
|
154 LBUF {txt="Rasberry";}, |
|
155 LBUF {txt="Rhubarb";}, |
|
156 LBUF {txt="Strawberry";}, |
|
157 LBUF {txt="Tomato";} |
|
158 }; |
|
159 } |
|
160 |
|
161 RESOURCE ARRAY r_tcolovr_list |
|
162 { |
|
163 items= |
|
164 { |
|
165 LBUF {txt="List item";}, |
|
166 LBUF {txt="List item";}, |
|
167 LBUF {txt="List item";}, |
|
168 LBUF {txt="List item";}, |
|
169 LBUF {txt="List item";}, |
|
170 LBUF {txt="List item";}, |
|
171 LBUF {txt="List item";}, |
|
172 LBUF {txt="List item";}, |
|
173 LBUF {txt="List item";} |
|
174 }; |
|
175 } |
|
176 |
|
177 RESOURCE ARRAY r_tcolovr_choices |
|
178 { |
|
179 items= |
|
180 { |
|
181 LBUF {txt="Choice";}, |
|
182 LBUF {txt="Choice";}, |
|
183 LBUF {txt="Choice";}, |
|
184 LBUF {txt="Choice";}, |
|
185 LBUF {txt="Choice";}, |
|
186 LBUF {txt="Choice";}, |
|
187 LBUF {txt="Choice";} |
|
188 }; |
|
189 } |
|
190 |
|
191 |
|
192 RESOURCE LISTBOX r_tcolovr_lbx |
|
193 { |
|
194 array_id=r_tcolovr_list; |
|
195 } |
|
196 |
|
197 RESOURCE DIALOG r_tcolovr_dialog |
|
198 { |
|
199 title="Colour Override Dialog"; |
|
200 buttons=R_EIK_BUTTONS_CONTINUE; |
|
201 flags=EEikDialogFlagWait; |
|
202 items= |
|
203 { |
|
204 DLG_LINE |
|
205 { |
|
206 type=EEikCtChoiceList; |
|
207 prompt="Fruit"; |
|
208 control=CHOICELIST |
|
209 { |
|
210 array_id=r_tcolovr_fruit_list; |
|
211 }; |
|
212 } |
|
213 }; |
|
214 } |
|
215 |
|
216 RESOURCE DIALOG r_tcolovr_auto_dialog |
|
217 { |
|
218 title="Colour Override Dialog"; |
|
219 buttons=R_EIK_BUTTONS_CONTINUE; |
|
220 items= |
|
221 { |
|
222 DLG_LINE |
|
223 { |
|
224 type=EEikCtChoiceList; |
|
225 prompt="Fruit"; |
|
226 control=CHOICELIST |
|
227 { |
|
228 array_id=r_tcolovr_fruit_list; |
|
229 }; |
|
230 } |
|
231 }; |
|
232 } |
|
233 |
|
234 RESOURCE CLOCK r_tcolovr_clock |
|
235 { |
|
236 type=EEikLocaleConformantClockTypeChangesFormatAccordingToLocale; |
|
237 digitalresourceid=R_EIK_DIGITAL_CLOCK; |
|
238 analogresourceid=R_EIK_ANALOG_CLOCK; |
|
239 } |
|
240 |