X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fhslider.h;h=59222ebc40ac1e3c55796f118902765e125bdd64;hb=ab9fd8084f8bf8770d8d968354550cb2df99192f;hp=f0cf8d3f74c4bcde906af010dda08cc237c318b1;hpb=08b66dd1b4478fef61525ad2dad1a1fb54eab0f0;p=libs%2Fgltk.git diff --git a/source/hslider.h b/source/hslider.h index f0cf8d3..59222eb 100644 --- a/source/hslider.h +++ b/source/hslider.h @@ -1,36 +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 -{ -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