]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/hslider.h
Mark List::Item as receiving navigation input
[libs/gltk.git] / source / hslider.h
index cadae5941d09c1974c1c701396d85c28813f7ff2..3784a7db7ff57b02f162cd5646dcf0fb58aa2ffe 100644 (file)
@@ -13,7 +13,7 @@ the current value of the widget.
 class HSlider: public Slider
 {
 private:
-       unsigned slider_size;
+       unsigned total_margin;
 
 public:
        HSlider();
@@ -21,7 +21,7 @@ public:
        virtual const char *get_class() const { return "hslider"; }
 
 private:
-       virtual void autosize_special(const Part &, Geometry &);
+       virtual void autosize_special(const Part &, Geometry &) const;
        virtual void rebuild_special(const Part &);
 
 public:
@@ -29,7 +29,7 @@ public:
        virtual void button_release(int, int, unsigned);
        virtual void pointer_motion(int, int);
 private:
-       virtual void on_geometry_change();
+       virtual void on_size_change();
        virtual void on_style_change();
 };