diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-04-20 16:38:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-04-20 16:38:52 +0300 |
commit | 73fac88b0263962c90d2d649938e6a4a5b11a246 (patch) | |
tree | 2f058980977cf73a9b8fb7ccbdb727a6bfd5bb16 /src/guichan/widgets/slider.cpp | |
parent | 747dc30f256606e28fd932a9626da7c328114036 (diff) | |
download | mv-73fac88b0263962c90d2d649938e6a4a5b11a246.tar.gz mv-73fac88b0263962c90d2d649938e6a4a5b11a246.tar.bz2 mv-73fac88b0263962c90d2d649938e6a4a5b11a246.tar.xz mv-73fac88b0263962c90d2d649938e6a4a5b11a246.zip |
fix style in guichan directory.
Diffstat (limited to 'src/guichan/widgets/slider.cpp')
-rw-r--r-- | src/guichan/widgets/slider.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/guichan/widgets/slider.cpp b/src/guichan/widgets/slider.cpp index 7611fdfd7..322f2ef76 100644 --- a/src/guichan/widgets/slider.cpp +++ b/src/guichan/widgets/slider.cpp @@ -61,15 +61,15 @@ namespace gcn gcn::MouseListener(), gcn::KeyListener(), mDragged(false), + mValue(0), + mStepLength(scaleEnd / 10), + mMarkerLength(10), mScaleStart(0), - mScaleEnd(scaleEnd) + mScaleEnd(scaleEnd), + mOrientation(HORIZONTAL) { setFocusable(true); setFrameSize(1); - setOrientation(HORIZONTAL); - setValue(0); - setStepLength(scaleEnd / 10); - setMarkerLength(10); addMouseListener(this); addKeyListener(this); @@ -80,15 +80,15 @@ namespace gcn gcn::MouseListener(), gcn::KeyListener(), mDragged(false), + mValue(scaleStart), + mStepLength((scaleEnd - scaleStart) / 10), + mMarkerLength(10), mScaleStart(scaleStart), - mScaleEnd(scaleEnd) + mScaleEnd(scaleEnd), + mOrientation(HORIZONTAL) { setFocusable(true); setFrameSize(1); - setOrientation(HORIZONTAL); - setValue(scaleStart); - setStepLength((scaleEnd - scaleStart) / 10); - setMarkerLength(10); addMouseListener(this); addKeyListener(this); |