From 6985f34bebc38585a1c57c6be29d27957655a09b Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 9 Aug 2002 12:20:54 +0000 Subject: 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 --- firmware/API | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'firmware/API') 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 -- cgit v1.1