diff options
author | Thomas Martitz <kugel@rockbox.org> | 2010-07-06 15:11:56 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2010-07-06 15:11:56 +0000 |
commit | 31b5c471aeec6040ca69e3bea59c0825e2a6fc9d (patch) | |
tree | 628d7638a50ab226d5164f495d14d56ed2b51a1f /firmware/target/hosted/sdl/sim-ui-defines.h | |
parent | 9da707955dcdefa1b7a55348937eb706a08039b5 (diff) | |
download | rockbox-31b5c471aeec6040ca69e3bea59c0825e2a6fc9d.tar.gz rockbox-31b5c471aeec6040ca69e3bea59c0825e2a6fc9d.zip |
Rockbox as an application: Add an 320x240 SDL application target.
It still works mostly like the simulator. There's also some minor left overs from the sim, but it does not define SIMULATOR.
It installs into the current (build) dir, and you need to run it with '--root .' (because it looks for ./.rockbox and not ./simdisk/rockbox) as options. That's one of the few kludges left that should be resolved soon'ish.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27310 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/hosted/sdl/sim-ui-defines.h')
-rw-r--r-- | firmware/target/hosted/sdl/sim-ui-defines.h | 7 |
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 567a618fc3..926356dd9f 100644 --- a/firmware/target/hosted/sdl/sim-ui-defines.h +++ b/firmware/target/hosted/sdl/sim-ui-defines.h @@ -397,6 +397,13 @@ #define UI_LCD_POSX 101 #define UI_LCD_POSY 195 +#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(SIMULATOR) #error no UI defines #endif |