]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/hslider.h
Refactor widget autosizing
[libs/gltk.git] / source / hslider.h
index 493f00cf97ab50d396211b76a1166e9d211b8c29..cadae5941d09c1974c1c701396d85c28813f7ff2 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of libmspgltk
-Copyright © 2007, 2010-2011  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
 #ifndef MSP_GLTK_HSLIDER_H_
 #define MSP_GLTK_HSLIDER_H_
 
@@ -28,7 +21,8 @@ public:
        virtual const char *get_class() const { return "hslider"; }
 
 private:
-       virtual void render_special(const Part &) const;
+       virtual void autosize_special(const Part &, Geometry &);
+       virtual void rebuild_special(const Part &);
 
 public:
        virtual void button_press(int, int, unsigned);