Commit graph

37 commits

Author SHA1 Message Date
Dan Everton
3ba0060ac1 Backlight support for 8-bit targets in SDL sim. Redo sound handling. Still doesn't work right, but is closer to how the actual Rockbox system does it. Move some stub functions in to Win32 and X11 sims to keep them compiling.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8686 a1c6a512-1295-4272-9138-f99709370657
2006-02-13 21:46:28 +00:00
Daniel Stenberg
95c00323d3 repaired the h300 x11 sim build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7922 a1c6a512-1295-4272-9138-f99709370657
2005-11-17 07:17:03 +00:00
Dave Chapman
fca0113f72 Define framebuffer for 16-bit displays
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7854 a1c6a512-1295-4272-9138-f99709370657
2005-11-14 02:11:26 +00:00
Jens Arnold
48be8e6a8b X11 simulator: * Correctly redraw the window when it was destroyed by overlaying (X11 'Expose' event). * Simplified, corrected and unified redraw algorithm for main & remote bitmap display.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7655 a1c6a512-1295-4272-9138-f99709370657
2005-10-23 23:49:46 +00:00
Jens Arnold
fc03c8e3c9 X11 simulator: Fixed margins and scaling (window zoom) for all simulated targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7654 a1c6a512-1295-4272-9138-f99709370657
2005-10-23 13:06:25 +00:00
Daniel Stenberg
9872813c7d introducing H1x0 style grayscale support in the X11 sim
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7137 a1c6a512-1295-4272-9138-f99709370657
2005-07-14 10:02:04 +00:00
Jens Arnold
f894a4c269 4-shades greyscale graphics core for iriver H1x0. 4-grey rockbox logo and light grey background in splash() boxes. Simplified the splash() box creation as the new graphics core does clipping. Adapted screendump feature and added flexible preprocessing to construct the bmp header. Rockboy now uses 4-grey mode as well. 4-grey support for win32 simulator. Fixed win32 player sim to not use double bitmap conversion via a recorder-like framebuffer, and correctly display double-height text. X11 simulator temporarily adapted. The display won't be distorted, but it still shows b&w only.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7046 a1c6a512-1295-4272-9138-f99709370657
2005-07-06 22:58:02 +00:00
Daniel Stenberg
ac31e6af87 Remote LCD support added to the x11 simulator, take 1. The win32 simulator
still builds, but shows no remote LCD yet.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6510 a1c6a512-1295-4272-9138-f99709370657
2005-05-23 16:23:25 +00:00
Jens Arnold
74b731edc6 Major rework of the x11 simulator button handling. (1) Button repeat should always work correctly now, not sending a release before the repeat(s). Fixes e.g. calling the Ondio menu. (2) Button handling is done in the timer thread, not sleep()ing the main thread for extended times. Fixes slow performance of high-workload plugins (codec tests). (3) The x11 simulator now also contains the queue handling code. (4) The new code requires X11R6 because the multi-threading extension is used.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6215 a1c6a512-1295-4272-9138-f99709370657
2005-03-18 23:51:52 +00:00
Jens Arnold
31b28f523a Extensive code policing (indentation levels, tab characters).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6199 a1c6a512-1295-4272-9138-f99709370657
2005-03-18 00:03:22 +00:00
Björn Stenberg
8b6950493b Moved LCD_WIDHT/HEIGHT from lcd driver to config file.
Simulators now use conig-xxx.h.
Added Iriver H100 to tools/configure.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5081 a1c6a512-1295-4272-9138-f99709370657
2004-09-16 14:36:08 +00:00
Jens Arnold
79477702d5 Fixed a warning (unused variable)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4760 a1c6a512-1295-4272-9138-f99709370657
2004-06-16 20:56:44 +00:00
Daniel Stenberg
6b18acd5d8 removed silly debug outputs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4757 a1c6a512-1295-4272-9138-f99709370657
2004-06-16 15:20:06 +00:00
Jörg Hohensohn
5040cc53ec Screen buffer transposed, such that bytes in X-direction are consecutive. This enables my turbocharged lcd_write_data() for regular screen updates. Please check the X11 sim, Win32 works.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4177 a1c6a512-1295-4272-9138-f99709370657
2003-12-23 23:41:45 +00:00
Daniel Stenberg
4ccffb6589 remove debug output
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3593 a1c6a512-1295-4272-9138-f99709370657
2003-04-23 18:49:24 +00:00
Björn Stenberg
0d5ea771c8 Fix red sim build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3358 a1c6a512-1295-4272-9138-f99709370657
2003-02-27 15:20:14 +00:00
Daniel Stenberg
ae26233817 build and work with the new include path(s)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3214 a1c6a512-1295-4272-9138-f99709370657
2003-02-07 09:42:57 +00:00
Mats Lidell
74cc9e41fa Remove use of rockbox-mode.el in local variables list.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3157 a1c6a512-1295-4272-9138-f99709370657
2003-01-24 10:56:06 +00:00
Kjell Ericson
1cb806110a Implementing Rocklatin character set for Rockbox player.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3055 a1c6a512-1295-4272-9138-f99709370657
2003-01-10 10:03:07 +00:00
Kjell Ericson
f7a4b2b0da Changed XPoint to "struct coordinate".
New lcd_update for the player simulator.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2764 a1c6a512-1295-4272-9138-f99709370657
2002-10-28 20:08:40 +00:00
Kjell Ericson
feae991575 Changed Logf to printf while debugging.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2708 a1c6a512-1295-4272-9138-f99709370657
2002-10-17 18:42:47 +00:00
Daniel Stenberg
badee43656 Frédéric Dang Ngoc pointed out a bug in the lcd_update_rect() for X11.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2495 a1c6a512-1295-4272-9138-f99709370657
2002-10-04 07:41:33 +00:00
Daniel Stenberg
cd864070e4 added lcd_update_rect() simulator-style
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2255 a1c6a512-1295-4272-9138-f99709370657
2002-09-10 07:07:44 +00:00
Markus Braun
de8fbf00a8 Added status bar to file browser and wps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1582 a1c6a512-1295-4272-9138-f99709370657
2002-08-07 10:35:26 +00:00
Björn Stenberg
1812eae051 Added stub for battery_level()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1365 a1c6a512-1295-4272-9138-f99709370657
2002-07-16 10:54:37 +00:00
Björn Stenberg
b45491df8f Added backlight_time stub
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1219 a1c6a512-1295-4272-9138-f99709370657
2002-06-27 01:00:00 +00:00
Daniel Stenberg
5bee7a490f added backkight_on(), we should have this change background colour or
something but right now it does nothing


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1157 a1c6a512-1295-4272-9138-f99709370657
2002-06-24 14:10:48 +00:00
Daniel Stenberg
ed6c7e4e03 warning hunt and kill session
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1000 a1c6a512-1295-4272-9138-f99709370657
2002-06-14 11:00:13 +00:00
Daniel Stenberg
90f2806656 removed the no longer used code for simulating the player LCD
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@827 a1c6a512-1295-4272-9138-f99709370657
2002-05-30 14:12:31 +00:00
Björn Stenberg
256d24a775 Added lcd_update() to player lcd_puts()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@619 a1c6a512-1295-4272-9138-f99709370657
2002-05-17 14:38:08 +00:00
Björn Stenberg
81dfba4e3d Removed testing debugf()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@542 a1c6a512-1295-4272-9138-f99709370657
2002-05-10 14:58:32 +00:00
Björn Stenberg
c492d24cce Adapted to changes in the lcd API.
Added player support to the dir browser.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@541 a1c6a512-1295-4272-9138-f99709370657
2002-05-10 14:56:52 +00:00
Daniel Stenberg
d3cf73e6f5 started to implement the charcell LCD api
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@422 a1c6a512-1295-4272-9138-f99709370657
2002-05-04 12:25:06 +00:00
Robert Hak
38cb040f07 Commented out log statement on lcd_update
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@401 a1c6a512-1295-4272-9138-f99709370657
2002-05-03 06:54:41 +00:00
Daniel Stenberg
5ab87aa978 clear first, then draw might look better
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@330 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 13:29:08 +00:00
Daniel Stenberg
a73d52c711 use Logf()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@283 a1c6a512-1295-4272-9138-f99709370657
2002-04-27 23:59:47 +00:00
Daniel Stenberg
3caa3c0871 moved X11-specific files into a separate subdir to keep root clean for
target files


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@282 a1c6a512-1295-4272-9138-f99709370657
2002-04-27 23:48:49 +00:00
Renamed from uisimulator/lcd-x11.c (Browse further)