summaryrefslogtreecommitdiff
path: root/apps/gui/scrollbar.h
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2006-10-13 04:16:49 +0000
committerMichael Sevakis <jethead71@rockbox.org>2006-10-13 04:16:49 +0000
commit661c3406a928bad14102a09219774884f9e1db91 (patch)
treeb232f67fe1000fc82c03d896fc949ef4d6f5d502 /apps/gui/scrollbar.h
parent65ef2dbb9417953179317b2f9254f67254da673c (diff)
downloadrockbox-661c3406a928bad14102a09219774884f9e1db91.tar.gz
rockbox-661c3406a928bad14102a09219774884f9e1db91.zip
Added inner fill option to normal scrollbar and foreground only option. Added a left-pointing cursor for using pointer. Updated color picker and now sliders look very good on color, grayscale and mono screens when using bar selector. Some misc. changes for appearance.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11210 a1c6a512-1295-4272-9138-f99709370657
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_ */