3 This file is part of libmspgltk
4 Copyright © 2007, 2010-2011 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
8 #ifndef MSP_GLTK_HSLIDER_H_
9 #define MSP_GLTK_HSLIDER_H_
17 Horizontal slider widget. A special part named "slider" will be positioned at
18 the current value of the widget.
20 class HSlider: public Slider
28 virtual const char *get_class() const { return "hslider"; }
31 virtual void render_special(const Part &) const;
34 virtual void button_press(int, int, unsigned);
35 virtual void button_release(int, int, unsigned);
36 virtual void pointer_motion(int, int);
38 virtual void on_geometry_change();
39 virtual void on_style_change();