summaryrefslogtreecommitdiff
path: root/src/gui/widgets/slider.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-04-02 13:20:23 +0300
committerAndrei Karas <akaras@inbox.ru>2014-04-02 13:20:23 +0300
commit39a3fd884d6d585825d9f80a578c6f466a856ec3 (patch)
treeee0184c30b08dd452ae9e4e523a9bb6aa291f33b /src/gui/widgets/slider.h
parent35278ed7f80ed8a02785573d510c36b38998debe (diff)
downloadmv-39a3fd884d6d585825d9f80a578c6f466a856ec3.tar.gz
mv-39a3fd884d6d585825d9f80a578c6f466a856ec3.tar.bz2
mv-39a3fd884d6d585825d9f80a578c6f466a856ec3.tar.xz
mv-39a3fd884d6d585825d9f80a578c6f466a856ec3.zip
Set correct step in sliders.
Diffstat (limited to 'src/gui/widgets/slider.h')
-rw-r--r--src/gui/widgets/slider.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/gui/widgets/slider.h b/src/gui/widgets/slider.h
index 164048020..fe59119f5 100644
--- a/src/gui/widgets/slider.h
+++ b/src/gui/widgets/slider.h
@@ -98,15 +98,17 @@ class Slider final : public Widget,
/**
* Constructor with scale start equal to 0.
*/
- explicit Slider(Widget2 *const widget,
- const double scaleEnd = 1.0);
+ Slider(Widget2 *const widget,
+ const double scaleEnd,
+ const double stepLength);
/**
* Constructor.
*/
Slider(Widget2 *const widget,
const double scaleStart,
- const double scaleEnd);
+ const double scaleEnd,
+ const double stepLength);
A_DELETE_COPY(Slider)