rockbox/uisimulator/sdl
Jonathan Gordon 0eb5dc649f beginings of a working touchscreen interface for the WPS. 2 new tags:
%T|x|y|width|height|action| <- setup a region (relative to the current viewport) where if pressed the "action" will be done (currently play/stop/prev/next/menu/browse work, suggestions for others to add and better names welcome)
%Tl<timeout> <- used as a conditional to say if the touchscreen was touched in the last <timeout>, use this to enable/disable button viewports or something... same syntax as other timeout tags

cabbiev2 for the mr500 has been modified to demonstrate the new tags. press the pause/play button to pause playback. press the rockbox logo to get back to the menu. pretty icons needed to make this more usable :)



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20753 a1c6a512-1295-4272-9138-f99709370657
2009-04-20 01:41:56 +00:00
..
button.c beginings of a working touchscreen interface for the WPS. 2 new tags: 2009-04-20 01:41:56 +00:00
kernel-sdl.c The tick change for the sim can be a little nicer. 2008-10-27 17:26:58 +00:00
lcd-bitmap.c Move screendump from apps to firmware, solving two nasty firmware-to-apps calls. This required to move the filename creation functions as well. * Fix bug in the BMP header of Clip screendumps. * Add remote screendump for targets with an LCD remote. * Simplify some ifdefs and rename a macro in the sim. 2009-02-10 23:43:37 +00:00
lcd-bitmap.h Put the display colours for monochrome and greyscale targets into the target config files, and use them both for the simulator UI and screendumps. The Clip now shows the split display properly in screendumps and simulator. A side effect is that screendumps of ordinary monochrome targets are now 4-bit BMP files (saves an alternate code path, and might be more compatible with some gfx programs). * Simplify the simulation of split display, and also simplify greylib simulation. The simulator now always calculates 129 shades (2*128 for a Clip sim), and just uses 2 (or 4) of those for native display simulation. * Centralised the simulator LCD dimension definition. 2009-02-09 00:32:59 +00:00
lcd-charcells.c Fix the Playersim as well. 2009-02-11 00:10:35 +00:00
lcd-charcells.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
lcd-remote-bitmap.c Move screendump from apps to firmware, solving two nasty firmware-to-apps calls. This required to move the filename creation functions as well. * Fix bug in the BMP header of Clip screendumps. * Add remote screendump for targets with an LCD remote. * Simplify some ifdefs and rename a macro in the sim. 2009-02-10 23:43:37 +00:00
lcd-remote-bitmap.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
lcd-sdl.c Fix update rectangle calculation. This caused the black artifacts outside the screen area introduced with backlight simulation for colour targets. 2009-03-04 18:46:08 +00:00
lcd-sdl.h Put the display colours for monochrome and greyscale targets into the target config files, and use them both for the simulator UI and screendumps. The Clip now shows the split display properly in screendumps and simulator. A side effect is that screendumps of ordinary monochrome targets are now 4-bit BMP files (saves an alternate code path, and might be more compatible with some gfx programs). * Simplify the simulation of split display, and also simplify greylib simulation. The simulator now always calculates 129 shades (2*128 for a Clip sim), and just uses 2 (or 4) of those for native display simulation. * Centralised the simulator LCD dimension definition. 2009-02-09 00:32:59 +00:00
Makefile Renamed 'archos' to 'modelname' in the configure script and the Makefiles 2008-01-23 10:59:17 +00:00
README
sound.c Bring consistency to pcm implementation and samplerate handling. Less low-level duplication. A small test_sampr fix so it works on coldfire again. 2008-12-12 11:01:07 +00:00
sound.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
SOURCES Add a complete priority inheritance implementation to the scheduler (all mutex ownership and queue_send calls are inheritable). Priorities are differential so that dispatch depends on the runnable range of priorities. Codec priority can therefore be raised in small steps (pcmbuf updated to enable). Simplify the kernel functions to ease implementation and use the same kernel.c for both sim and target (I'm tired of maintaining two ;_). 1) Not sure if a minor audio break at first buffering issue will exist on large-sector disks (the main mutex speed issue was genuinely resolved earlier). At this point it's best dealt with at the buffering level. It seems a larger filechunk could be used again. 2) Perhaps 64-bit sims will have some minor issues (finicky) but a backroll of the code of concern there is a 5-minute job. All kernel objects become incompatible so a full rebuild and update is needed. 2008-03-25 02:34:12 +00:00
sprintf.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
system-sdl.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
thread-sdl.c threads_exit should be volatile being polled in a loop on a sim thread and be written by the GUI thread. 2009-01-08 12:40:18 +00:00
thread-sdl.h Allow sims to shut down normally from panic code. 2009-01-08 11:08:22 +00:00
timefuncs.h
timer.c Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
UI-av300.bmp
UI-c200.bmp Make the uisim build for the Sansa c200. 2007-09-08 03:10:22 +00:00
UI-clip.bmp Sansa Clip simulator 2008-10-31 18:54:37 +00:00
UI-cowond2.bmp Shiny new bitmap for the D2 sim 2008-01-23 22:19:53 +00:00
UI-creativezv.bmp 1) Add ZVM60GB and ZV simulator builds (ZVM60GB sim equals to ZVM30GB) 2008-05-15 18:01:14 +00:00
UI-creativezvm30.bmp Fix sim build 2008-05-14 21:46:17 +00:00
UI-creativezvm60.bmp 1) Add ZVM60GB and ZV simulator builds (ZVM60GB sim equals to ZVM30GB) 2008-05-15 18:01:14 +00:00
UI-e200.bmp
UI-e200v2.bmp Make the e200v2 simulator compile - an easy job as the apps/ code is identical to the e200v1. 2008-10-28 17:49:35 +00:00
UI-fmrecorder.bmp
UI-fuze.bmp FS#9535 - Sansa Fuze sim 2008-11-11 11:26:07 +00:00
UI-gigabeatf.bmp volume buttons for gigabeat sim 2008-07-06 12:27:03 +00:00
UI-gigabeats.bmp UI Simulator for Gigabeat S. 2008-02-08 08:33:17 +00:00
UI-h10.bmp
UI-h10_5gb.bmp
UI-h100.bmp
UI-h120.bmp
UI-h300.bmp
UI-hdd1630.bmp Add the sim build for the Philips HDD1630. 2009-01-02 04:35:13 +00:00
UI-iaudio7.bmp iaudio7: simulator 2008-10-22 11:58:49 +00:00
UI-ifp7xx.bmp
UI-ipod1g2g.bmp Revert r17988 and instead fix the button labels in the ipod simulator background images. This isn't 100% perfect (I didn't go back to the layered source images), but IMO is good enough. 2008-07-08 23:27:09 +00:00
UI-ipod3g.bmp Revert r17988 and instead fix the button labels in the ipod simulator background images. This isn't 100% perfect (I didn't go back to the layered source images), but IMO is good enough. 2008-07-08 23:27:09 +00:00
UI-ipod4g.bmp Revert r17988 and instead fix the button labels in the ipod simulator background images. This isn't 100% perfect (I didn't go back to the layered source images), but IMO is good enough. 2008-07-08 23:27:09 +00:00
UI-ipodcolor.bmp Revert r17988 and instead fix the button labels in the ipod simulator background images. This isn't 100% perfect (I didn't go back to the layered source images), but IMO is good enough. 2008-07-08 23:27:09 +00:00
UI-ipodmini.bmp Revert r17988 and instead fix the button labels in the ipod simulator background images. This isn't 100% perfect (I didn't go back to the layered source images), but IMO is good enough. 2008-07-08 23:27:09 +00:00
UI-ipodmini2g.bmp Revert r17988 and instead fix the button labels in the ipod simulator background images. This isn't 100% perfect (I didn't go back to the layered source images), but IMO is good enough. 2008-07-08 23:27:09 +00:00
UI-ipodnano.bmp Revert r17988 and instead fix the button labels in the ipod simulator background images. This isn't 100% perfect (I didn't go back to the layered source images), but IMO is good enough. 2008-07-08 23:27:09 +00:00
UI-ipodvideo.bmp Revert r17988 and instead fix the button labels in the ipod simulator background images. This isn't 100% perfect (I didn't go back to the layered source images), but IMO is good enough. 2008-07-08 23:27:09 +00:00
UI-m3.bmp More M3 work: Rockbox logo, keymap, sim definitions, sim bitmap. Simulator builds and works now, but for some reason it tries to build plugins even though they're deactivated through configure... The keymap probably needs further refinement. 2008-03-14 00:17:59 +00:00
UI-m5.bmp
UI-m200v4.bmp fix m200v4 simulator. 2009-01-07 18:52:32 +00:00
UI-mrobe100.bmp simulator: 2008-03-02 21:28:26 +00:00
UI-mrobe500.bmp M:Robe 500: Cleanup the simulator image. 2009-04-18 01:58:52 +00:00
UI-ondavx747.bmp Add support for Onda VX747 simulator (and yes, it needs a better picture) 2009-03-09 23:32:37 +00:00
UI-ondavx747p.bmp Also add support for the Onda VX747+ 2009-03-09 23:40:23 +00:00
UI-ondiofm.bmp
UI-ondiosp.bmp
UI-player.bmp
UI-recorder.bmp
UI-recorderv2.bmp
UI-x5.bmp
uisdl.c Put the display colours for monochrome and greyscale targets into the target config files, and use them both for the simulator UI and screendumps. The Clip now shows the split display properly in screendumps and simulator. A side effect is that screendumps of ordinary monochrome targets are now 4-bit BMP files (saves an alternate code path, and might be more compatible with some gfx programs). * Simplify the simulation of split display, and also simplify greylib simulation. The simulator now always calculates 129 shades (2*128 for a Clip sim), and just uses 2 (or 4) of those for native display simulation. * Centralised the simulator LCD dimension definition. 2009-02-09 00:32:59 +00:00
uisdl.h M:Robe 500: Cleanup the simulator image. 2009-04-18 01:58:52 +00:00

To build:

 $ ../tools/configure
 [answer questions]
 $ make
 $ ./rockboxui