summaryrefslogtreecommitdiffstats
path: root/firmware/target/hosted/sdl
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2018-06-29 16:09:28 -0400
committerSolomon Peachy <pizza@shaftnet.org>2019-01-02 08:10:01 -0500
commitd4942cc74c82c465ea395637c77ed06565b8b497 (patch)
tree8c1fa737c93f8a2ade5a1566857dc4dc8f578bd6 /firmware/target/hosted/sdl
parentaf9459a7992596e932c6d8cc0a6366ff0f0b0fca (diff)
downloadrockbox-d4942cc74c82c465ea395637c77ed06565b8b497.tar.gz
rockbox-d4942cc74c82c465ea395637c77ed06565b8b497.tar.bz2
rockbox-d4942cc74c82c465ea395637c77ed06565b8b497.zip
Add Xuelin iHIFI 770/770C/800 support
Taken from the xvortex fork (Roman Stolyarov) Ported, rebased, and cleaned up by myself. Change-Id: I7b2bca2d29502f2e4544e42f3d122786dd4b7978
Diffstat (limited to 'firmware/target/hosted/sdl')
-rw-r--r--firmware/target/hosted/sdl/sim-ui-defines.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/firmware/target/hosted/sdl/sim-ui-defines.h b/firmware/target/hosted/sdl/sim-ui-defines.h
index 0303ac8ca2..99ae062595 100644
--- a/firmware/target/hosted/sdl/sim-ui-defines.h
+++ b/firmware/target/hosted/sdl/sim-ui-defines.h
@@ -527,6 +527,28 @@
#define UI_HEIGHT 457 /* height of GUI window */
#define UI_LCD_POSX 34
#define UI_LCD_POSY 73
+
+#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(SIMULATOR)
#error no UI defines
#endif