]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/hslider.h
Rework how widget ownership works in Container
[libs/gltk.git] / source / hslider.h
diff --git a/source/hslider.h b/source/hslider.h
deleted file mode 100644 (file)
index 25ad0b1..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-#ifndef MSP_GLTK_HSLIDER_H_
-#define MSP_GLTK_HSLIDER_H_
-
-#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