X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fvslider.h;h=ee12689ff0afb8b152e89ac10cae237b3c6a1b7f;hb=707b59d45ae50b69c94918f8f74313283b304597;hp=2d2ac58c890ef5cd64fd72823f3bddd282ee2c44;hpb=91997dd3189b93a67179822ec2fed5f2a7bddb74;p=libs%2Fgltk.git diff --git a/source/vslider.h b/source/vslider.h index 2d2ac58..ee12689 100644 --- a/source/vslider.h +++ b/source/vslider.h @@ -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_ @@ -20,13 +13,18 @@ private: public: VSlider(); + + virtual const char *get_class() const { return "vslider"; } + +private: + virtual void autosize_special(const Part &, Geometry &) const; + 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(); };