diff options
| author | Björn Stenberg <bjorn@haxx.se> | 2002-05-13 13:06:03 +0000 |
|---|---|---|
| committer | Björn Stenberg <bjorn@haxx.se> | 2002-05-13 13:06:03 +0000 |
| commit | a2bdcefd38b66682ecabe43fd583ed15378730cf (patch) | |
| tree | 108b4a81cdb4b230a2c67df9e3e36b1dcd373905 | |
| parent | 7ae053a6e900835b787b312c853f3a0768bc073d (diff) | |
| download | rockbox-a2bdcefd38b66682ecabe43fd583ed15378730cf.zip rockbox-a2bdcefd38b66682ecabe43fd583ed15378730cf.tar.gz rockbox-a2bdcefd38b66682ecabe43fd583ed15378730cf.tar.bz2 rockbox-a2bdcefd38b66682ecabe43fd583ed15378730cf.tar.xz | |
Updated LCD API
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@563 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | firmware/API | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/firmware/API b/firmware/API index 6630012..51e75c2 100644 --- a/firmware/API +++ b/firmware/API @@ -22,6 +22,7 @@ LCD lcd_init() - init the LCD stuff lcd_clear_display() - clear the whole display lcd_backlight(on) - set backlight on/off + lcd_puts(x,y,string) write a string at given character position Recorder @@ -29,7 +30,10 @@ LCD shown on screen by calling lcd_update(). lcd_update() update the LCD according to the internal buffer. - lcd_puts(x,y,string,font) put a string at given position + 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 + specific font lcd_bitmap(src,x,y,width,height,clear) put a bitmap at given position lcd_clearrect(x,y,width,height) clear a rectangle area lcd_fillrect(x,y,width,height) fill a rectangle area @@ -42,7 +46,6 @@ LCD Player - lcd_puts(x,y,string) write a string at given position lcd_define_pattern(which,pattern,lenth) define a custom pattern Buttons |