diff options
| author | Daniel Stenberg <daniel@haxx.se> | 2002-08-09 12:20:54 +0000 |
|---|---|---|
| committer | Daniel Stenberg <daniel@haxx.se> | 2002-08-09 12:20:54 +0000 |
| commit | 6985f34bebc38585a1c57c6be29d27957655a09b (patch) | |
| tree | a375cf4df9b5bc437676e15c7590b2267b1e79bc /firmware/API | |
| parent | 9bf86f75fac571e79e9fd85632704e43fb026ae1 (diff) | |
| download | rockbox-6985f34bebc38585a1c57c6be29d27957655a09b.zip rockbox-6985f34bebc38585a1c57c6be29d27957655a09b.tar.gz rockbox-6985f34bebc38585a1c57c6be29d27957655a09b.tar.bz2 rockbox-6985f34bebc38585a1c57c6be29d27957655a09b.tar.xz | |
Added lcd_update_rect(), for updating only a part of the LCD. This was
written "blindly". I've not tested this on hardware (yet).
The simulators will need to get this funtion added as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1643 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/API')
| -rw-r--r-- | firmware/API | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/firmware/API b/firmware/API index cfd5aa8..dfa6690 100644 --- a/firmware/API +++ b/firmware/API @@ -30,6 +30,14 @@ LCD shown on screen by calling lcd_update(). lcd_update() update the LCD according to the internal buffer. + + + lcd_update_rect(int x, int y, int height, int width) + + Update the given rectangle to the LCD. Give arguments measured in + pixels. Notice that the smallest vertical resolution in updates that the + hardware supports is even 8 pixels. This function will adjust to those. + lcd_setfont(int font) set default font lcd_setmargins(int x, int y) set top/left margins lcd_putsxy(x,y,string,font) put a string at given position, using a |