diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-12-31 11:55:30 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-12-31 11:55:30 -0500 |
commit | 87c29025def783379b433b944a498ecd582a8af1 (patch) | |
tree | 7b2ba9c97454da69bac58b05112f727ad8cc6990 /gtk2_ardour/control_point.h | |
parent | e7059e5a16f43bc6f267c009c9144693905f5cae (diff) |
just use show() and hide() to manage control point visibility in automation lines
No need for the wierd old set_visible()/property_draw() stuff that was a hangover from gnomecanvas.
Diffstat (limited to 'gtk2_ardour/control_point.h')
-rw-r--r-- | gtk2_ardour/control_point.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gtk2_ardour/control_point.h b/gtk2_ardour/control_point.h index 1a7a1f22b8..ce4c30be96 100644 --- a/gtk2_ardour/control_point.h +++ b/gtk2_ardour/control_point.h @@ -60,15 +60,14 @@ class ControlPoint : public Selectable void hide (); void show (); - void set_color (); + bool visible () const; double size () const { return _size; } void set_size (double); - void set_visible (bool); - bool visible () const; + void set_color (); bool can_slide() const { return _can_slide; } void set_can_slide(bool yn) { _can_slide = yn; } |