X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fhslider.h;h=59222ebc40ac1e3c55796f118902765e125bdd64;hb=8dcc2c95d8d51d7a27b423343eeaac15ca3c6dec;hp=774c7369d418841d226afa833e3a9348ede6050a;hpb=707b59d45ae50b69c94918f8f74313283b304597;p=libs%2Fgltk.git diff --git a/source/hslider.h b/source/hslider.h index 774c736..59222eb 100644 --- a/source/hslider.h +++ b/source/hslider.h @@ -1,39 +1,2 @@ -#ifndef MSP_GLTK_HSLIDER_H_ -#define MSP_GLTK_HSLIDER_H_ - +// Deprecated, use slider.h instead #include "slider.h" - -namespace Msp { -namespace GLtk { - -/** -Horizontal slider widget. A special part named "slider" will be positioned at -the current value of the widget. -*/ -class HSlider: public Slider -{ -private: - unsigned slider_size; - -public: - HSlider(); - - virtual const char *get_class() const { return "hslider"; } - -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 void on_geometry_change(); - virtual void on_style_change(); -}; - -} // namespace GLtk -} // namespace Msp - -#endif