summaryrefslogtreecommitdiff
path: root/plugingui/slider.h
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2017-04-01 19:01:25 +0200
committerAndré Nusser <andre.nusser@googlemail.com>2017-04-01 19:01:25 +0200
commit1f41de14a04240dfd993b030306ac251d962a843 (patch)
tree08d5ef8b74793909a15cb8f3c0b7732819a41f8a /plugingui/slider.h
parent4739f0bed6e6332fcf2c6ed2b04c4ae161c41060 (diff)
Fix a lot of style issues in the code for the new GUI.
Diffstat (limited to 'plugingui/slider.h')
-rw-r--r--plugingui/slider.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/plugingui/slider.h b/plugingui/slider.h
index 98d10f1..f11efba 100644
--- a/plugingui/slider.h
+++ b/plugingui/slider.h
@@ -28,9 +28,11 @@
#include "widget.h"
-namespace GUI {
+namespace GUI
+{
-class Slider : public Widget {
+class Slider : public Widget
+{
public:
Slider(Widget* parent);
virtual ~Slider() = default;
@@ -50,7 +52,8 @@ protected:
virtual void mouseMoveEvent(MouseMoveEvent* mouseMoveEvent) override;
private:
- enum class State {
+ enum class State
+ {
up,
down
};