]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/vslider.h
Add getter for Panel::layout
[libs/gltk.git] / source / vslider.h
index 38238791aca7fd2705d45f46612916df4d1c2784..a994aac88f53a66825f43ff1b478c255916eca50 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_VSLIDER_H_
 #define MSP_GLTK_VSLIDER_H_
 
@@ -19,14 +12,19 @@ private:
        unsigned slider_size;
 
 public:
-       VSlider(const Resources &);
+       VSlider();
+
+       virtual const char *get_class() const { return "vslider"; }
+
+private:
+       virtual void autosize_special(const Part &, Geometry &);
+       virtual void rebuild_special(const Part &);
+
+public:
        virtual void button_press(int, int, unsigned);
        virtual void button_release(int, int, unsigned);
        virtual void pointer_motion(int, int);
 private:
-       virtual const char *get_class() const { return "vslider"; }
-       virtual void render_special(const Part &) const;
-
        virtual void on_geometry_change();
        virtual void on_style_change();
 };