summaryrefslogtreecommitdiff
path: root/apps/gui/scrollbar.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/scrollbar.h')
-rw-r--r--apps/gui/scrollbar.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/apps/gui/scrollbar.h b/apps/gui/scrollbar.h
index 541cc2d4df..40279a1a9d 100644
--- a/apps/gui/scrollbar.h
+++ b/apps/gui/scrollbar.h
@@ -24,8 +24,15 @@
24#ifdef HAVE_LCD_BITMAP 24#ifdef HAVE_LCD_BITMAP
25 25
26enum orientation { 26enum orientation {
27 VERTICAL, 27 VERTICAL = 0x0000, /* Vertical orientation */
28 HORIZONTAL 28 HORIZONTAL = 0x0001, /* Horizontal orientation */
29#ifdef HAVE_LCD_COLOR
30 FOREGROUND = 0x0002, /* Do not clear background pixels */
31 INNER_FILL = 0x0004, /* Fill inner part even if FOREGROUND */
32 INNER_BGFILL = 0x0008, /* Fill inner part with background
33 color even if FOREGROUND */
34 INNER_FILL_MASK = 0x000c,
35#endif
29}; 36};
30 37
31/* 38/*
@@ -43,10 +50,10 @@ enum orientation {
43extern void gui_scrollbar_draw(struct screen * screen, int x, int y, 50extern void gui_scrollbar_draw(struct screen * screen, int x, int y,
44 int width, int height, int items, 51 int width, int height, int items,
45 int min_shown, int max_shown, 52 int min_shown, int max_shown,
46 enum orientation orientation); 53 unsigned flags);
47extern void gui_bitmap_scrollbar_draw(struct screen * screen, struct bitmap bm, int x, int y, 54extern void gui_bitmap_scrollbar_draw(struct screen * screen, struct bitmap bm, int x, int y,
48 int width, int height, int items, 55 int width, int height, int items,
49 int min_shown, int max_shown, 56 int min_shown, int max_shown,
50 enum orientation orientation); 57 unsigned flags);
51#endif /* HAVE_LCD_BITMAP */ 58#endif /* HAVE_LCD_BITMAP */
52#endif /* _GUI_SCROLLBAR_H_ */ 59#endif /* _GUI_SCROLLBAR_H_ */