pan_astate_menu->items().push_back (MenuElem (_("Touch"), sigc::bind (
sigc::mem_fun (_panner.get(), &Panner::set_automation_state),
(AutoState) Touch)));
+ pan_astate_menu->items().push_back (MenuElem (_("Latch"), sigc::bind (
+ sigc::mem_fun (_panner.get(), &Panner::set_automation_state),
+ (AutoState) Latch)));
}
twod_panner->set_size_request (-1, rintf(61.f * scale));
twod_panner->set_send_drawing_mode (_send_mode);
- /* and finally, add it to the panner frame */
+ /* and finally, add it to the panner sample */
pan_vbox.pack_start (*twod_panner, false, false);
}
if (!ac) {
return;
}
- ac->start_touch (ac->session().transport_frame());
+ ac->start_touch (ac->session().transport_sample());
}
void
if (!ac) {
return;
}
- ac->stop_touch (false, ac->session().transport_frame());
+ ac->stop_touch (ac->session().transport_sample());
}
bool
}
update_pan_sensitive ();
-
- /* start watching automation so that things move */
-
- pan_watching.disconnect();
-
- if (x) {
- pan_watching = Timers::rapid_connect (sigc::mem_fun (*this, &PannerUI::effective_pan_display));
- }
}
string
case Touch:
sstr = (shrt ? "T" : S_("Touch|T"));
break;
+ case Latch:
+ sstr = (shrt ? "L" : S_("Latch|L"));
+ break;
case Write:
sstr = (shrt ? "W" : S_("Write|W"));
break;