diff options
author | Teruaki Kawashima <teru@rockbox.org> | 2010-10-12 12:17:39 +0000 |
---|---|---|
committer | Teruaki Kawashima <teru@rockbox.org> | 2010-10-12 12:17:39 +0000 |
commit | 3eb5826c8a289d2ff2af246388e17d4aa6483da4 (patch) | |
tree | 343690ac844a3d96cec667e1c84793076affa067 /apps/gui/skin_engine/wps_internals.h | |
parent | 69e379a47b6c7830fc17e912eecde6eb5100037f (diff) | |
download | rockbox-3eb5826c8a289d2ff2af246388e17d4aa6483da4.tar.gz rockbox-3eb5826c8a289d2ff2af246388e17d4aa6483da4.zip |
improvement for bar tag with slider.
-fix bug the slider is drawn outside of the bounds (FS#11658).
-offset the slider position so that the center of the slider indicates current position.
-add nobar option. if this option is set, the bar isn't drawn at all.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28248 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/skin_engine/wps_internals.h')
-rw-r--r-- | apps/gui/skin_engine/wps_internals.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/gui/skin_engine/wps_internals.h b/apps/gui/skin_engine/wps_internals.h index 7bd74b5636..16020a3590 100644 --- a/apps/gui/skin_engine/wps_internals.h +++ b/apps/gui/skin_engine/wps_internals.h | |||
@@ -109,6 +109,7 @@ struct progressbar { | |||
109 | 109 | ||
110 | bool invert_fill_direction; | 110 | bool invert_fill_direction; |
111 | bool nofill; | 111 | bool nofill; |
112 | bool nobar; | ||
112 | struct gui_img *slider; | 113 | struct gui_img *slider; |
113 | bool horizontal; | 114 | bool horizontal; |
114 | }; | 115 | }; |