aboutsummaryrefslogtreecommitdiff
path: root/gui/widget.h
diff options
context:
space:
mode:
authorTorbjörn Andersson2005-05-18 15:58:39 +0000
committerTorbjörn Andersson2005-05-18 15:58:39 +0000
commit35dda2b636825c4273a0d13cd1b65ae49fdb65ca (patch)
treece9aaeefe7b6b3c2cbc2ec1e7347df7f7be5e5cf /gui/widget.h
parent51f8aa50b15ac99903f5e4ad3c5422d5473bef85 (diff)
downloadscummvm-rg350-35dda2b636825c4273a0d13cd1b65ae49fdb65ca.tar.gz
scummvm-rg350-35dda2b636825c4273a0d13cd1b65ae49fdb65ca.tar.bz2
scummvm-rg350-35dda2b636825c4273a0d13cd1b65ae49fdb65ca.zip
Added big slider widget. There is nothing in the widget itself that's
dependent on size, so the two different sizes are handled through a new addSlider() function. Figuring out why the big widget won't let you set volume to 0 is left as an exercise for the reader. svn-id: r18170
Diffstat (limited to 'gui/widget.h')
-rw-r--r--gui/widget.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/gui/widget.h b/gui/widget.h
index eaf7e33b9d..c1c9459a21 100644
--- a/gui/widget.h
+++ b/gui/widget.h
@@ -74,9 +74,13 @@ enum WidgetSize {
enum {
kButtonWidth = 72,
kButtonHeight = 16,
-
+ kSliderWidth = 85,
+ kSliderHeight = 12,
+
kBigButtonWidth = 108,
- kBigButtonHeight = 24
+ kBigButtonHeight = 24,
+ kBigSliderWidth = 128,
+ kBigSliderHeight = 18
};