+
+void
+Push2::button_new ()
+{
+ access_action ("Editor/start-range-from-playhead");
+
+ id_button_map[New]->set_color (LED::White);
+ id_button_map[New]->set_state (LED::NoTransition);
+ write (id_button_map[New]->state_msg());
+
+ /* blink the button for the other half of this operation */
+
+ id_button_map[FixedLength]->set_color (LED::White);
+ id_button_map[FixedLength]->set_state (LED::Blinking4th);
+ write (id_button_map[FixedLength]->state_msg());
+}
+
+
+void
+Push2::button_fixed_length ()
+{
+ access_action ("Editor/finish-range-from-playhead");
+
+ /* turn off both buttons for this operation */
+
+ id_button_map[New]->set_color (LED::Black);
+ id_button_map[New]->set_state (LED::NoTransition);
+ write (id_button_map[New]->state_msg());
+ id_button_map[FixedLength]->set_color (LED::Black);
+ id_button_map[FixedLength]->set_state (LED::NoTransition);
+ write (id_button_map[FixedLength]->state_msg());
+}