1 /* |
|
2 * Copyright (c) 2005-2010 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: Contains all the resources for the SatelliteData. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // RESOURCE IDENTIFIER |
|
20 NAME SDSS // 4 letter ID |
|
21 |
|
22 // INCLUDES |
|
23 #include <avkon.rh> |
|
24 #include <avkon.mbg> |
|
25 #include <avkon.rsg> |
|
26 #include <eikon.rh> |
|
27 #include <bldvariant.hrh> |
|
28 #include <avkon.loc> |
|
29 #include <sc/Satellite.loc> |
|
30 #include "satellite.hrh" |
|
31 |
|
32 // RESOURCE DEFINITIONS |
|
33 |
|
34 // --------------------------------------------------------- |
|
35 // Standard resource signature |
|
36 // --------------------------------------------------------- |
|
37 // |
|
38 RESOURCE RSS_SIGNATURE { } |
|
39 |
|
40 //---------------------------------------------------- |
|
41 // |
|
42 // r_blid_note_sat_heading |
|
43 // Satellite heading |
|
44 // |
|
45 //---------------------------------------------------- |
|
46 // |
|
47 RESOURCE TBUF r_blid_note_sat_heading |
|
48 { |
|
49 buf = qtn_blid_note_sat_heading; |
|
50 } |
|
51 |
|
52 //---------------------------------------------------- |
|
53 // |
|
54 // r_satellite_wait_note |
|
55 // Fetching satellite information note |
|
56 // |
|
57 //---------------------------------------------------- |
|
58 // |
|
59 RESOURCE DIALOG r_satellite_wait_note |
|
60 { |
|
61 flags = EAknWaitNoteFlags | EEikDialogFlagWait; |
|
62 buttons = R_AVKON_SOFTKEYS_CANCEL; |
|
63 items = |
|
64 { |
|
65 DLG_LINE |
|
66 { |
|
67 type = EAknCtNote; |
|
68 id = EGeneralNote; |
|
69 control= AVKON_NOTE |
|
70 { |
|
71 layout = EWaitLayout; |
|
72 singular_label = qtn_gen_note_fetching; |
|
73 animation = R_QGN_GRAF_WAIT_BAR_ANIM; |
|
74 }; |
|
75 } |
|
76 }; |
|
77 } |
|
78 |
|
79 //------------------------------------------------------- |
|
80 // |
|
81 // SATELLITEEMPTYSTRUCT |
|
82 // Empty structure for r_satellite_dialog |
|
83 // |
|
84 //------------------------------------------------------- |
|
85 // |
|
86 STRUCT SATELLITEEMPTYSTRUCT |
|
87 { |
|
88 } |
|
89 |
|
90 |
|
91 RESOURCE CBA r_satellite_dialog_cba |
|
92 { |
|
93 buttons = |
|
94 { |
|
95 CBA_BUTTON |
|
96 { |
|
97 id = ESatelliteChangeView; |
|
98 txt = qtn_blid_sat_change_view; |
|
99 }, |
|
100 CBA_BUTTON |
|
101 { |
|
102 id = EEikCommandTypeExitOrBack; |
|
103 txt = text_softkey_close; |
|
104 }, |
|
105 CBA_BUTTON |
|
106 { |
|
107 id = ESatelliteChangeView; |
|
108 txt = qtn_blid_sat_change_view; |
|
109 } |
|
110 }; |
|
111 } |
|
112 |
|
113 //---------------------------------------------------- |
|
114 // |
|
115 // r_satellite_dialog |
|
116 // Custom dialog to display satellite view |
|
117 // |
|
118 //---------------------------------------------------- |
|
119 // |
|
120 RESOURCE DIALOG r_satellite_dialog |
|
121 { |
|
122 flags = EEikDialogFlagNoDrag | EEikDialogFlagButtonsRight | EEikDialogFlagNoTitleBar | |
|
123 EEikDialogFlagCbaButtons | EEikDialogFlagWait | |
|
124 EEikDialogFlagFillScreen; |
|
125 buttons = r_satellite_dialog_cba; |
|
126 items = |
|
127 { |
|
128 DLG_LINE |
|
129 { |
|
130 type = ESatelliteControl; |
|
131 id = ESatelliteControl; |
|
132 control = SATELLITEEMPTYSTRUCT; |
|
133 } |
|
134 }; |
|
135 } |
|
136 |
|
137 |
|
138 //---------------------------------------------------- |
|
139 // |
|
140 // r_connect_bluetooth_gps |
|
141 // Satellite heading |
|
142 // |
|
143 //---------------------------------------------------- |
|
144 // |
|
145 RESOURCE TBUF r_connect_bluetooth_gps |
|
146 { |
|
147 buf = qtn_connect_bluetooth_gps; |
|
148 } |
|
149 |
|
150 //---------------------------------------------------- |
|
151 // |
|
152 // r_blid_note_no_satellite_data |
|
153 // Satellite heading |
|
154 // |
|
155 //---------------------------------------------------- |
|
156 // |
|
157 RESOURCE TBUF r_blid_note_no_satellite_data |
|
158 { |
|
159 buf = qtn_blid_note_no_satellite_data; |
|
160 } |
|
161 |
|
162 //---------------------------------------------------- |
|
163 // |
|
164 // r_blid_note_no_gps |
|
165 // Satellite heading |
|
166 // |
|
167 //---------------------------------------------------- |
|
168 // |
|
169 RESOURCE TBUF r_blid_note_no_gps |
|
170 { |
|
171 buf = qtn_blid_note_no_gps; |
|
172 } |
|
173 |
|
174 //---------------------------------------------------- |
|
175 // |
|
176 // r_blid_satellite_id |
|
177 // Satellite numbers in signal strength view |
|
178 // |
|
179 //---------------------------------------------------- |
|
180 // |
|
181 RESOURCE TBUF r_blid_satellite_id |
|
182 { |
|
183 buf = qtn_blid_satellite_id; |
|
184 } |
|
185 |
|
186 //---------------------------------------------------- |
|
187 // |
|
188 // r_blid_sat_symbol_north |
|
189 // Cardinal point N |
|
190 // |
|
191 //---------------------------------------------------- |
|
192 // |
|
193 RESOURCE TBUF r_blid_sat_symbol_north |
|
194 { |
|
195 buf = qtn_blid_sat_symbol_north; |
|
196 } |
|
197 |
|
198 //---------------------------------------------------- |
|
199 // |
|
200 // r_blid_sat_symbol_south |
|
201 // Cardinal point S |
|
202 // |
|
203 //---------------------------------------------------- |
|
204 // |
|
205 RESOURCE TBUF r_blid_sat_symbol_south |
|
206 { |
|
207 buf = qtn_blid_sat_symbol_south; |
|
208 } |
|
209 |
|
210 //---------------------------------------------------- |
|
211 // |
|
212 // r_blid_sat_symbol_west |
|
213 // Cardinal point W |
|
214 // |
|
215 //---------------------------------------------------- |
|
216 // |
|
217 RESOURCE TBUF r_blid_sat_symbol_west |
|
218 { |
|
219 buf = qtn_blid_sat_symbol_west; |
|
220 } |
|
221 |
|
222 //---------------------------------------------------- |
|
223 // |
|
224 // r_blid_sat_symbol_east |
|
225 // Cardinal point E |
|
226 // |
|
227 //---------------------------------------------------- |
|
228 // |
|
229 RESOURCE TBUF r_blid_sat_symbol_east |
|
230 { |
|
231 buf = qtn_blid_sat_symbol_east; |
|
232 } |
|
233 |
|
234 //---------------------------------------------------- |
|
235 // |
|
236 // r_blid_sat_heading_signals |
|
237 // Heading pane for satellite signal strength view |
|
238 // |
|
239 //---------------------------------------------------- |
|
240 // |
|
241 RESOURCE TBUF r_blid_sat_heading_signals |
|
242 { |
|
243 buf = qtn_blid_sat_heading_signals; |
|
244 } |
|
245 |
|
246 //---------------------------------------------------- |
|
247 // |
|
248 // r_blid_sat_heading_graphic |
|
249 // Heading pane text for satellite graphical view |
|
250 // |
|
251 //---------------------------------------------------- |
|
252 // |
|
253 RESOURCE TBUF r_blid_sat_heading_graphic |
|
254 { |
|
255 buf = qtn_blid_sat_heading_graphic; |
|
256 } |
|
257 |
|
258 //---------------------------------------------------- |
|
259 // r_blid_sat_heading_compass |
|
260 // Heading pane text for satellite graphical view |
|
261 //---------------------------------------------------- |
|
262 // |
|
263 RESOURCE TBUF r_blid_sat_heading_compass |
|
264 { |
|
265 buf = qtn_blid_sat_heading_compass; |
|
266 } |
|
267 |
|
268 //---------------------------------------------------- |
|
269 // r_blid_sat_compass_north |
|
270 // Cardinal point N |
|
271 //---------------------------------------------------- |
|
272 // |
|
273 RESOURCE TBUF r_blid_sat_compass_north |
|
274 { |
|
275 buf = qtn_blid_sat_compass_north; |
|
276 } |
|
277 |
|
278 //---------------------------------------------------- |
|
279 // r_blid_sat_compass_south |
|
280 // Cardinal point S |
|
281 //---------------------------------------------------- |
|
282 // |
|
283 RESOURCE TBUF r_blid_sat_compass_south |
|
284 { |
|
285 buf = qtn_blid_sat_compass_south; |
|
286 } |
|
287 |
|
288 //---------------------------------------------------- |
|
289 // r_blid_sat_compass_west |
|
290 // Cardinal point W |
|
291 //---------------------------------------------------- |
|
292 // |
|
293 RESOURCE TBUF r_blid_sat_compass_west |
|
294 { |
|
295 buf = qtn_blid_sat_compass_west; |
|
296 } |
|
297 |
|
298 //---------------------------------------------------- |
|
299 // r_blid_sat_compass_east |
|
300 // Cardinal point E |
|
301 //---------------------------------------------------- |
|
302 // |
|
303 RESOURCE TBUF r_blid_sat_compass_east |
|
304 { |
|
305 buf = qtn_blid_sat_compass_east; |
|
306 } |
|
307 |
|
308 //---------------------------------------------------- |
|
309 // r_blid_sat_compass_altitude |
|
310 // Altitude String |
|
311 //---------------------------------------------------- |
|
312 // |
|
313 RESOURCE TBUF r_blid_sat_compass_altitude |
|
314 { |
|
315 buf = qtn_blid_sat_compass_altitude; |
|
316 } |
|
317 |
|
318 //---------------------------------------------------- |
|
319 // r_blid_sat_compass_speed |
|
320 // Speed String |
|
321 //---------------------------------------------------- |
|
322 // |
|
323 RESOURCE TBUF r_blid_sat_compass_speed |
|
324 { |
|
325 buf = qtn_blid_sat_compass_speed; |
|
326 } |
|
327 |
|
328 //---------------------------------------------------- |
|
329 // r_blid_sat_compass_direction |
|
330 // Direction String |
|
331 //---------------------------------------------------- |
|
332 // |
|
333 RESOURCE TBUF r_blid_sat_compass_direction |
|
334 { |
|
335 buf = qtn_blid_sat_compass_direction; |
|
336 } |
|
337 |
|
338 //---------------------------------------------------- |
|
339 // r_blid_sat_metric_speed |
|
340 // Metric Speed Format String |
|
341 //---------------------------------------------------- |
|
342 // |
|
343 RESOURCE TBUF r_blid_sat_metric_speed |
|
344 { |
|
345 buf = qtn_blid_sat_compass_speed_kmph; |
|
346 } |
|
347 |
|
348 //---------------------------------------------------- |
|
349 // r_blid_sat_imperial_speed |
|
350 // Imperial Speed Format String |
|
351 //---------------------------------------------------- |
|
352 // |
|
353 RESOURCE TBUF r_blid_sat_imperial_speed |
|
354 { |
|
355 buf = qtn_blid_sat_compass_speed_mph; |
|
356 } |
|
357 |
|
358 //---------------------------------------------------- |
|
359 // r_blid_sat_metric_meter |
|
360 // Metric Meter Format String |
|
361 //---------------------------------------------------- |
|
362 // |
|
363 RESOURCE TBUF r_blid_sat_metric_meter |
|
364 { |
|
365 buf = qtn_blid_sat_compass_altitude_meter; |
|
366 } |
|
367 |
|
368 //---------------------------------------------------- |
|
369 // r_blid_sat_imperial_foot |
|
370 // Imperial Foot Format String |
|
371 //---------------------------------------------------- |
|
372 // |
|
373 RESOURCE TBUF r_blid_sat_imperial_foot |
|
374 { |
|
375 buf = qtn_blid_sat_compass_altitude_feet; |
|
376 } |
|
377 |
|
378 //---------------------------------------------------- |
|
379 // r_blid_sat_degree |
|
380 // Degree Format String |
|
381 //---------------------------------------------------- |
|
382 // |
|
383 RESOURCE TBUF r_blid_sat_degree |
|
384 { |
|
385 buf = qtn_blid_sat_degree; |
|
386 } |
|
387 |
|
388 //---------------------------------------------------- |
|
389 // r_blid_sat_compass_2d |
|
390 // 2D Type of Fix |
|
391 //---------------------------------------------------- |
|
392 // |
|
393 RESOURCE TBUF r_blid_sat_compass_2d |
|
394 { |
|
395 buf = qtn_blid_sat_compass_2d; |
|
396 } |
|
397 |
|
398 //---------------------------------------------------- |
|
399 // r_blid_sat_compass_3d |
|
400 // 3D Type of Fix |
|
401 //---------------------------------------------------- |
|
402 // |
|
403 RESOURCE TBUF r_blid_sat_compass_3d |
|
404 { |
|
405 buf = qtn_blid_sat_compass_3d; |
|
406 } |
|
407 |
|
408 // End of File |
|
409 |
|
410 |
|