]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/vslider.h
Implement mouse wheel scrolling in List
[libs/gltk.git] / source / vslider.h
index e4055994f8c0068b72f18e999b1a82dd69a8ea29..6086d3fcf3c6db791fa3ef6f4fa462b7accbdae5 100644 (file)
@@ -9,17 +9,16 @@ namespace GLtk {
 class VSlider: public Slider
 {
 private:
-       unsigned slider_size;
+       unsigned total_margin;
 
 public:
        VSlider();
 
        virtual const char *get_class() const { return "vslider"; }
 
-       virtual void autosize();
-
 private:
-       virtual void render_special(const Part &) const;
+       virtual void autosize_special(const Part &, Geometry &) const;
+       virtual void rebuild_special(const Part &);
 
 public:
        virtual void button_press(int, int, unsigned);