summaryrefslogtreecommitdiff
path: root/gtk2_ardour/automation_controller.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-07-04 00:18:45 +0200
committerRobin Gareus <robin@gareus.org>2016-07-04 00:20:11 +0200
commit1f2d1b586e99f2777110298a4ec0e59f411e70a5 (patch)
tree3793d746f61ba80070f4e353dda3742fed8e7299 /gtk2_ardour/automation_controller.h
parent1343f3370601637435ee2e98d7d2e6641ff53ef0 (diff)
allow AutomatoinContoller to render as Knob instead of Slider.
Diffstat (limited to 'gtk2_ardour/automation_controller.h')
-rw-r--r--gtk2_ardour/automation_controller.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gtk2_ardour/automation_controller.h b/gtk2_ardour/automation_controller.h
index d11ade71ef..4d5826023e 100644
--- a/gtk2_ardour/automation_controller.h
+++ b/gtk2_ardour/automation_controller.h
@@ -61,7 +61,8 @@ public:
boost::shared_ptr<ARDOUR::Automatable> parent,
const Evoral::Parameter& param,
const ARDOUR::ParameterDescriptor& desc,
- boost::shared_ptr<ARDOUR::AutomationControl> ac);
+ boost::shared_ptr<ARDOUR::AutomationControl> ac,
+ bool use_knob = false);
~AutomationController();
@@ -80,7 +81,8 @@ public:
private:
AutomationController (boost::shared_ptr<ARDOUR::Automatable> printer,
boost::shared_ptr<ARDOUR::AutomationControl> ac,
- Gtk::Adjustment* adj);
+ Gtk::Adjustment* adj,
+ bool use_knob);
void start_touch();
void end_touch();