]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/hslider.h
Move some more common slider code to the base class
[libs/gltk.git] / source / hslider.h
index 9545c2253f00e4434afb35224239dbc42d46ec99..f0cf8d3f74c4bcde906af010dda08cc237c318b1 100644 (file)
@@ -12,18 +12,14 @@ the current value of the widget.
 */
 class HSlider: public Slider
 {
-private:
-       unsigned slider_size;
-
 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);