]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/vslider.h
Make autosize_special const and add a const autosize overload
[libs/gltk.git] / source / vslider.h
index 5c5e61f86959bdbd3fb0ef6c65479785876c0671..ee12689ff0afb8b152e89ac10cae237b3c6a1b7f 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_VSLIDER_H_
 #define MSP_GLTK_VSLIDER_H_
 
@@ -24,7 +17,8 @@ public:
        virtual const char *get_class() const { return "vslider"; }
 
 private:
-       virtual void render_special(const Part &) const;
+       virtual void autosize_special(const Part &, Geometry &) const;
+       virtual void rebuild_special(const Part &);
 
 public:
        virtual void button_press(int, int, unsigned);