From 758bb3bc628705ff8e5c677b3b2d87720c726c13 Mon Sep 17 00:00:00 2001 From: Mark Arigo Date: Mon, 25 May 2009 21:10:45 +0000 Subject: 3 new ports: Samsung YH-820, YH-920, and YH-925. Mostly functional. Audio working on 820 & 925 (untested on the 920). No battery readings. No recording. No plugins. Keymap needs work. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21083 a1c6a512-1295-4272-9138-f99709370657 --- uisimulator/sdl/uisdl.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'uisimulator/sdl/uisdl.h') diff --git a/uisimulator/sdl/uisdl.h b/uisimulator/sdl/uisdl.h index b4936fa77b..dae1d20393 100644 --- a/uisimulator/sdl/uisdl.h +++ b/uisimulator/sdl/uisdl.h @@ -302,6 +302,24 @@ #define UI_LCD_POSX 45 /* x position of lcd */ #define UI_LCD_POSY 90 /* 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 */ + #else #error no UI defines #endif -- cgit v1.2.3