]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/slider.h
Ignore hidden widgets when solving a layout
[libs/gltk.git] / source / slider.h
index 6c95526f13f2699f14c89049fe5f252510383a2e..e2d810994c51387dab238b0d38fc78d9fb59a6f0 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of libmspgltk
-Copyright © 2007  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
 #ifndef MSP_GLTK_SLIDER_H_
 #define MSP_GLTK_SLIDER_H_
 
@@ -29,6 +22,8 @@ public:
                Slider &get_object() const;
        };
 
+       sigc::signal<void, double> signal_value_changed;
+
 protected:
        double min, max;
        double value;
@@ -39,16 +34,14 @@ protected:
        double drag_start_value;
        unsigned drag_area_size;
 
-public:
-       sigc::signal<void, double> signal_value_changed;
+       Slider();
 
-protected:
-       Slider(const Resources &);
 public:
        void set_value(double);
        void set_range(double, double);
        void set_step(double);
        double get_value() const { return value; }
+
 protected:
        void start_drag(int);
        void drag(int);