mwindow->edl->local_session->set_selectionstart(new_position);
mwindow->edl->local_session->set_selectionend(new_position);
mwindow->gui->lock_window();
- mwindow->gui->update(1, 1, 1, 1, 1, 1, 0);
+ mwindow->gui->update(1, NORMAL_DRAW, 1, 1, 1, 1, 0);
mwindow->gui->unlock_window();
}
return 0;
mwindow->undo->update_undo_after(_("delete keyframe"), LOAD_ALL);
mwindow->save_backup();
- mwindow->gui->update(0, 1, // 1 for incremental drawing. 2 for full refresh
+ mwindow->gui->update(0, NORMAL_DRAW,
0, 0, 0, 0, 0);
mwindow->update_plugin_guis();
mwindow->restart_brender();
mwindow->undo->update_undo_after(_("change keyframe curve mode"), LOAD_ALL);
mwindow->save_backup();
- mwindow->gui->update(0, 1, 0,0,0,0,0); // incremental redraw for canvas
+ mwindow->gui->update(0, NORMAL_DRAW, 0,0,0,0,0); // incremental redraw for canvas
mwindow->cwindow->update(0,0, 1, 0,0); // redraw tool window in compositor
mwindow->update_plugin_guis();
mwindow->restart_brender();
add_subwindow(key_speed_ok = new KeySpeedOK(this, x, y, lok_images));
activate();
show_window();
-}
-
-int KeySpeedPatch::cursor_enter_event()
-{
- if( is_event_win() )
- mwindow->speed_before();
- return 1;
-}
-
-int KeySpeedPatch::cursor_leave_event()
-{
- if( is_event_win() ) {
- mwindow->speed_after(1);
- mwindow->resync_guis();
- }
- return 1;
+ mwindow->speed_before();
}
void KeySpeedPatch::update(float v)
current->set_value(v);
if( track->gang && track->record ) {
TrackCanvas *track_canvas = patch->patchbay->pane->canvas;
- track_canvas->fill_ganged_autos(1, change, track, current);
+ track_canvas->fill_ganged_autos(-1, change, track, current);
track_canvas->update_ganged_autos(0, track, current);
track_canvas->clear_ganged_autos();
}