-void
-Pannable::set_automation_style (AutoStyle style)
-{
- if (style != _auto_style) {
- _auto_style = style;
-
- const Controls& c (controls());
-
- for (Controls::const_iterator ci = c.begin(); ci != c.end(); ++ci) {
- boost::shared_ptr<AutomationControl> ac = boost::dynamic_pointer_cast<AutomationControl>(ci->second);
- if (ac) {
- ac->alist()->set_automation_style (style);
- }
- }
-
- session().set_dirty ();
- automation_style_changed ();
- }
-}
-