mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 16:46:35 +01:00
Report when tabbable attachments change, and expose the state
This commit is contained in:
parent
3ac035c85f
commit
577d7230cd
2 changed files with 10 additions and 0 deletions
|
|
@ -539,6 +539,8 @@ Tabbable::showhide_att_right (bool yn)
|
||||||
} else {
|
} else {
|
||||||
content_right_vbox.hide ();
|
content_right_vbox.hide ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
StateChange (*this);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
@ -563,6 +565,8 @@ Tabbable::showhide_att_left (bool yn)
|
||||||
} else {
|
} else {
|
||||||
content_att_left.hide ();
|
content_att_left.hide ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
StateChange (*this);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
@ -587,6 +591,8 @@ Tabbable::showhide_att_bottom (bool yn)
|
||||||
} else {
|
} else {
|
||||||
content_att_bottom.hide ();
|
content_att_bottom.hide ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
StateChange (*this);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
||||||
|
|
@ -102,6 +102,10 @@ public:
|
||||||
void att_right_button_toggled();
|
void att_right_button_toggled();
|
||||||
void att_bottom_button_toggled();
|
void att_bottom_button_toggled();
|
||||||
|
|
||||||
|
bool att_left_visible () const { return content_att_left.get_visible (); }
|
||||||
|
bool att_right_visible () const { return content_att_right.get_visible (); }
|
||||||
|
bool att_bottom_visible () const { return content_att_bottom.get_visible (); }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual void showhide_att_left (bool yn);
|
virtual void showhide_att_left (bool yn);
|
||||||
virtual void showhide_att_right (bool yn);
|
virtual void showhide_att_right (bool yn);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue