]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/hslider.h
Implement mouse wheel scrolling in List
[libs/gltk.git] / source / hslider.h
index 9545c2253f00e4434afb35224239dbc42d46ec99..0d840fe961525ccab760bb9c9e4210a5ca6636a9 100644 (file)
@@ -13,17 +13,16 @@ the current value of the widget.
 class HSlider: public Slider
 {
 private:
-       unsigned slider_size;
+       unsigned total_margin;
 
 public:
        HSlider();
 
        virtual const char *get_class() const { return "hslider"; }
 
-       virtual void autosize();
-
 private:
-       virtual void rebuild_special(const Part &, CachedPart &);
+       virtual void autosize_special(const Part &, Geometry &) const;
+       virtual void rebuild_special(const Part &);
 
 public:
        virtual void button_press(int, int, unsigned);