Commit graph

100 commits

Author SHA1 Message Date
Felix Arends
d3f373f7cb nx was undefined for the first execution of the while statement
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1131 a1c6a512-1295-4272-9138-f99709370657
2002-06-21 12:30:08 +00:00
Daniel Stenberg
714cca067d extended charset by Magnus Öman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1127 a1c6a512-1295-4272-9138-f99709370657
2002-06-20 14:06:57 +00:00
Björn Stenberg
57aa1f4de4 Clear area for proportional scroll
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1126 a1c6a512-1295-4272-9138-f99709370657
2002-06-20 12:48:24 +00:00
Daniel Stenberg
788f1ceae2 added lcd_getstringsize() within the propfonts test define
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1124 a1c6a512-1295-4272-9138-f99709370657
2002-06-20 11:30:25 +00:00
Daniel Stenberg
9468e1b93e Magnus Oman brought a test set proportional font
#define LCD_PROPFONTS to try


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1112 a1c6a512-1295-4272-9138-f99709370657
2002-06-20 08:20:12 +00:00
Daniel Stenberg
e1bea8954b when simulating a player, move down the text 8 pixels to make room for
"icons"


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1078 a1c6a512-1295-4272-9138-f99709370657
2002-06-19 12:59:21 +00:00
Daniel Stenberg
3d1c27f4d1 Added lcd_clearline() - the opposite of drawline. We need this to make funny
graphical stuff.
lcd_bitmap() with the last argument set to 'false' now only OR the bitmap to
the background instead of using XOR as it did previously. I really can't see
the point in XORing...


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1011 a1c6a512-1295-4272-9138-f99709370657
2002-06-15 13:26:57 +00:00
Daniel Stenberg
16c3c127ba typecast array indexing to int from char to prevent compiler warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@985 a1c6a512-1295-4272-9138-f99709370657
2002-06-12 18:02:18 +00:00
Björn Stenberg
4b422aaa36 Fixed tighter looping scroll.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@977 a1c6a512-1295-4272-9138-f99709370657
2002-06-12 15:15:51 +00:00
Björn Stenberg
4dea91fbcb Tighter scrolling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@971 a1c6a512-1295-4272-9138-f99709370657
2002-06-12 08:24:03 +00:00
Björn Stenberg
14dc57c6d0 Skip initing LCD. Make scroll delay 1s.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@957 a1c6a512-1295-4272-9138-f99709370657
2002-06-11 11:03:48 +00:00
Björn Stenberg
8db6e4a63f Removed leftover int
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@955 a1c6a512-1295-4272-9138-f99709370657
2002-06-11 10:39:14 +00:00
Björn Stenberg
1ef2d66052 Changed to new chartable arrays
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@954 a1c6a512-1295-4272-9138-f99709370657
2002-06-11 10:36:50 +00:00
Björn Stenberg
92e46622e5 Don't scroll lines shorter than the screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@949 a1c6a512-1295-4272-9138-f99709370657
2002-06-11 07:55:43 +00:00
Linus Nielsen Feltzing
7bccab7400 Slower scroll speed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@944 a1c6a512-1295-4272-9138-f99709370657
2002-06-10 14:45:09 +00:00
Björn Stenberg
f6a296929e lcd_init() for player too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@941 a1c6a512-1295-4272-9138-f99709370657
2002-06-10 13:44:29 +00:00
Björn Stenberg
a45675aaa2 Added #include <thread.h>
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@939 a1c6a512-1295-4272-9138-f99709370657
2002-06-10 13:31:12 +00:00
Björn Stenberg
f40a826000 Added delay before starting scroll
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@938 a1c6a512-1295-4272-9138-f99709370657
2002-06-10 13:25:03 +00:00
Björn Stenberg
874fccbbc9 Moved declarations to top
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@932 a1c6a512-1295-4272-9138-f99709370657
2002-06-10 12:41:12 +00:00
Björn Stenberg
e2b92ebeed Added scrolling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@931 a1c6a512-1295-4272-9138-f99709370657
2002-06-10 12:36:54 +00:00
Linus Nielsen Feltzing
5a687d0377 Changed default contrast to power-on default
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@916 a1c6a512-1295-4272-9138-f99709370657
2002-06-07 14:39:52 +00:00
Daniel Stenberg
82078e4a59 the truncate lcd_puts() stuff in simulator only concerns player-style LCDs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@900 a1c6a512-1295-4272-9138-f99709370657
2002-06-06 12:50:34 +00:00
Daniel Stenberg
f43490a86e when doing lcd_puts() on a simulated player, we now truncate the string at
the right edge instead of wrapping down to the next line, as the target
will not behave that way!


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@899 a1c6a512-1295-4272-9138-f99709370657
2002-06-06 12:47:03 +00:00
Björn Stenberg
3f7d6d5217 Untranslated chars should be pass-through
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@847 a1c6a512-1295-4272-9138-f99709370657
2002-05-31 09:01:57 +00:00
Daniel Stenberg
44624521ff removed char(un)def.h includes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@828 a1c6a512-1295-4272-9138-f99709370657
2002-05-30 14:50:28 +00:00
Daniel Stenberg
565f3b27f2 lcd_clear_display() now works when player-simulated the same way the
lcd_puts() does, it runs lcd_update() immediately itself


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@826 a1c6a512-1295-4272-9138-f99709370657
2002-05-30 14:11:50 +00:00
Daniel Stenberg
c346991af8 when building a simulator for the player, we do lcd_update() from within
the lcd_puts() call.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@823 a1c6a512-1295-4272-9138-f99709370657
2002-05-30 14:08:27 +00:00
Daniel Stenberg
43d96f9c41 lcd_getfontsize() now takes an unsigned font size as first argument
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@810 a1c6a512-1295-4272-9138-f99709370657
2002-05-30 06:55:48 +00:00
Daniel Stenberg
7ec047c3a4 The recorder's lcd_putsxy() will now output '?' instead of just skipping
unknown characters.

