summaryrefslogtreecommitdiff
path: root/firmware/drivers/lcd.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/lcd.h')
-rw-r--r--firmware/drivers/lcd.h11
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 */
78enum
79{
80 BAR_RIGHT = 0,
81 BAR_LEFT,
82 BAR_DOWN,
83 BAR_UP
84};
85
77extern void lcd_putsxy(int x, int y, unsigned char *string, int font); 86extern void lcd_putsxy(int x, int y, unsigned char *string, int font);
78extern void lcd_setfont(int font); 87extern void lcd_setfont(int font);
79extern void lcd_getfontsize(unsigned int font, int *width, int *height); 88extern 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 );
88extern void lcd_clearline( int x1, int y1, int x2, int y2 ); 97extern void lcd_clearline( int x1, int y1, int x2, int y2 );
89extern void lcd_drawpixel(int x, int y); 98extern void lcd_drawpixel(int x, int y);
90extern void lcd_clearpixel(int x, int y); 99extern void lcd_clearpixel(int x, int y);
100extern void lcd_progressbar(int x, int y, int width, int height, int percent, int direction);
101extern 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