diff options
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 cfd5aa8945..dfa6690260 100644 --- a/firmware/API +++ b/firmware/API | |||
@@ -30,6 +30,14 @@ LCD | |||
30 | shown on screen by calling lcd_update(). | 30 | shown on screen by calling lcd_update(). |
31 | 31 | ||
32 | lcd_update() update the LCD according to the internal buffer. | 32 | lcd_update() update the LCD according to the internal buffer. |
33 | |||
34 | |||
35 | lcd_update_rect(int x, int y, int height, int width) | ||
36 | |||
37 | Update the given rectangle to the LCD. Give arguments measured in | ||
38 | pixels. Notice that the smallest vertical resolution in updates that the | ||
39 | hardware supports is even 8 pixels. This function will adjust to those. | ||
40 | |||
33 | lcd_setfont(int font) set default font | 41 | lcd_setfont(int font) set default font |
34 | lcd_setmargins(int x, int y) set top/left margins | 42 | 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 | 43 | lcd_putsxy(x,y,string,font) put a string at given position, using a |