diff options
Diffstat (limited to 'firmware/export/lcd-remote.h')
-rw-r--r-- | firmware/export/lcd-remote.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/firmware/export/lcd-remote.h b/firmware/export/lcd-remote.h index 3be23747ea..34c40e52c1 100644 --- a/firmware/export/lcd-remote.h +++ b/firmware/export/lcd-remote.h | |||
@@ -24,6 +24,7 @@ | |||
24 | #include "cpu.h" | 24 | #include "cpu.h" |
25 | #include "config.h" | 25 | #include "config.h" |
26 | #include "adc.h" | 26 | #include "adc.h" |
27 | #include "lcd.h" | ||
27 | 28 | ||
28 | #ifdef HAVE_REMOTE_LCD | 29 | #ifdef HAVE_REMOTE_LCD |
29 | 30 | ||
@@ -109,7 +110,9 @@ extern void lcd_remote_init(void); | |||
109 | extern int lcd_remote_default_contrast(void); | 110 | extern int lcd_remote_default_contrast(void); |
110 | extern void lcd_remote_set_contrast(int val); | 111 | extern void lcd_remote_set_contrast(int val); |
111 | 112 | ||
113 | extern void lcd_remote_set_viewport(struct viewport* vp); | ||
112 | extern void lcd_remote_clear_display(void); | 114 | extern void lcd_remote_clear_display(void); |
115 | extern void lcd_remote_clear_viewport(void); | ||
113 | extern void lcd_remote_puts(int x, int y, const unsigned char *str); | 116 | extern void lcd_remote_puts(int x, int y, const unsigned char *str); |
114 | extern void lcd_remote_puts_style(int x, int y, const unsigned char *str, | 117 | extern void lcd_remote_puts_style(int x, int y, const unsigned char *str, |
115 | int style); | 118 | int style); |
@@ -132,6 +135,8 @@ extern void lcd_remote_puts_scroll_style_offset(int x, int y, | |||
132 | 135 | ||
133 | extern void lcd_remote_update(void); | 136 | extern void lcd_remote_update(void); |
134 | extern void lcd_remote_update_rect(int x, int y, int width, int height); | 137 | extern void lcd_remote_update_rect(int x, int y, int width, int height); |
138 | extern void lcd_remote_update_viewport(void); | ||
139 | extern void lcd_remote_update_viewport_rect(int x, int y, int width, int height); | ||
135 | 140 | ||
136 | extern void lcd_remote_set_invert_display(bool yesno); | 141 | extern void lcd_remote_set_invert_display(bool yesno); |
137 | extern void lcd_remote_set_flip(bool yesno); | 142 | extern void lcd_remote_set_flip(bool yesno); |
@@ -141,6 +146,8 @@ extern int lcd_remote_get_drawmode(void); | |||
141 | extern void lcd_remote_setmargins(int xmargin, int ymargin); | 146 | extern void lcd_remote_setmargins(int xmargin, int ymargin); |
142 | extern int lcd_remote_getxmargin(void); | 147 | extern int lcd_remote_getxmargin(void); |
143 | extern int lcd_remote_getymargin(void); | 148 | extern int lcd_remote_getymargin(void); |
149 | extern int lcd_remote_getwidth(void); | ||
150 | extern int lcd_remote_getheight(void); | ||
144 | extern void lcd_remote_setfont(int font); | 151 | extern void lcd_remote_setfont(int font); |
145 | extern int lcd_remote_getstringsize(const unsigned char *str, int *w, int *h); | 152 | extern int lcd_remote_getstringsize(const unsigned char *str, int *w, int *h); |
146 | 153 | ||