Commit graph

50 commits

Author SHA1 Message Date
Jens Arnold
6a556c1740 Preparations for implementing the new graphics api: Ordered lcd bitmap driver defines, variables and functions by function groups. Centralised some definitions, code cleanup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6844 a1c6a512-1295-4272-9138-f99709370657
2005-06-23 16:53:54 +00:00
Jens Arnold
ba4df32100 Removed more dead code; bugfix for cursor display in player simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6429 a1c6a512-1295-4272-9138-f99709370657
2005-05-08 13:03:57 +00:00
Jens Arnold
d4e53976d9 Renamed has_new_lcd() to is_new_player(), and got rid of the alias
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5459 a1c6a512-1295-4272-9138-f99709370657
2004-11-22 21:20:54 +00:00
Jens Arnold
1710e38976 Fixed the player sim. There is no SH1 hardware in the simulator...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5398 a1c6a512-1295-4272-9138-f99709370657
2004-11-11 01:36:37 +00:00
Jens Arnold
2e290d6cec Important step towards player flashing: LCD inits for both new LCD (confirmed working) and old LCD.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5397 a1c6a512-1295-4272-9138-f99709370657
2004-11-11 01:11:06 +00:00
Jens Arnold
566eae2e11 Logarithmic scroll speed setting: speed doubles every 3 steps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5288 a1c6a512-1295-4272-9138-f99709370657
2004-10-15 20:30:29 +00:00
Björn Stenberg
57945b125d Removed the Neo code. Nobody is interested in it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5096 a1c6a512-1295-4272-9138-f99709370657
2004-09-20 08:10:43 +00:00
Jens Arnold
0ceaa5e365 Const policed pointer arguments to functions, part 2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4996 a1c6a512-1295-4272-9138-f99709370657
2004-08-17 01:45:48 +00:00
Jens Arnold
c76c568b35 Const policed pointer arguments to functions, part 1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4995 a1c6a512-1295-4272-9138-f99709370657
2004-08-16 23:37:23 +00:00
Jens Arnold
9478cc6f8a More const policeing step 4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4983 a1c6a512-1295-4272-9138-f99709370657
2004-08-03 19:22:56 +00:00
Jens Arnold
2b0694c694 More const policeing step 3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4982 a1c6a512-1295-4272-9138-f99709370657
2004-08-03 05:58:46 +00:00
Jens Arnold
1413f0cc95 Fixed player builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4979 a1c6a512-1295-4272-9138-f99709370657
2004-08-01 22:11:08 +00:00
Linus Nielsen Feltzing
80ebaabf80 Extra LCD updates for the player LCD simulation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4900 a1c6a512-1295-4272-9138-f99709370657
2004-07-20 11:43:44 +00:00
Jens Arnold
1aa9cdad20 Fixed player sim warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4538 a1c6a512-1295-4272-9138-f99709370657
2004-04-21 11:00:51 +00:00
Jens Arnold
38e8a117aa Unified usage of lcd transfer code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4536 a1c6a512-1295-4272-9138-f99709370657
2004-04-21 09:39:29 +00:00
Daniel Stenberg
006b2c1c25 adjustments for Neo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4130 a1c6a512-1295-4272-9138-f99709370657
2003-12-12 13:23:33 +00:00
Mats Lidell
37982493c2 Smarter jumpscroll.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3931 a1c6a512-1295-4272-9138-f99709370657
2003-08-18 05:27:13 +00:00
Björn Stenberg
067262dbf0 Moved lcd default contrast knowledge from settings.c to lcd driver. Now lcd_init sets default contrast until settings are read.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3824 a1c6a512-1295-4272-9138-f99709370657
2003-07-09 23:07:49 +00:00
Kjell Ericson
ffefc5d5e1 A bit faster update of Player simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3730 a1c6a512-1295-4272-9138-f99709370657
2003-06-05 08:29:21 +00:00
Kjell Ericson
6143eeb22b Added "jump scroll delay" (for player).
Added that you can set how many times the jump scroll shall occur (max 5 times)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3697 a1c6a512-1295-4272-9138-f99709370657
2003-05-27 12:54:11 +00:00
Kjell Ericson
53f156a6fc New feature for player: Jump scroll!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3693 a1c6a512-1295-4272-9138-f99709370657
2003-05-22 06:42:14 +00:00
Daniel Stenberg
7b9edd6090 bring back the functionality with the conditional update on remove cursor
in the sim


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3192 a1c6a512-1295-4272-9138-f99709370657
2003-01-29 17:34:28 +00:00
Daniel Stenberg
0c4a35fbcf Major Code Police raid strike-down.
Fix yellow build.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3191 a1c6a512-1295-4272-9138-f99709370657
2003-01-29 17:31:55 +00:00
Kjell Ericson
9d40f7ebc4 Player changes: Added lcd_remove_cursor() and updated the cursor functionality.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3182 a1c6a512-1295-4272-9138-f99709370657
2003-01-29 11:48:35 +00:00
Kjell Ericson
565505abd4 Added a "cursor"-function for the keyvoard.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3171 a1c6a512-1295-4272-9138-f99709370657
2003-01-27 14:37:03 +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
f5d9584eac Removed lcd_scroll_pause() and lcd_scroll_resume().
lcd_stop_scroll() doesn't redraw the screen anymore.
lcd_clear_display() stops and forgets all scrolls.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3153 a1c6a512-1295-4272-9138-f99709370657
2003-01-23 14:24:52 +00:00
Kjell Ericson
7f9d71363a Changed name of lcd_do_puts() to lcd_puts_cont_scroll().
It is still just an local function, but it's a more describing name.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3148 a1c6a512-1295-4272-9138-f99709370657
2003-01-22 12:16:14 +00:00
Kjell Ericson
d618fb0cb2 Added lcd_do_puts() as a static function and made lcd_puts() stop any scroll at that line.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3140 a1c6a512-1295-4272-9138-f99709370657
2003-01-21 14:25:24 +00:00
Mats Lidell
bd1fa21cc0 Export info about the charset.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3133 a1c6a512-1295-4272-9138-f99709370657
2003-01-20 12:24:43 +00:00
Kjell Ericson
75361e5e44 Stop scrolling text when lcd_clear_display() has been called.
Added call to lcd_update() for Recorder simulator.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3084 a1c6a512-1295-4272-9138-f99709370657
2003-01-14 13:51:09 +00:00
Mats Lidell
4c7f70fe9a Bidirectional scroll ala recorder.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3080 a1c6a512-1295-4272-9138-f99709370657
2003-01-14 10:45:57 +00:00
Kjell Ericson
fd07b6932f Fixed the mapping between software mapped patterns and hardware LCD.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3079 a1c6a512-1295-4272-9138-f99709370657
2003-01-13 13:21:13 +00:00
Mats Lidell
1a4fd1f3a4 Resolved last_pat and last_used_pat.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3078 a1c6a512-1295-4272-9138-f99709370657
2003-01-13 13:09:54 +00:00
Kjell Ericson
b113073170 Bugfix2 of the bidirectional scroll. Sorry...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3067 a1c6a512-1295-4272-9138-f99709370657
2003-01-10 14:48:53 +00:00
Kjell Ericson
ac984edda6 Bugfix of the bidirectional scrolling.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3066 a1c6a512-1295-4272-9138-f99709370657
2003-01-10 14:45:15 +00:00
Kjell Ericson
febc62388e Fixed spelling misstakes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3065 a1c6a512-1295-4272-9138-f99709370657
2003-01-10 13:30:08 +00:00
Kjell Ericson
4a197ec29a Function lcd_allow_bidirectictional_scrolling() implemented so we can turn it off.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3064 a1c6a512-1295-4272-9138-f99709370657
2003-01-10 13:26:12 +00:00
Kjell Ericson
54c8c71d85 Bidirectional scrolling implemented. The text will go back and forth
when more than 4 characters are outside the LCD.
Small texts will wrap as normal.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3063 a1c6a512-1295-4272-9138-f99709370657
2003-01-10 13:22:07 +00:00
Kjell Ericson
dc88e23700 Fixed the scroll_delay.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3062 a1c6a512-1295-4272-9138-f99709370657
2003-01-10 12:23:36 +00:00
Kjell Ericson
3639325a2b Changed debug code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3059 a1c6a512-1295-4272-9138-f99709370657
2003-01-10 10:13:48 +00:00
Kjell Ericson
a33d6b2409 Removed warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3058 a1c6a512-1295-4272-9138-f99709370657
2003-01-10 10:12:17 +00:00
Kjell Ericson
dd7f2948e4 Implementing the Rocklatin character set for Rockbox player.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3052 a1c6a512-1295-4272-9138-f99709370657
2003-01-10 09:58:04 +00:00
Björn Stenberg
a2e98c1cd9 Merged Uwe Freese's bidirectional scrolling patch. Added configurable scroll step size and scroll start delay.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2974 a1c6a512-1295-4272-9138-f99709370657
2002-12-12 15:20:37 +00:00
Kjell Ericson
c2280c1617 The lcd_ascii-pointer is global for a while in order to be reachable from
the simulator.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2765 a1c6a512-1295-4272-9138-f99709370657
2002-10-28 20:12:17 +00:00
Markus Braun
bc254fe95f Added multiline scroll support.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2729 a1c6a512-1295-4272-9138-f99709370657
2002-10-21 13:14:25 +00:00
Mats Lidell
8ca78b6665 Undefined functions supplied for simulator in lcd-playersim.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2717 a1c6a512-1295-4272-9138-f99709370657
2002-10-18 09:24:23 +00:00
Linus Nielsen Feltzing
0a4b247080 The player firmware now autodetects the LCD type. No need for two player versions anymore
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2658 a1c6a512-1295-4272-9138-f99709370657
2002-10-15 12:25:57 +00:00
Mats Lidell
9138282f5c Simulator icons not needed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2578 a1c6a512-1295-4272-9138-f99709370657
2002-10-11 11:09:48 +00:00
Björn Stenberg
86f9a8410b Split lcd driver into lcd-player and lcd-recorder. Player simulator still needs fixing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2370 a1c6a512-1295-4272-9138-f99709370657
2002-09-23 11:17:52 +00:00