Commit graph

23 commits

Author SHA1 Message Date
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
1c47599312 brought back drawdots() and drawrectangles() since the player sim needs them
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7138 a1c6a512-1295-4272-9138-f99709370657
2005-07-14 10:35:26 +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
a5ef8f0c6f Simulator fixes: H120 Win32 simulator build working. H120 X11 simulator uses correct LCD background colour.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7075 a1c6a512-1295-4272-9138-f99709370657
2005-07-08 19:26:17 +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
Jens Arnold
424d505637 Eanbled building gmini simulator (Win32 & X11).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5639 a1c6a512-1295-4272-9138-f99709370657
2005-01-23 01:06:01 +00:00
Björn Stenberg
bbcd7406fa The Iriver display is blue
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5083 a1c6a512-1295-4272-9138-f99709370657
2004-09-16 20:03:03 +00:00
Kjell Ericson
0ca9ccbe63 Default window zoom for Recorder simulator is 2.
You can change window zoom with the command line flags "--player_zoom" and "--recorder_zoom". Or you can set the environment variable RECORDER_ZOOM or PLAYER_ZOOM.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3131 a1c6a512-1295-4272-9138-f99709370657
2003-01-20 09:39:38 +00:00
Kjell Ericson
f9a912d850 Using the structures "rectangle" and "points" when drawing (Win32 doesn't have XPoint).
Added the funtion drawrectangles() that is used for the player simulation.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2762 a1c6a512-1295-4272-9138-f99709370657
2002-10-28 20:04:53 +00:00
Kjell Ericson
93b5f92c53 The window zooming is now depending on LCD_WIDTH and LCD_HEIGHT.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2730 a1c6a512-1295-4272-9138-f99709370657
2002-10-21 20:12:55 +00:00
Mats Lidell
d4efbada61 Player don't use dynamic fonts.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2713 a1c6a512-1295-4272-9138-f99709370657
2002-10-18 09:19:10 +00:00
Kjell Ericson
5fddbf488a Drawing the same kind of frame for both recorder and player.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2705 a1c6a512-1295-4272-9138-f99709370657
2002-10-17 18:37:15 +00:00
Kjell Ericson
c54ff705a0 First attempt to adjust the drawing routines to be able to zoom the window.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2675 a1c6a512-1295-4272-9138-f99709370657
2002-10-16 08:43:13 +00:00
Daniel Stenberg
93b231c693 Greg Haerr's new loadable font. No more #ifdef font-style, removed old
propfont and loadable font code. New font file format.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2269 a1c6a512-1295-4272-9138-f99709370657
2002-09-12 13:33:59 +00:00
Daniel Stenberg
2ed1052a6d fix window sizes to match the screen size, enlarged the player sim font
to use the 12x16 one


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1635 a1c6a512-1295-4272-9138-f99709370657
2002-08-09 09:13:40 +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
00f090ff1c no more Logf(), only use debugf()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@473 a1c6a512-1295-4272-9138-f99709370657
2002-05-06 11:24:34 +00:00
Daniel Stenberg
9b68ef8ddc draw the "box" before calling the app
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@319 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 06:55:45 +00:00
Daniel Stenberg
1ba9faed31 changed the colors to be more Recorder-like
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@296 a1c6a512-1295-4272-9138-f99709370657
2002-04-28 09:38:20 +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/uibasic.c (Browse further)