]> git.tdb.fi Git - libs/gltk.git/blob - source/vslider.h
987d83a1726d98440293af552b580ad7c6b56860
[libs/gltk.git] / source / vslider.h
1 #ifndef MSP_GLTK_VSLIDER_H_
2 #define MSP_GLTK_VSLIDER_H_
3
4 #include "slider.h"
5
6 namespace Msp {
7 namespace GLtk {
8
9 class VSlider: public Slider
10 {
11 public:
12         VSlider();
13
14         virtual const char *get_class() const { return "vslider"; }
15
16 private:
17         virtual void autosize_special(const Part &, Geometry &) const;
18         virtual void rebuild_special(const Part &);
19
20 public:
21         virtual void button_press(int, int, unsigned);
22         virtual void button_release(int, int, unsigned);
23         virtual void pointer_motion(int, int);
24 private:
25         virtual void on_geometry_change();
26         virtual void on_style_change();
27 };
28
29 } // namespace GLtk
30 } // namespace Msp
31
32 #endif