forked from len0rd/rockbox
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
This commit is contained in:
parent
9bf86f75fa
commit
6985f34beb
3 changed files with 46 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue