diff --git a/DPM.C b/DPM.C index d05ee9d..dbf03d0 100644 --- a/DPM.C +++ b/DPM.C @@ -65,7 +65,7 @@ DPM::draw ( void ) if ( ! active_r() ) c = fl_inactive( c ); - if ( _type == FL_HORIZONTAL ) + if ( type() == FL_HORIZONTAL ) draw_box( box(), x() + (p * bw), y(), bw, h(), c ); else draw_box( box(), x(), y() + h() - (p * bh), w(), bh, c ); diff --git a/DPM.H b/DPM.H index 9067381..617d1f7 100644 --- a/DPM.H +++ b/DPM.H @@ -26,7 +26,6 @@ class DPM : public Meter { - int _type; int _divisions; float _dim; @@ -51,9 +50,6 @@ public: bool divisions ( void ) const { return _divisions; } void divisions ( int v ) { _divisions = v; } - int type ( void ) const { return _type; } - void type ( int v ) { _type = v; } - float dim ( void ) const { return _dim; } void dim ( float v ) { _dim = v; redraw(); }