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 /firmware/API | |
parent | 7ae053a6e900835b787b312c853f3a0768bc073d (diff) | |
download | rockbox-a2bdcefd38b66682ecabe43fd583ed15378730cf.tar.gz rockbox-a2bdcefd38b66682ecabe43fd583ed15378730cf.zip |
Updated LCD API
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@563 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/API')
-rw-r--r-- | firmware/API | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/firmware/API b/firmware/API index 66300122ed..51e75c2a31 100644 --- a/firmware/API +++ b/firmware/API | |||
@@ -22,6 +22,7 @@ LCD | |||
22 | lcd_init() - init the LCD stuff | 22 | lcd_init() - init the LCD stuff |
23 | lcd_clear_display() - clear the whole display | 23 | lcd_clear_display() - clear the whole display |
24 | lcd_backlight(on) - set backlight on/off | 24 | lcd_backlight(on) - set backlight on/off |
25 | lcd_puts(x,y,string) write a string at given character position | ||
25 | 26 | ||
26 | Recorder | 27 | Recorder |
27 | 28 | ||
@@ -29,7 +30,10 @@ LCD | |||
29 | shown on screen by calling lcd_update(). | 30 | shown on screen by calling lcd_update(). |
30 | 31 | ||
31 | lcd_update() update the LCD according to the internal buffer. | 32 | lcd_update() update the LCD according to the internal buffer. |
32 | lcd_puts(x,y,string,font) put a string at given position | 33 | lcd_setfont(int font) set default font |
34 | lcd_setmargins(int x, int y) set top/left margins | ||
35 | lcd_putsxy(x,y,string,font) put a string at given position, using a | ||
36 | specific font | ||
33 | lcd_bitmap(src,x,y,width,height,clear) put a bitmap at given position | 37 | lcd_bitmap(src,x,y,width,height,clear) put a bitmap at given position |
34 | lcd_clearrect(x,y,width,height) clear a rectangle area | 38 | lcd_clearrect(x,y,width,height) clear a rectangle area |
35 | lcd_fillrect(x,y,width,height) fill a rectangle area | 39 | lcd_fillrect(x,y,width,height) fill a rectangle area |
@@ -42,7 +46,6 @@ LCD | |||
42 | 46 | ||
43 | Player | 47 | Player |
44 | 48 | ||
45 | lcd_puts(x,y,string) write a string at given position | ||
46 | lcd_define_pattern(which,pattern,lenth) define a custom pattern | 49 | lcd_define_pattern(which,pattern,lenth) define a custom pattern |
47 | 50 | ||
48 | Buttons | 51 | Buttons |