Mercurial > hg > tony
diff src/Analyser.h @ 144:c21b87a62ce6
Quick sketch version of two separate sets of toggle buttons (show and play)
author | Chris Cannam |
---|---|
date | Fri, 10 Jan 2014 15:46:39 +0000 |
parents | e7f2da26c9ac |
children | cdc9d5f7978c |
line wrap: on
line diff
--- a/src/Analyser.h Fri Jan 10 15:27:11 2014 +0000 +++ b/src/Analyser.h Fri Jan 10 15:46:39 2014 +0000 @@ -50,9 +50,11 @@ bool isVisible(Component c) const; void setVisible(Component c, bool v); + void toggleVisible(Component c) { setVisible(c, !isVisible(c)); } bool isAudible(Component c) const; void setAudible(Component c, bool v); + void toggleAudible(Component c) { setAudible(c, !isAudible(c)); } void cycleStatus(Component c) { if (isVisible(c)) {