X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fhslider.h;h=59222ebc40ac1e3c55796f118902765e125bdd64;hb=b391f4b774d17c53dfd9062fc7c7a6b14f72f926;hp=25ad0b19e597061f856496ade7e8d4085bfce92d;hpb=c062ca892fc6e10f74a76991b5d4b4349c046b5f;p=libs%2Fgltk.git diff --git a/source/hslider.h b/source/hslider.h index 25ad0b1..59222eb 100644 --- a/source/hslider.h +++ b/source/hslider.h @@ -1,29 +1,2 @@ -#ifndef MSP_GLTK_HSLIDER_H_ -#define MSP_GLTK_HSLIDER_H_ - +// Deprecated, use slider.h instead #include "slider.h" - -namespace Msp { -namespace GLtk { - -class HSlider: public Slider -{ -public: - HSlider(const Resources &); - void button_press(int, int, unsigned); - void button_release(int, int, unsigned); - void pointer_motion(int, int); -private: - bool dragging; - int drag_start_x; - double drag_start_value; - - const char *get_class() const { return "hslider"; } - void render_part(const Part &) const; - unsigned get_slider_width() const; -}; - -} // namespace GLtk -} // namespace Msp - -#endif