Ardour Button Toggle explosion
authorRobin Gareus <robin@gareus.org>
Tue, 30 Jan 2018 17:33:15 +0000 (18:33 +0100)
committerRobin Gareus <robin@gareus.org>
Tue, 30 Jan 2018 18:52:27 +0000 (19:52 +0100)
commitfe63db8697de4e928d738e975325656cb9c15690
tree6fea6478e3c54d8ac37f1f9675ec52828eecb738
parentff36421d8e153d6bcb5e9df0a37718deac526c5a
Ardour Button Toggle explosion

Add option to use ArduorButton as standalone Toggle/Checkbox.
Usually ArdourButton relegates this to Actions or is backed by Config.
This allows to use the Button as standalone Toggle, get_active()
It should maybe be a derived Class, but ArdourButton is already beyond
that..
libs/widgets/ardour_button.cc
libs/widgets/widgets/ardour_button.h