summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ardour_ui.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2017-02-21 15:44:12 +0100
committerPaul Davis <paul@linuxaudiosystems.com>2017-02-21 15:49:31 +0100
commite00d35f1e8f71f26e8341b3a26f91adb47b410df (patch)
treefb924e1b1471c9687be51ea49116caac4a2a9e87 /gtk2_ardour/ardour_ui.h
parentbdf41b0bf5b2c5f43572550f9b538ea652a6a9e7 (diff)
Revert "ARDOUR_UI transport buttons should use ArdourButton::set_related_action()."
This reverts commit 35f35ad662933e30242c825fb5317f181e9a232c. This commit was a mistake: the controllables are needed to allow MIDI binding to transport buttons.
Diffstat (limited to 'gtk2_ardour/ardour_ui.h')
-rw-r--r--gtk2_ardour/ardour_ui.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/gtk2_ardour/ardour_ui.h b/gtk2_ardour/ardour_ui.h
index 900b4bc782..d6b897a42f 100644
--- a/gtk2_ardour/ardour_ui.h
+++ b/gtk2_ardour/ardour_ui.h
@@ -500,8 +500,19 @@ private:
ToggleType type;
};
+ boost::shared_ptr<TransportControllable> roll_controllable;
+ boost::shared_ptr<TransportControllable> stop_controllable;
+ boost::shared_ptr<TransportControllable> goto_start_controllable;
+ boost::shared_ptr<TransportControllable> goto_end_controllable;
+ boost::shared_ptr<TransportControllable> auto_loop_controllable;
+ boost::shared_ptr<TransportControllable> play_selection_controllable;
+ boost::shared_ptr<TransportControllable> rec_controllable;
+
void toggle_follow_edits ();
+ void set_transport_controllable_state (const XMLNode&);
+ XMLNode& get_transport_controllable_state ();
+
ArdourButton roll_button;
ArdourButton stop_button;
ArdourButton goto_start_button;