summaryrefslogtreecommitdiffstats
path: root/firmware/target/hosted/sdl
diff options
context:
space:
mode:
authorLorenzo Miori <memoryS60@gmail.com>2013-09-16 00:02:28 +0200
committerFrank Gevaerts <frank@gevaerts.be>2013-09-29 14:15:48 +0200
commit9a8ed6ba35959f049ec85d8be6ec498fdbb67bb6 (patch)
tree68eb6b6cf52826ffb279b382f2cf389a7466a798 /firmware/target/hosted/sdl
parentd13e5b964e56fb15dcc3990d2e424f4ffdd3db8b (diff)
downloadrockbox-9a8ed6ba35959f049ec85d8be6ec498fdbb67bb6.tar.gz
rockbox-9a8ed6ba35959f049ec85d8be6ec498fdbb67bb6.tar.bz2
rockbox-9a8ed6ba35959f049ec85d8be6ec498fdbb67bb6.zip
Simulator for Samsung YP-R0
Enable simulator for the target ypr0 to be built and used. Change-Id: I1b080f07ab90f5c4856881d08ad70e1053bbb0c0 Reviewed-on: http://gerrit.rockbox.org/618 Reviewed-by: Frank Gevaerts <frank@gevaerts.be>
Diffstat (limited to 'firmware/target/hosted/sdl')
-rw-r--r--firmware/target/hosted/sdl/sim-ui-defines.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/firmware/target/hosted/sdl/sim-ui-defines.h b/firmware/target/hosted/sdl/sim-ui-defines.h
index de250735e2..b238520aac 100644
--- a/firmware/target/hosted/sdl/sim-ui-defines.h
+++ b/firmware/target/hosted/sdl/sim-ui-defines.h
@@ -473,6 +473,13 @@
#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(SIMULATOR)
#error no UI defines
#endif