X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fvslider.h;h=59222ebc40ac1e3c55796f118902765e125bdd64;hb=b391f4b774d17c53dfd9062fc7c7a6b14f72f926;hp=2696051b7f7d47ee28989fd527152179b558135e;hpb=8f6f543758fb1b2b17ae2db519198d420eb9982d;p=libs%2Fgltk.git diff --git a/source/vslider.h b/source/vslider.h index 2696051..59222eb 100644 --- a/source/vslider.h +++ b/source/vslider.h @@ -1,37 +1,2 @@ -/* $Id$ - -This file is part of libmspgltk -Copyright © 2007 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - -#ifndef MSP_GLTK_VSLIDER_H_ -#define MSP_GLTK_VSLIDER_H_ - +// Deprecated, use slider.h instead #include "slider.h" - -namespace Msp { -namespace GLtk { - -class VSlider: public Slider -{ -private: - bool dragging; - int drag_start_y; - double drag_start_value; - -public: - VSlider(const Resources &); - virtual void button_press(int, int, unsigned); - virtual void button_release(int, int, unsigned); - virtual void pointer_motion(int, int); -private: - virtual const char *get_class() const { return "vslider"; } - virtual void render_special(const Part &) const; - unsigned get_slider_height() const; -}; - -} // namespace GLtk -} // namespace Msp - -#endif