I think we will need a rather full ISO-8859-1 character set.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@809 a1c6a512-1295-4272-9138-f99709370657
2002-05-30 06:49:39 +00:00
Björn Stenberg
56f7202328 Stopped writting outsite screen. Removed LCD_ASCII macro.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@801 a1c6a512-1295-4272-9138-f99709370657
2002-05-29 16:29:17 +00:00
Björn Stenberg
ff351c1fcc Added lcd_double_height()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@715 a1c6a512-1295-4272-9138-f99709370657
2002-05-26 20:54:52 +00:00
Björn Stenberg
50a33f06cf Clear 16 bytes per row
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@701 a1c6a512-1295-4272-9138-f99709370657
2002-05-24 15:47:55 +00:00
Robert Hak
5d8e4c2156 trying to clean up Recorder vs Player issues
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@640 a1c6a512-1295-4272-9138-f99709370657
2002-05-21 08:50:46 +00:00
Björn Stenberg
2571912b35 Added dummy lcd_update() to player code, to avoid #ifdef everywhere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@634 a1c6a512-1295-4272-9138-f99709370657
2002-05-20 21:30:26 +00:00
Björn Stenberg
7ae053a6e9 Changing to C99 'bool'
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@562 a1c6a512-1295-4272-9138-f99709370657
2002-05-13 12:45:46 +00:00
Björn Stenberg
71cda11e65 Changed puts() to take 'character position'
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@540 a1c6a512-1295-4272-9138-f99709370657
2002-05-10 14:54:56 +00:00
Daniel Stenberg
c8b6119b38 Added weird circumvention macros for SIMULATOR builds. When we build a
charcell LCD simulator, we keep the bitmap LCD functions too, as we use
the bitmap functionality to put characters on screen. But since the charcell
LCD api and the bitmap LCD api use the same function names for a few
functions, we include redef and undef files to fix that...


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@419 a1c6a512-1295-4272-9138-f99709370657
2002-05-04 12:19:36 +00:00
Robert Hak
1118c88639 lcd_drawrect added
I was tired of calling lcd_drawline 4 times on my own.  This acts
as a wrapper around that.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@399 a1c6a512-1295-4272-9138-f99709370657
2002-05-03 06:23:30 +00:00
Daniel Stenberg
72aa3cfb02 Reverted the 1.10 and 1.11 changes, as they don't work.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@376 a1c6a512-1295-4272-9138-f99709370657
2002-05-02 10:06:45 +00:00
Felix Arends
fea4cfa41a fixed lcd_bitmap, again. Works for y%8 != 0 as well now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@374 a1c6a512-1295-4272-9138-f99709370657
2002-05-01 17:05:55 +00:00
Felix Arends
fa16227b25 fixed lcd_bitmap code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@373 a1c6a512-1295-4272-9138-f99709370657
2002-05-01 16:08:21 +00:00
Daniel Stenberg
2877995956 lcd_puts() uses the new fontheight table now
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@361 a1c6a512-1295-4272-9138-f99709370657
2002-05-01 09:59:15 +00:00
Daniel Stenberg
0b81b35b7a Added lcd_fontsize() that returns the size of a given font
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@360 a1c6a512-1295-4272-9138-f99709370657
2002-05-01 09:56:38 +00:00
Felix Arends
dc64ef99d1 removed WIN32 compiler directive
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@358 a1c6a512-1295-4272-9138-f99709370657
2002-05-01 09:46:34 +00:00
Felix Arends
3d2999c911 Win32 Simulator compability:
needed to include windows.h for memcpy operations.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@352 a1c6a512-1295-4272-9138-f99709370657
2002-04-30 21:17:27 +00:00
Björn Stenberg
cfc2bbeef2 Removed erroneous lcd_start call
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@253 a1c6a512-1295-4272-9138-f99709370657
2002-04-26 16:41:51 +00:00
Björn Stenberg
29db1a9e72 Cleaned up lcd API
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@236 a1c6a512-1295-4272-9138-f99709370657
2002-04-25 15:09:03 +00:00
Björn Stenberg
30e8c03a42 Cleaning up the lcd API; not finished
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@233 a1c6a512-1295-4272-9138-f99709370657
2002-04-25 13:45:23 +00:00
Daniel Stenberg
dba2b45255 fixed the emacs load-file thing in the bottom
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@207 a1c6a512-1295-4272-9138-f99709370657
2002-04-24 08:14:41 +00:00
Björn Stenberg
c6773e1436 Moved driver to 'drivers' subdir
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@189 a1c6a512-1295-4272-9138-f99709370657
2002-04-23 09:13:23 +00:00
Renamed from firmware/lcd.c (Browse further)