diff options
Diffstat (limited to 'firmware/drivers/lcd.h')
-rw-r--r-- | firmware/drivers/lcd.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/firmware/drivers/lcd.h b/firmware/drivers/lcd.h index 581ec3461d..c985cb067d 100644 --- a/firmware/drivers/lcd.h +++ b/firmware/drivers/lcd.h | |||
@@ -74,6 +74,15 @@ extern void lcd_double_height (bool on); | |||
74 | #define LCD_WIDTH 112 /* Display width in pixels */ | 74 | #define LCD_WIDTH 112 /* Display width in pixels */ |
75 | #define LCD_HEIGHT 64 /* Display height in pixels */ | 75 | #define LCD_HEIGHT 64 /* Display height in pixels */ |
76 | 76 | ||
77 | /* Directions for progressbar and scrollbar */ | ||
78 | enum | ||
79 | { | ||
80 | BAR_RIGHT = 0, | ||
81 | BAR_LEFT, | ||
82 | BAR_DOWN, | ||
83 | BAR_UP | ||
84 | }; | ||
85 | |||
77 | extern void lcd_putsxy(int x, int y, unsigned char *string, int font); | 86 | extern void lcd_putsxy(int x, int y, unsigned char *string, int font); |
78 | extern void lcd_setfont(int font); | 87 | extern void lcd_setfont(int font); |
79 | extern void lcd_getfontsize(unsigned int font, int *width, int *height); | 88 | extern void lcd_getfontsize(unsigned int font, int *width, int *height); |
@@ -88,6 +97,8 @@ extern void lcd_drawline( int x1, int y1, int x2, int y2 ); | |||
88 | extern void lcd_clearline( int x1, int y1, int x2, int y2 ); | 97 | extern void lcd_clearline( int x1, int y1, int x2, int y2 ); |
89 | extern void lcd_drawpixel(int x, int y); | 98 | extern void lcd_drawpixel(int x, int y); |
90 | extern void lcd_clearpixel(int x, int y); | 99 | extern void lcd_clearpixel(int x, int y); |
100 | extern void lcd_progressbar(int x, int y, int width, int height, int percent, int direction); | ||
101 | extern void lcd_slidebar(int x, int y, int width, int height, int percent, int direction); | ||
91 | 102 | ||
92 | #endif /* CHARCELLS / BITMAP */ | 103 | #endif /* CHARCELLS / BITMAP */ |
93 | 104 | ||