2006-02-03 16:01:16 +00:00
|
|
|
/***************************************************************************
|
|
|
|
* __________ __ ___.
|
|
|
|
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
|
|
|
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
|
|
|
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
|
|
|
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
|
|
|
* \/ \/ \/ \/ \/
|
|
|
|
* $Id$
|
|
|
|
*
|
|
|
|
* Copyright (C) 2006 Dan Everton
|
|
|
|
*
|
2008-06-28 18:10:04 +00:00
|
|
|
* 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.
|
2006-02-03 16:01:16 +00:00
|
|
|
*
|
|
|
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
|
|
|
* KIND, either express or implied.
|
|
|
|
*
|
|
|
|
****************************************************************************/
|
|
|
|
|
|
|
|
#ifndef __UISDL_H__
|
|
|
|
#define __UISDL_H__
|
|
|
|
|
2006-02-09 21:49:28 +00:00
|
|
|
#include <stdbool.h>
|
2009-09-24 23:04:15 +00:00
|
|
|
#include "SDL.h"
|
2009-06-13 20:59:03 +00:00
|
|
|
#include "config.h"
|
2006-02-03 16:01:16 +00:00
|
|
|
|
2006-02-08 13:54:21 +00:00
|
|
|
/* colour definitions are R, G, B */
|
|
|
|
|
2006-02-03 16:01:16 +00:00
|
|
|
#if defined(ARCHOS_RECORDER)
|
|
|
|
#define UI_TITLE "Jukebox Recorder"
|
2006-03-19 06:59:36 +00:00
|
|
|
#define UI_WIDTH 270 /* width of GUI window */
|
|
|
|
#define UI_HEIGHT 406 /* height of GUI window */
|
|
|
|
#define UI_LCD_POSX 80 /* x position of lcd */
|
2009-02-09 00:32:59 +00:00
|
|
|
#define UI_LCD_POSY 104 /* y position of lcd */
|
2006-02-03 16:01:16 +00:00
|
|
|
|
|
|
|
#elif defined(ARCHOS_PLAYER)
|
|
|
|
#define UI_TITLE "Jukebox Player"
|
2006-03-19 06:59:36 +00:00
|
|
|
#define UI_WIDTH 284 /* width of GUI window */
|
|
|
|
#define UI_HEIGHT 420 /* height of GUI window */
|
|
|
|
#define UI_LCD_POSX 75 /* x position of lcd */
|
|
|
|
#define UI_LCD_POSY 116 /* y position of lcd */
|
2006-02-03 16:01:16 +00:00
|
|
|
|
|
|
|
#elif defined(ARCHOS_FMRECORDER) || defined(ARCHOS_RECORDERV2)
|
|
|
|
#define UI_TITLE "Jukebox FM Recorder"
|
2006-03-19 06:59:36 +00:00
|
|
|
#define UI_WIDTH 285 /* width of GUI window */
|
|
|
|
#define UI_HEIGHT 414 /* height of GUI window */
|
|
|
|
#define UI_LCD_POSX 87 /* x position of lcd */
|
2009-02-09 00:32:59 +00:00
|
|
|
#define UI_LCD_POSY 77 /* y position of lcd */
|
2006-02-03 16:01:16 +00:00
|
|
|
|
|
|
|
#elif defined(ARCHOS_ONDIOSP) || defined(ARCHOS_ONDIOFM)
|
|
|
|
#define UI_TITLE "Ondio"
|
2006-03-19 06:59:36 +00:00
|
|
|
#define UI_WIDTH 155 /* width of GUI window */
|
|
|
|
#define UI_HEIGHT 334 /* height of GUI window */
|
|
|
|
#define UI_LCD_POSX 21 /* x position of lcd */
|
2009-02-09 00:32:59 +00:00
|
|
|
#define UI_LCD_POSY 82 /* y position of lcd */
|
2006-02-03 16:01:16 +00:00
|
|
|
|
|
|
|
#elif defined(IRIVER_H120) || defined(IRIVER_H100)
|
|
|
|
#define UI_TITLE "iriver H1x0"
|
2006-03-19 06:59:36 +00:00
|
|
|
#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 */
|
2006-02-03 16:01:16 +00:00
|
|
|
|
2006-02-09 21:49:28 +00:00
|
|
|
#elif defined(IRIVER_H300)
|
2006-02-03 16:01:16 +00:00
|
|
|
#define UI_TITLE "iriver H300"
|
2006-03-19 06:59:36 +00:00
|
|
|
#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 */
|
2006-02-03 16:01:16 +00:00
|
|
|
|
2007-08-05 20:43:54 +00:00
|
|
|
#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 */
|
|
|
|
|
2006-10-16 18:15:36 +00:00
|
|
|
#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 */
|
|
|
|
|
2006-02-09 00:48:53 +00:00
|
|
|
#elif defined(IPOD_4G)
|
|
|
|
#define UI_TITLE "iPod 4G"
|
2006-03-19 06:59:36 +00:00
|
|
|
#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 */
|
2006-02-09 00:48:53 +00:00
|
|
|
|
2006-04-02 19:07:27 +00:00
|
|
|
#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 */
|
|
|
|
|
2006-02-03 16:01:16 +00:00
|
|
|
#elif defined(IPOD_COLOR)
|
|
|
|
#define UI_TITLE "iPod Color"
|
2006-03-19 06:59:36 +00:00
|
|
|
#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 */
|
2006-02-03 16:01:16 +00:00
|
|
|
|
|
|
|
#elif defined(IPOD_NANO)
|
|
|
|
#define UI_TITLE "iPod Nano"
|
2006-03-19 06:59:36 +00:00
|
|
|
#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 */
|
2009-10-13 20:51:28 +00:00
|
|
|
#define UI_LCD_POSY 14 /* y position of lcd */
|
|
|
|
|
|
|
|
#elif defined(IPOD_NANO2G)
|
|
|
|
#define UI_TITLE "iPod Nano 2G"
|
2009-10-14 21:40:28 +00:00
|
|
|
#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 */
|
2006-02-03 16:01:16 +00:00
|
|
|
|
2006-02-13 21:46:28 +00:00
|
|
|
#elif defined(IPOD_VIDEO)
|
|
|
|
#define UI_TITLE "iPod Video"
|
2006-03-19 06:59:36 +00:00
|
|
|
#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 */
|
2006-02-13 21:46:28 +00:00
|
|
|
|
2012-11-25 21:54:06 +00:00
|
|
|
#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 */
|
|
|
|
|
2006-02-04 22:37:44 +00:00
|
|
|
#elif defined(IAUDIO_X5)
|
|
|
|
#define UI_TITLE "iAudio X5"
|
2006-03-19 06:59:36 +00:00
|
|
|
#define UI_WIDTH 300 /* width of GUI window */
|
2006-07-28 07:35:45 +00:00
|
|
|
#define UI_HEIGHT 558 /* height of GUI window */
|
2006-03-19 06:59:36 +00:00
|
|
|
#define UI_LCD_POSX 55 /* x position of lcd */
|
2009-02-09 00:32:59 +00:00
|
|
|
#define UI_LCD_POSY 61 /* y position of lcd */
|
2006-03-19 06:59:36 +00:00
|
|
|
#define UI_REMOTE_POSX 12 /* x position of remote lcd */
|
2006-07-28 07:35:45 +00:00
|
|
|
#define UI_REMOTE_POSY 462 /* y position of remote lcd */
|
2006-02-24 15:42:52 +00:00
|
|
|
|
2007-03-05 00:04:00 +00:00
|
|
|
#elif defined(IAUDIO_M5)
|
|
|
|
#define UI_TITLE "iAudio M5"
|
2007-03-05 18:36:17 +00:00
|
|
|
#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 */
|
2009-02-09 00:32:59 +00:00
|
|
|
#define UI_LCD_POSY 74 /* y position of lcd */
|
2007-03-05 18:36:17 +00:00
|
|
|
#define UI_REMOTE_POSX 59 /* x position of remote lcd */
|
|
|
|
#define UI_REMOTE_POSY 509 /* y position of remote lcd */
|
2007-03-05 00:04:00 +00:00
|
|
|
|
2008-03-14 00:17:59 +00:00
|
|
|
#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 */
|
|
|
|
|
2006-02-24 15:42:52 +00:00
|
|
|
#elif defined(GIGABEAT_F)
|
|
|
|
#define UI_TITLE "Toshiba Gigabeat"
|
2006-03-19 06:59:36 +00:00
|
|
|
#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 */
|
2006-02-03 16:01:16 +00:00
|
|
|
|
2008-02-08 08:33:17 +00:00
|
|
|
#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 */
|
|
|
|
|
2007-10-21 23:12:17 +00:00
|
|
|
#elif defined(MROBE_500)
|
2009-07-26 14:26:14 +00:00
|
|
|
#if LCD_WIDTH==320
|
2007-10-21 23:12:17 +00:00
|
|
|
#define UI_TITLE "Olympus M:Robe 500"
|
2009-04-18 01:58:52 +00:00
|
|
|
#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 */
|
2009-07-26 14:26:14 +00:00
|
|
|
#define UI_REMOTE_POSX 36 /* x position of remote lcd */
|
|
|
|
#define UI_REMOTE_POSY 318 /* y position of remote lcd */
|
2009-06-13 20:59:03 +00:00
|
|
|
#else
|
|
|
|
#define UI_TITLE "Olympus M:Robe 500"
|
2009-08-17 01:54:24 +00:00
|
|
|
#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 */
|
2009-06-13 20:59:03 +00:00
|
|
|
#endif
|
2007-10-21 23:12:17 +00:00
|
|
|
|
2006-08-03 20:25:39 +00:00
|
|
|
#elif defined(IRIVER_H10)
|
2006-08-19 19:21:17 +00:00
|
|
|
#define UI_TITLE "iriver H10 20Gb"
|
2006-08-03 20:25:39 +00:00
|
|
|
#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 */
|
2009-02-09 00:32:59 +00:00
|
|
|
#define UI_LCD_POSY 30 /* y position of lcd */
|
2006-08-19 19:21:17 +00:00
|
|
|
|
|
|
|
#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 */
|
2009-02-09 00:32:59 +00:00
|
|
|
#define UI_LCD_POSY 45 /* y position of lcd */
|
2006-10-26 13:38:09 +00:00
|
|
|
|
2008-10-28 17:49:35 +00:00
|
|
|
#elif defined(SANSA_E200) || defined(SANSA_E200V2)
|
|
|
|
#ifdef SANSA_E200
|
2006-10-26 13:38:09 +00:00
|
|
|
#define UI_TITLE "Sansa e200"
|
2008-10-28 17:49:35 +00:00
|
|
|
#else
|
|
|
|
#define UI_TITLE "Sansa e200v2"
|
|
|
|
#endif
|
2006-10-26 13:38:09 +00:00
|
|
|
#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 */
|
2009-02-09 00:32:59 +00:00
|
|
|
#define UI_LCD_POSY 37 /* y position of lcd */
|
2006-08-18 19:14:11 +00:00
|
|
|
|
2009-06-18 19:12:43 +00:00
|
|
|
#elif defined(SANSA_C200) || defined(SANSA_C200V2)
|
|
|
|
#ifdef SANSA_C200
|
2007-09-08 03:10:22 +00:00
|
|
|
#define UI_TITLE "Sansa c200"
|
2009-06-18 19:12:43 +00:00
|
|
|
#else
|
|
|
|
#define UI_TITLE "Sansa c200v2"
|
|
|
|
#endif
|
2007-09-08 03:10:22 +00:00
|
|
|
#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 */
|
2009-02-09 00:32:59 +00:00
|
|
|
#define UI_LCD_POSY 35 /* y position of lcd */
|
2007-09-08 03:10:22 +00:00
|
|
|
|
2006-08-18 19:14:11 +00:00
|
|
|
#elif defined(IRIVER_IFP7XX)
|
|
|
|
#define UI_TITLE "iriver iFP7xx"
|
|
|
|
#define UI_WIDTH 425 /* width of GUI window */
|
|
|
|
#define UI_HEIGHT 183 /* height of GUI window */
|
|
|
|
#define UI_LCD_POSX 115 /* x position of lcd */
|
|
|
|
#define UI_LCD_POSY 54 /* y position of lcd */
|
2009-02-09 00:32:59 +00:00
|
|
|
|
2007-01-14 13:48:09 +00:00
|
|
|
#elif defined(ARCHOS_AV300)
|
|
|
|
#define UI_TITLE "Archos AV300"
|
|
|
|
/* We are temporarily using a 2bpp LCD driver and dummy bitmap */
|
|
|
|
#define UI_WIDTH 420 /* width of GUI window */
|
|
|
|
#define UI_HEIGHT 340 /* height of GUI window */
|
|
|
|
#define UI_LCD_POSX 50 /* x position of lcd */
|
|
|
|
#define UI_LCD_POSY 50 /* y position of lcd */
|
|
|
|
|
2008-01-20 22:57:49 +00:00
|
|
|
#elif defined(MROBE_100)
|
|
|
|
#define UI_TITLE "Olympus M:Robe 100"
|
|
|
|
#define UI_WIDTH 247 /* width of GUI window */
|
2009-07-26 14:26:14 +00:00
|
|
|
#define UI_HEIGHT 462 /* height of GUI window */
|
2008-01-20 22:57:49 +00:00
|
|
|
#define UI_LCD_POSX 43 /* x position of lcd */
|
|
|
|
#define UI_LCD_POSY 25 /* y position of lcd */
|
2009-07-26 14:26:14 +00:00
|
|
|
#define UI_REMOTE_POSX 34 /* x position of remote lcd */
|
|
|
|
#define UI_REMOTE_POSY 432 /* y position of remote lcd */
|
2008-01-22 22:48:36 +00:00
|
|
|
|
|
|
|
#elif defined(COWON_D2)
|
|
|
|
#define UI_TITLE "Cowon D2"
|
2008-01-23 22:19:53 +00:00
|
|
|
#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 */
|
2008-01-22 22:48:36 +00:00
|
|
|
|
2008-10-22 11:58:49 +00:00
|
|
|
#elif defined(IAUDIO_7)
|
|
|
|
#define UI_TITLE "iAudio7"
|
|
|
|
#define UI_WIDTH 494 /* width of GUI window */
|
|
|
|
#define UI_HEIGHT 214 /* height of GUI window */
|
|
|
|
#define UI_LCD_POSX 131 /* x position of lcd */
|
|
|
|
#define UI_LCD_POSY 38 /* y position of lcd */
|
|
|
|
|
2008-05-15 18:01:14 +00:00
|
|
|
#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
|
2008-05-14 21:14:06 +00:00
|
|
|
#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 */
|
|
|
|
|
2008-05-15 18:01:14 +00:00
|
|
|
#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 */
|
|
|
|
|
2008-06-27 23:24:34 +00:00
|
|
|
#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 */
|
|
|
|
|
2011-09-25 15:35:39 +00:00
|
|
|
#elif defined(SANSA_FUZEPLUS)
|
|
|
|
#define UI_TITLE "Sansa Fuze+"
|
2012-03-08 18:06:21 +00:00
|
|
|
#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 */
|
2011-09-25 15:35:39 +00:00
|
|
|
|
|
|
|
|
2010-03-28 01:56:46 +00:00
|
|
|
#elif defined(SANSA_FUZE) || defined(SANSA_FUZEV2)
|
|
|
|
#ifdef SANSA_FUZE
|
2008-11-11 11:26:07 +00:00
|
|
|
#define UI_TITLE "Sansa Fuze"
|
2010-03-28 01:56:46 +00:00
|
|
|
#else
|
|
|
|
#define UI_TITLE "Sansa Fuzev2"
|
|
|
|
#endif
|
2008-11-11 11:26:07 +00:00
|
|
|
#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 */
|
|
|
|
|
2009-12-31 19:15:20 +00:00
|
|
|
#elif defined(SANSA_CLIP) || defined(SANSA_CLIPV2)
|
2010-02-17 19:46:51 +00:00
|
|
|
#if defined(SANSA_CLIP)
|
|
|
|
#define CLIP_VERSION ""
|
|
|
|
#elif defined(SANSA_CLIPV2)
|
|
|
|
#define CLIP_VERSION "v2"
|
|
|
|
#endif
|
|
|
|
#define UI_TITLE "Sansa Clip"CLIP_VERSION
|
2008-10-31 18:54:37 +00:00
|
|
|
#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 */
|
2008-12-04 23:24:45 +00:00
|
|
|
|
2010-02-17 19:46:51 +00:00
|
|
|
#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 */
|
|
|
|
|
2011-10-30 09:06:21 +00:00
|
|
|
#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 */
|
2010-02-17 19:46:51 +00:00
|
|
|
|
2009-06-19 03:50:30 +00:00
|
|
|
#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 */
|
|
|
|
|
2009-01-02 04:35:13 +00:00
|
|
|
#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 */
|
|
|
|
|
2010-10-21 22:20:16 +00:00
|
|
|
#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 */
|
|
|
|
|
2009-01-07 18:52:32 +00:00
|
|
|
#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 */
|
|
|
|
|
2009-10-31 14:25:10 +00:00
|
|
|
#elif defined(ONDA_VX747) || defined(ONDA_VX747P)
|
2009-03-09 23:40:23 +00:00
|
|
|
#ifdef ONDA_VX747
|
2009-03-09 23:32:37 +00:00
|
|
|
#define UI_TITLE "Onda VX747"
|
2009-08-31 21:11:32 +00:00
|
|
|
#else
|
2009-10-31 14:25:10 +00:00
|
|
|
#define UI_TITLE "Onda VX747+"
|
2009-03-09 23:40:23 +00:00
|
|
|
#endif
|
2009-03-09 23:32:37 +00:00
|
|
|
#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 */
|
2009-01-07 18:52:32 +00:00
|
|
|
|
2009-10-31 14:25:10 +00:00
|
|
|
#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 */
|
|
|
|
|
2009-05-25 21:10:45 +00:00
|
|
|
#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 */
|
|
|
|
|
2009-10-28 17:56:00 +00:00
|
|
|
#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 */
|
2010-02-01 16:41:03 +00:00
|
|
|
|
|
|
|
#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 */
|
2010-04-26 21:40:00 +00:00
|
|
|
|
|
|
|
#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
|
|
|
|
|
2010-12-08 21:40:35 +00:00
|
|
|
#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
|
|
|
|
|
2011-12-01 13:41:59 +00:00
|
|
|
#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
|
|
|
|
|
2012-05-19 14:09:46 +00:00
|
|
|
#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
|
|
|
|
|
2013-01-15 21:57:00 +00:00
|
|
|
#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
|
|
|
|
|
2013-09-25 16:22:26 +00:00
|
|
|
#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
|
|
|
|
|
2013-09-26 11:22:45 +00:00
|
|
|
#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
|
|
|
|
|
2010-07-06 15:11:56 +00:00
|
|
|
#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
|
|
|
|
|
2013-09-15 22:02:28 +00:00
|
|
|
#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
|
|
|
|
|
2013-11-07 18:41:57 +00:00
|
|
|
#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
|
|
|
|
|
2013-11-08 13:05:58 +00:00
|
|
|
#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
|
|
|
|
|
2013-11-08 13:57:21 +00:00
|
|
|
#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
|
|
|
|
|
2014-02-16 21:10:22 +00:00
|
|
|
#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
|
|
|
|
|
2010-05-15 21:02:47 +00:00
|
|
|
#elif defined(SIMULATOR)
|
2009-01-07 18:52:32 +00:00
|
|
|
#error no UI defines
|
2006-08-03 20:25:39 +00:00
|
|
|
#endif
|
2006-02-03 16:01:16 +00:00
|
|
|
|
2006-03-19 06:59:36 +00:00
|
|
|
#endif /* #ifndef __UISDL_H__ */
|
2006-02-03 16:01:16 +00:00
|
|
|
|