blob: baba357ccc056134291af9ef0df09888146edb4c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
|
/***************************************************************************
* __________ __ ___.
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
* \/ \/ \/ \/ \/
* $Id$
*
* Copyright (C) 2006 Dan Everton
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
* KIND, either express or implied.
*
****************************************************************************/
#ifndef __UISDL_H__
#define __UISDL_H__
#include <stdbool.h>
#include "SDL.h"
#include "config.h"
/* colour definitions are R, G, B */
#if defined(IRIVER_H120) || defined(IRIVER_H100)
#define UI_TITLE "iriver H1x0"
#define UI_WIDTH 379 /* width of GUI window */
#define UI_HEIGHT 508 /* height of GUI window */
#define UI_LCD_POSX 109 /* x position of lcd */
#define UI_LCD_POSY 23 /* y position of lcd */
#define UI_REMOTE_POSX 50 /* x position of remote lcd */
#define UI_REMOTE_POSY 403 /* y position of remote lcd */
#elif defined(IRIVER_H300)
#define UI_TITLE "iriver H300"
#define UI_WIDTH 288 /* width of GUI window */
#define UI_HEIGHT 581 /* height of GUI window */
#define UI_LCD_POSX 26 /* x position of lcd */
#define UI_LCD_POSY 36 /* y position of lcd */
#define UI_REMOTE_POSX 12 /* x position of remote lcd */
#define UI_REMOTE_POSY 478 /* y position of remote lcd */
#elif defined(IPOD_1G2G)
#define UI_TITLE "iPod 1G/2G"
#define UI_WIDTH 224 /* width of GUI window */
#define UI_HEIGHT 382 /* height of GUI window */
#define UI_LCD_POSX 32 /* x position of lcd */
#define UI_LCD_POSY 12 /* y position of lcd */
#elif defined(IPOD_3G)
#define UI_TITLE "iPod 3G"
#define UI_WIDTH 218 /* width of GUI window */
#define UI_HEIGHT 389 /* height of GUI window */
#define UI_LCD_POSX 29 /* x position of lcd */
#define UI_LCD_POSY 16 /* y position of lcd */
#elif defined(IPOD_4G)
#define UI_TITLE "iPod 4G"
#define UI_WIDTH 196 /* width of GUI window */
#define UI_HEIGHT 370 /* height of GUI window */
#define UI_LCD_POSX 19 /* x position of lcd */
#define UI_LCD_POSY 14 /* y position of lcd */
#elif defined(IPOD_MINI) || defined(IPOD_MINI2G)
#define UI_TITLE "iPod mini"
#define UI_WIDTH 191 /* width of GUI window */
#define UI_HEIGHT 365 /* height of GUI window */
#define UI_LCD_POSX 24 /* x position of lcd */
#define UI_LCD_POSY 17 /* y position of lcd */
#elif defined(IPOD_COLOR)
#define UI_TITLE "iPod Color"
#define UI_WIDTH 261 /* width of GUI window */
#define UI_HEIGHT 493 /* height of GUI window */
#define UI_LCD_POSX 21 /* x position of lcd */
#define UI_LCD_POSY 16 /* y position of lcd */
#elif defined(IPOD_NANO)
#define UI_TITLE "iPod Nano"
#define UI_WIDTH 199 /* width of GUI window */
#define UI_HEIGHT 421 /* height of GUI window */
#define UI_LCD_POSX 13 /* x position of lcd */
#define UI_LCD_POSY 14 /* y position of lcd */
#elif defined(IPOD_NANO2G)
#define UI_TITLE "iPod Nano 2G"
#define UI_WIDTH 235 /* width of GUI window */
#define UI_HEIGHT 537 /* height of GUI window */
#define UI_LCD_POSX 29 /* x position of lcd */
#define UI_LCD_POSY 33 /* y position of lcd */
#elif defined(IPOD_VIDEO)
#define UI_TITLE "iPod Video"
#define UI_WIDTH 350 /* width of GUI window */
#define UI_HEIGHT 591 /* height of GUI window */
#define UI_LCD_POSX 14 /* x position of lcd */
#define UI_LCD_POSY 12 /* y position of lcd */
#elif defined(IPOD_6G)
#define UI_TITLE "iPod 6G"
#define UI_WIDTH 350 /* width of GUI window */
#define UI_HEIGHT 591 /* height of GUI window */
#define UI_LCD_POSX 14 /* x position of lcd */
#define UI_LCD_POSY 12 /* y position of lcd */
#elif defined(IAUDIO_X5)
#define UI_TITLE "iAudio X5"
#define UI_WIDTH 300 /* width of GUI window */
#define UI_HEIGHT 558 /* height of GUI window */
#define UI_LCD_POSX 55 /* x position of lcd */
#define UI_LCD_POSY 61 /* y position of lcd */
#define UI_REMOTE_POSX 12 /* x position of remote lcd */
#define UI_REMOTE_POSY 462 /* y position of remote lcd */
#elif defined(IAUDIO_M5)
#define UI_TITLE "iAudio M5"
#define UI_WIDTH 374 /* width of GUI window */
#define UI_HEIGHT 650 /* height of GUI window */
#define UI_LCD_POSX 82 /* x position of lcd */
#define UI_LCD_POSY 74 /* y position of lcd */
#define UI_REMOTE_POSX 59 /* x position of remote lcd */
#define UI_REMOTE_POSY 509 /* y position of remote lcd */
#elif defined(IAUDIO_M3)
#define UI_TITLE "iAudio M3"
#define UI_WIDTH 397 /* width of GUI window */
#define UI_HEIGHT 501 /* height of GUI window */
#define UI_LCD_POSX 92 /* x position of lcd */
#define UI_LCD_POSY 348 /* y position of lcd */
#elif defined(GIGABEAT_F)
#define UI_TITLE "Toshiba Gigabeat"
#define UI_WIDTH 401 /* width of GUI window */
#define UI_HEIGHT 655 /* height of GUI window */
#define UI_LCD_POSX 48 /* x position of lcd */
#define UI_LCD_POSY 60 /* y position of lcd */
#elif defined(GIGABEAT_S)
#define UI_TITLE "Toshiba Gigabeat"
#define UI_WIDTH 450 /* width of GUI window */
#define UI_HEIGHT 688 /* height of GUI window */
#define UI_LCD_POSX 96 /* x position of lcd */
#define UI_LCD_POSY 90 /* y position of lcd */
#elif defined(MROBE_500)
#if LCD_WIDTH==320
#define UI_TITLE "Olympus M:Robe 500"
#define UI_WIDTH 450 /* width of GUI window */
#define UI_HEIGHT 350 /* height of GUI window */
#define UI_LCD_POSX 65 /* x position of lcd */
#define UI_LCD_POSY 30 /* y position of lcd */
#define UI_REMOTE_POSX 36 /* x position of remote lcd */
#define UI_REMOTE_POSY 318 /* y position of remote lcd */
#else
#define UI_TITLE "Olympus M:Robe 500"
#define UI_WIDTH 895 /* width of GUI window */
#define UI_HEIGHT 646 /* height of GUI window */
#define UI_LCD_POSX 129 /* x position of lcd */
#define UI_LCD_POSY 60 /* y position of lcd */
#define UI_REMOTE_POSX 37 /* x position of remote lcd */
#define UI_REMOTE_POSY 615 /* y position of remote lcd */
#endif
#elif defined(IRIVER_H10)
#define UI_TITLE "iriver H10 20Gb"
#define UI_WIDTH 392 /* width of GUI window */
#define UI_HEIGHT 391 /* height of GUI window */
#define UI_LCD_POSX 111 /* x position of lcd */
#define UI_LCD_POSY 30 /* y position of lcd */
#elif defined(IRIVER_H10_5GB)
#define UI_TITLE "iriver H10 5/6Gb"
#define UI_WIDTH 353 /* width of GUI window */
#define UI_HEIGHT 460 /* height of GUI window */
#define UI_LCD_POSX 112 /* x position of lcd */
#define UI_LCD_POSY 45 /* y position of lcd */
#elif defined(SANSA_E200) || defined(SANSA_E200V2)
#ifdef SANSA_E200
#define UI_TITLE "Sansa e200"
#else
#define UI_TITLE "Sansa e200v2"
#endif
#define UI_WIDTH 260 /* width of GUI window */
#define UI_HEIGHT 502 /* height of GUI window */
#define UI_LCD_POSX 42 /* x position of lcd */
#define UI_LCD_POSY 37 /* y position of lcd */
#elif defined(SANSA_C200) || defined(SANSA_C200V2)
#ifdef SANSA_C200
#define UI_TITLE "Sansa c200"
#else
#define UI_TITLE "Sansa c200v2"
#endif
#define UI_WIDTH 350 /* width of GUI window */
#define UI_HEIGHT 152 /* height of GUI window */
#define UI_LCD_POSX 42 /* x position of lcd */
#define UI_LCD_POSY 35 /* y position of lcd */
#elif defined(MROBE_100)
#define UI_TITLE "Olympus M:Robe 100"
#define UI_WIDTH 247 /* width of GUI window */
#define UI_HEIGHT 462 /* height of GUI window */
#define UI_LCD_POSX 43 /* x position of lcd */
#define UI_LCD_POSY 25 /* y position of lcd */
#define UI_REMOTE_POSX 34 /* x position of remote lcd */
#define UI_REMOTE_POSY 432 /* y position of remote lcd */
#elif defined(COWON_D2)
#define UI_TITLE "Cowon D2"
#define UI_WIDTH 472 /* width of GUI window */
#define UI_HEIGHT 368 /* height of GUI window */
#define UI_LCD_POSX 58 /* x position of lcd */
#define UI_LCD_POSY 67 /* y position of lcd */
#elif defined(CREATIVE_ZVM) || defined(CREATIVE_ZVM60GB)
#ifdef CREATIVE_ZVM
#define UI_TITLE "Creative Zen Vision:M 30GB"
#else
#define UI_TITLE "Creative Zen Vision:M 60GB"
#endif
#define UI_WIDTH 383 /* width of GUI window */
#define UI_HEIGHT 643 /* height of GUI window */
#define UI_LCD_POSX 31 /* x position of lcd */
#define UI_LCD_POSY 62 /* y position of lcd */
#elif defined(CREATIVE_ZV)
#define UI_TITLE "Creative Zen Vision"
#define UI_WIDTH 1054 /* width of GUI window */
#define UI_HEIGHT 643 /* height of GUI window */
#define UI_LCD_POSX 129 /* x position of lcd */
#define UI_LCD_POSY 85 /* y position of lcd */
#elif defined(MEIZU_M6SL)
#define UI_TITLE "Meizu M6"
#define UI_WIDTH 512 /* width of GUI window */
#define UI_HEIGHT 322 /* height of GUI window */
#define UI_LCD_POSX 39 /* x position of lcd */
#define UI_LCD_POSY 38 /* y position of lcd */
#elif defined(SANSA_FUZEPLUS)
#define UI_TITLE "Sansa Fuze+"
#define UI_WIDTH 322 /* width of GUI window */
#define UI_HEIGHT 609 /* height of GUI window */
#define UI_LCD_POSX 43 /* x position of lcd */
#define UI_LCD_POSY 62 /* y position of lcd */
#elif defined(SANSA_FUZE) || defined(SANSA_FUZEV2)
#ifdef SANSA_FUZE
#define UI_TITLE "Sansa Fuze"
#else
#define UI_TITLE "Sansa Fuzev2"
#endif
#define UI_WIDTH 279 /* width of GUI window */
#define UI_HEIGHT 449 /* height of GUI window */
#define UI_LCD_POSX 30 /* x position of lcd */
#define UI_LCD_POSY 31 /* y position of lcd */
#elif defined(SANSA_CLIP) || defined(SANSA_CLIPV2)
#if defined(SANSA_CLIP)
#define CLIP_VERSION ""
#elif defined(SANSA_CLIPV2)
#define CLIP_VERSION "v2"
#endif
#define UI_TITLE "Sansa Clip"CLIP_VERSION
#define UI_WIDTH 205 /* width of GUI window */
#define UI_HEIGHT 325 /* height of GUI window */
#define UI_LCD_POSX 38 /* x position of lcd */
#define UI_LCD_POSY 38 /* y position of lcd */
#elif defined(SANSA_CLIPPLUS)
#define UI_TITLE "Sansa Clip+"
#define UI_WIDTH 205 /* width of GUI window */
#define UI_HEIGHT 325 /* height of GUI window */
#define UI_LCD_POSX 42 /* x position of lcd */
#define UI_LCD_POSY 42 /* y position of lcd */
#elif defined(SANSA_CLIPZIP)
#define UI_TITLE "Sansa Clip Zip"
#define UI_WIDTH 160 /* width of GUI window */
#define UI_HEIGHT 254 /* height of GUI window */
#define UI_LCD_POSX 33 /* x position of lcd */
#define UI_LCD_POSY 26 /* y position of lcd */
#elif defined(PHILIPS_SA9200)
#define UI_TITLE "Philips GoGear SA9200"
#define UI_WIDTH 233 /* width of GUI window */
#define UI_HEIGHT 435 /* height of GUI window */
#define UI_LCD_POSX 50 /* x position of lcd */
#define UI_LCD_POSY 50 /* y position of lcd */
#elif defined(PHILIPS_HDD1630)
#define UI_TITLE "Philips GoGear HDD1630"
#define UI_WIDTH 407 /* width of GUI window */
#define UI_HEIGHT 391 /* height of GUI window */
#define UI_LCD_POSX 143 /* x position of lcd */
#define UI_LCD_POSY 27 /* y position of lcd */
#elif defined(PHILIPS_HDD6330)
#define UI_TITLE "Philips GoGear HDD63X0"
#define UI_WIDTH 400 /* width of GUI window */
#define UI_HEIGHT 614 /* height of GUI window */
#define UI_LCD_POSX 89 /* x position of lcd */
#define UI_LCD_POSY 113 /* y position of lcd */
#elif defined(SANSA_M200V4)
#define UI_TITLE "sansa m200v4"
#define UI_WIDTH 350 /* width of GUI window */
#define UI_HEIGHT 168 /* height of GUI window */
#define UI_LCD_POSX 42 /* x position of lcd */
#define UI_LCD_POSY 55 /* y position of lcd */
#elif defined(ONDA_VX747) || defined(ONDA_VX747P)
#ifdef ONDA_VX747
#define UI_TITLE "Onda VX747"
#else
#define UI_TITLE "Onda VX747+"
#endif
#define UI_WIDTH 340 /* width of GUI window */
#define UI_HEIGHT 601 /* height of GUI window */
#define UI_LCD_POSX 45 /* x position of lcd */
#define UI_LCD_POSY 90 /* y position of lcd */
#elif defined(ONDA_VX777)
#define UI_TITLE "Onda VX777"
#define UI_WIDTH 306 /* width of GUI window */
#define UI_HEIGHT 558 /* height of GUI window */
#define UI_LCD_POSX 32 /* x position of lcd */
#define UI_LCD_POSY 81 /* y position of lcd */
#elif defined(SAMSUNG_YH820)
#define UI_TITLE "Samsung YH-820"
#define UI_WIDTH 368 /* width of GUI window */
#define UI_HEIGHT 428 /* height of GUI window */
#define UI_LCD_POSX 120 /* x position of lcd */
#define UI_LCD_POSY 75 /* y position of lcd */
#elif defined(SAMSUNG_YH920) || defined(SAMSUNG_YH925)
#ifdef SAMSUNG_YH920
#define UI_TITLE "Samsung YH-920"
#else
#define UI_TITLE "Samsung YH-925"
#endif
#define UI_WIDTH 408 /* width of GUI window */
#define UI_HEIGHT 454 /* height of GUI window */
#define UI_LCD_POSX 124 /* x position of lcd */
#define UI_LCD_POSY 42 /* y position of lcd */
#elif defined(MINI2440)
#define UI_TITLE "Mini2440"
#define UI_WIDTH 441 /* width of GUI window */
#define UI_HEIGHT 436 /* height of GUI window */
#define UI_LCD_POSX 148 /* x position of lcd */
#define UI_LCD_POSY 50 /* y position of lcd */
#elif defined(PBELL_VIBE500)
#define UI_TITLE "Packard Bell Vibe 500"
#define UI_WIDTH 287 /* width of GUI window */
#define UI_HEIGHT 488 /* height of GUI window */
#define UI_LCD_POSX 64 /* x position of lcd */
#define UI_LCD_POSY 61 /* y position of lcd */
#elif defined(MPIO_HD200)
#define UI_TITLE "MPIO HD200"
#define UI_WIDTH 430 /* width of GUI window */
#define UI_HEIGHT 479 /* height of GUI window */
#define UI_LCD_POSX 101
#define UI_LCD_POSY 195
#elif defined(MPIO_HD300)
#define UI_TITLE "MPIO HD300"
#define UI_WIDTH 286 /* width of GUI window */
#define UI_HEIGHT 524 /* height of GUI window */
#define UI_LCD_POSX 64
#define UI_LCD_POSY 127
#elif defined(SANSA_CONNECT)
#define UI_TITLE "Sansa Connect"
#define UI_WIDTH 371 /* width of GUI window */
#define UI_HEIGHT 687 /* height of GUI window */
#define UI_LCD_POSX 68
#define UI_LCD_POSY 77
#elif defined(CREATIVE_ZENXFI3)
#define UI_TITLE "Creative ZEN X-Fi3"
#define UI_WIDTH 262 /* width of GUI window */
#define UI_HEIGHT 350 /* height of GUI window */
#define UI_LCD_POSX 43
#define UI_LCD_POSY 65
#elif defined(CREATIVE_ZENXFI2)
#define UI_TITLE "Creative ZEN X-Fi2"
#define UI_WIDTH 324 /* width of GUI window */
#define UI_HEIGHT 586 /* height of GUI window */
#define UI_LCD_POSX 42
#define UI_LCD_POSY 42
#elif defined(SONY_NWZE360)
#define UI_TITLE "Sony NWZ-E360"
#define UI_WIDTH 340 /* width of GUI window */
#define UI_HEIGHT 674 /* height of GUI window */
#define UI_LCD_POSX 50
#define UI_LCD_POSY 62
#elif defined(SONY_NWZE370)
#define UI_TITLE "Sony NWZ-E370"
#define UI_WIDTH 196 /* width of GUI window */
#define UI_HEIGHT 398 /* height of GUI window */
#define UI_LCD_POSX 34
#define UI_LCD_POSY 32
#elif defined(APPLICATION)
#define UI_TITLE "Rockbox"
#define UI_LCD_POSX 0
#define UI_LCD_POSY 0
#define UI_WIDTH LCD_WIDTH
#define UI_HEIGHT LCD_HEIGHT
#elif defined(SAMSUNG_YPR0)
#define UI_TITLE "Samsung YP-R0"
#define UI_WIDTH 313 /* width of GUI window */
#define UI_HEIGHT 560 /* height of GUI window */
#define UI_LCD_POSX 36
#define UI_LCD_POSY 37
#elif defined(CREATIVE_ZEN)
#define UI_TITLE "Creative ZEN"
#define UI_WIDTH 520 /* width of GUI window */
#define UI_HEIGHT 340 /* height of GUI window */
#define UI_LCD_POSX 35
#define UI_LCD_POSY 36
#elif defined(CREATIVE_ZENXFI)
#define UI_TITLE "Creative ZEN X-Fi"
#define UI_WIDTH 510 /* width of GUI window */
#define UI_HEIGHT 330 /* height of GUI window */
#define UI_LCD_POSX 32
#define UI_LCD_POSY 33
#elif defined(CREATIVE_ZENMOZAIC)
#define UI_TITLE "Creative ZEN Mozaic"
#define UI_WIDTH 184 /* width of GUI window */
#define UI_HEIGHT 366/* height of GUI window */
#define UI_LCD_POSX 27
#define UI_LCD_POSY 48
#elif defined(CREATIVE_ZENXFISTYLE)
#define UI_TITLE "Creative ZEN X-Fi Style"
#define UI_WIDTH 548 /* width of GUI window */
#define UI_HEIGHT 318/* height of GUI window */
#define UI_LCD_POSX 46
#define UI_LCD_POSY 40
#elif defined(SONY_NWZA860)
#define UI_TITLE "Sony NWZ-A860 Series"
#define UI_WIDTH 390 /* width of GUI window */
#define UI_HEIGHT 690/* height of GUI window */
#define UI_LCD_POSX 78
#define UI_LCD_POSY 92
#elif defined(AGPTEK_ROCKER)
#define UI_TITLE "Agptek Rocker"
#define UI_WIDTH 186
#define UI_HEIGHT 380
#define UI_LCD_POSX 29
#define UI_LCD_POSY 25
#elif defined(XDUOO_X3)
#define UI_TITLE "xDuoo X3"
#define UI_WIDTH 192 /* width of GUI window */
#define UI_HEIGHT 457 /* height of GUI window */
#define UI_LCD_POSX 34
#define UI_LCD_POSY 73
#elif defined(XDUOO_X3II)
#define UI_TITLE "xDuoo X3ii"
#define UI_WIDTH 299 /* width of GUI window */
#define UI_HEIGHT 600 /* height of GUI window */
#define UI_LCD_POSX 28
#define UI_LCD_POSY 56
#elif defined(XDUOO_X20)
#define UI_TITLE "xDuoo X20"
#define UI_WIDTH 299 /* width of GUI window */
#define UI_HEIGHT 602 /* height of GUI window */
#define UI_LCD_POSX 32
#define UI_LCD_POSY 60
#elif defined(IHIFI770)
#define UI_TITLE "iHiFi 770"
#define UI_WIDTH 382 /* width of GUI window */
#define UI_HEIGHT 690 /* height of GUI window */
#define UI_LCD_POSX 32
#define UI_LCD_POSY 86
#elif defined(IHIFI770C)
#define UI_TITLE "iHiFi 770C"
#define UI_WIDTH 382 /* width of GUI window */
#define UI_HEIGHT 690 /* height of GUI window */
#define UI_LCD_POSX 32
#define UI_LCD_POSY 86
#elif defined(IHIFI800)
#define UI_TITLE "iHiFi 800"
#define UI_WIDTH 300 /* width of GUI window */
#define UI_HEIGHT 670 /* height of GUI window */
#define UI_LCD_POSX 26
#define UI_LCD_POSY 40
#elif defined(EROS_Q) || defined(EROS_QN)
#define UI_TITLE "AIGO EROS Q"
#define UI_WIDTH 400 /* width of GUI window */
#define UI_HEIGHT 653 /* height of GUI window */
#define UI_LCD_POSX 45
#define UI_LCD_POSY 50
#elif defined(FIIO_M3K) || defined(FIIO_M3K_LINUX)
#define UI_TITLE "FiiO M3K"
#define UI_WIDTH 287 /* width of GUI window */
#define UI_HEIGHT 589 /* height of GUI window */
#define UI_LCD_POSX 25
#define UI_LCD_POSY 15
#elif defined(SHANLING_Q1)
#define UI_TITLE "Shanling Q1"
#define UI_WIDTH 466
#define UI_HEIGHT 526
#define UI_LCD_POSX 46
#define UI_LCD_POSY 61
#elif defined(SIMULATOR)
#error no UI defines
#endif
#endif /* #ifndef __UISDL_H__ */
|