summaryrefslogtreecommitdiff
path: root/apps/recorder
diff options
context:
space:
mode:
Diffstat (limited to 'apps/recorder')
-rw-r--r--apps/recorder/widgets.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/apps/recorder/widgets.h b/apps/recorder/widgets.h
index bae9f391de..18f59a8893 100644
--- a/apps/recorder/widgets.h
+++ b/apps/recorder/widgets.h
@@ -21,16 +21,22 @@
21#include <lcd.h> 21#include <lcd.h>
22 22
23#ifdef HAVE_LCD_BITMAP 23#ifdef HAVE_LCD_BITMAP
24/* Directions for progressbar and scrollbar */ 24/* Directions for progressbar and slidebar */
25enum 25enum {
26{
27 Grow_Right = 0, 26 Grow_Right = 0,
28 Grow_Left, 27 Grow_Left,
29 Grow_Down, 28 Grow_Down,
30 Grow_Up 29 Grow_Up
31}; 30};
32 31
32/* Orientation for scrollbar */
33enum {
34 VERTICAL = 0,
35 HORIZONTAL
36};
37
33extern void progressbar(int x, int y, int width, int height, int percent, int direction); 38extern void progressbar(int x, int y, int width, int height, int percent, int direction);
34extern void slidebar(int x, int y, int width, int height, int percent, int direction); 39extern void slidebar(int x, int y, int width, int height, int percent, int direction);
40extern void scrollbar(int x, int y, int width, int height, int items, int min_shown, int max_shown, int orientation);
35#endif /* HAVE_LCD_BITMAP */ 41#endif /* HAVE_LCD_BITMAP */
36#endif /* __WIDGETS_H__ */ 42#endif /* __WIDGETS_H__ */