undo->update_undo_after(_("add track"), LOAD_ALL);
restart_brender();
- gui->update(1, 1, 0, 0, 1, 0, 0);
+ gui->update(1, NORMAL_DRAW, 0, 0, 1, 0, 0);
gui->activate_timeline();
// gui->get_scrollbars(0);
restart_brender();
- gui->update(1, 1, 0, 0, 1, 0, 0);
+ gui->update(1, NORMAL_DRAW, 0, 0, 1, 0, 0);
gui->activate_timeline();
// gui->get_scrollbars(0);
// gui->canvas->draw();
restart_brender();
- gui->update(1, 1, 0, 0, 1, 0, 0);
+ gui->update(1, NORMAL_DRAW, 0, 0, 1, 0, 0);
gui->activate_timeline();
// gui->get_scrollbars(0);
// gui->canvas->draw();
undo->update_undo_after(_("asset to all"), LOAD_ALL);
restart_brender();
- gui->update(1, 2, 1, 1, 1, 1, 0);
+ gui->update(1, FORCE_REDRAW, 1, 1, 1, 1, 0);
sync_parameters(CHANGE_ALL);
}
}
undo->update_undo_after(_("asset to rate"), LOAD_ALL);
restart_brender();
- gui->update(1, 2, 1, 1, 1, 1, 0);
+ gui->update(1, FORCE_REDRAW, 1, 1, 1, 1, 0);
sync_parameters(CHANGE_ALL);
}
}
restart_brender();
update_plugin_guis();
- gui->update(1, 2, 1, 1, 1, 1, 0);
+ gui->update(1, FORCE_REDRAW, 1, 1, 1, 1, 0);
cwindow->update(1, 0, 0, 0, 1);
cwindow->refresh_frame(CHANGE_EDL);
}
restart_brender();
update_plugin_guis();
if( changed_edl ) {
- gui->update(1, 2, 1, 1, 1, 1, 0);
+ gui->update(1, FORCE_REDRAW, 1, 1, 1, 1, 0);
cwindow->update(1, 0, 0, 0, 1);
cwindow->refresh_frame(CHANGE_EDL);
}
undo->update_undo_after(_("concatenate tracks"), LOAD_EDITS);
restart_brender();
- gui->update(1, 1, 0, 0, 1, 0, 0);
+ gui->update(1, NORMAL_DRAW, 0, 0, 1, 0, 0);
cwindow->refresh_frame(CHANGE_EDL);
}
undo->update_undo_after(_("blade"), LOAD_EDITS | LOAD_TIMEBAR);
restart_brender();
update_plugin_guis();
- gui->update(1, 2, 1, 1, 1, 1, 0);
+ gui->update(1, FORCE_REDRAW, 1, 1, 1, 1, 0);
cwindow->update(1, 0, 0, 0, 1);
awindow->gui->async_update_assets();
cwindow->refresh_frame(CHANGE_EDL);
}
restart_brender();
update_plugin_guis();
- gui->update(1, 2, 1, 1, 1, 1, 0);
+ gui->update(1, FORCE_REDRAW, 1, 1, 1, 1, 0);
cwindow->update(1, 0, 0, 0, 1);
awindow->gui->async_update_assets();
cwindow->refresh_frame(CHANGE_EDL);
restart_brender();
update_plugin_states();
- gui->update(1, 1, 1, 0, 1, 0, 0);
+ gui->update(1, NORMAL_DRAW, 1, 0, 1, 0, 0);
cwindow->refresh_frame(CHANGE_EDL);
}
restart_brender();
update_plugin_states();
- gui->update(1, 1, 1, 0, 1, 0, 0);
+ gui->update(1, NORMAL_DRAW, 1, 0, 1, 0, 0);
cwindow->refresh_frame(CHANGE_EDL);
save_backup();
}
undo->update_undo_after(_("insert effect"), LOAD_EDITS | LOAD_PATCHES);
restart_brender();
sync_parameters(CHANGE_EDL);
- gui->update(1, 1, 0, 0, 1, 0, 0);
+ gui->update(1, NORMAL_DRAW, 0, 0, 1, 0, 0);
}
void MWindow::insert_effect(char *title,
restart_brender();
sync_parameters(CHANGE_EDL);
update_plugin_guis();
- gui->update(1, 2, 1, 1, 1, 1, 0);
+ gui->update(1, FORCE_REDRAW, 1, 1, 1, 1, 0);
// label list can be modified
awindow->gui->async_update_assets();
cwindow->update(1, 0, 0, 0, 1);
cwindow->refresh_frame(CHANGE_EDL);
update_plugin_guis();
- gui->update(1, 1, // 1 for incremental drawing. 2 for full refresh
- 1, 0, 0, 0, 0);
+ gui->update(1, NORMAL_DRAW, 1, 0, 0, 0, 0);
}
void MWindow::move_effect(Plugin *plugin, Track *track, int64_t position)
restart_brender();
cwindow->refresh_frame(CHANGE_EDL);
update_plugin_guis();
- gui->update(1, 1, // 1 for incremental drawing. 2 for full refresh
- 0, 0, 0, 0, 0);
+ gui->update(1, NORMAL_DRAW, 0, 0, 0, 0, 0);
}
void MWindow::move_effect(Plugin *plugin, PluginSet *plugin_set, int64_t position)
restart_brender();
cwindow->refresh_frame(CHANGE_EDL);
update_plugin_guis();
- gui->update(1, 1, // 1 for incremental drawing. 2 for full refresh
- 0, 0, 0, 0, 0);
+ gui->update(1, NORMAL_DRAW, 0, 0, 0, 0, 0);
}
void MWindow::move_plugins_up(PluginSet *plugin_set)
save_backup();
undo->update_undo_after(_("move effect up"), LOAD_ALL);
restart_brender();
- gui->update(1, 1, // 1 for incremental drawing. 2 for full refresh
- 0, 0, 0, 0, 0);
+ gui->update(1, NORMAL_DRAW, 0, 0, 0, 0, 0);
sync_parameters(CHANGE_EDL);
}
save_backup();
undo->update_undo_after(_("move effect down"), LOAD_ALL);
restart_brender();
- gui->update(1, 1, // 1 for incremental drawing. 2 for full refresh
- 0, 0, 0, 0, 0);
+ gui->update(1, NORMAL_DRAW, 0, 0, 0, 0, 0);
sync_parameters(CHANGE_EDL);
}
undo->update_undo_after(_("move track down"), LOAD_ALL);
restart_brender();
- gui->update(1, 1, 0, 0, 1, 0, 0);
+ gui->update(1, NORMAL_DRAW, 0, 0, 1, 0, 0);
sync_parameters(CHANGE_EDL);
save_backup();
}
undo->update_undo_after(_("move tracks down"), LOAD_ALL);
restart_brender();
- gui->update(1, 1, 0, 0, 1, 0, 0);
+ gui->update(1, NORMAL_DRAW, 0, 0, 1, 0, 0);
sync_parameters(CHANGE_EDL);
save_backup();
}
save_backup();
undo->update_undo_after(_("move track up"), LOAD_ALL);
restart_brender();
- gui->update(1, 1, 0, 0, 1, 0, 0);
+ gui->update(1, NORMAL_DRAW, 0, 0, 1, 0, 0);
sync_parameters(CHANGE_EDL);
save_backup();
}
save_backup();
undo->update_undo_after(_("move tracks up"), LOAD_ALL);
restart_brender();
- gui->update(1, 1, 0, 0, 1, 0, 0);
+ gui->update(1, NORMAL_DRAW, 0, 0, 1, 0, 0);
sync_parameters(CHANGE_EDL);
}
restart_brender();
update_plugin_guis();
- gui->update(1, 2, 1, 1, 1, 1, 0);
+ gui->update(1, FORCE_REDRAW, 1, 1, 1, 1, 0);
cwindow->refresh_frame(CHANGE_EDL);
}
}
restart_brender();
update_plugin_guis();
- gui->update(1, 1, 1, 1, 0, 1, 0);
+ gui->update(1, NORMAL_DRAW, 1, 1, 0, 1, 0);
sync_parameters(CHANGE_EDL);
}
undo->update_undo_after(_("paste"), LOAD_EDITS | LOAD_TIMEBAR);
restart_brender();
update_plugin_guis();
- gui->update(1, 2, 1, 1, 0, 1, 0);
+ gui->update(1, FORCE_REDRAW, 1, 1, 0, 1, 0);
awindow->gui->async_update_assets();
sync_parameters(CHANGE_EDL);
}
undo->update_undo_after(_("paste assets"), LOAD_EDITS);
restart_brender();
- gui->update(1, 2, 1, 0, 0, 1, 0);
+ gui->update(1, FORCE_REDRAW, 1, 0, 0, 1, 0);
sync_parameters(CHANGE_EDL);
return result;
}
update_plugin_guis();
restart_brender();
- gui->update(1, 2, 1, 1, 1, 1, 0);
+ gui->update(1, FORCE_REDRAW, 1, 1, 1, 1, 0);
cwindow->update(1, 0, 0, 0, 1);
cwindow->refresh_frame(CHANGE_EDL);
}
undo->update_undo_after(_("detach transition"), LOAD_ALL);
if( is_video ) restart_brender();
- gui->update(0, 1, 0, 0, 0, 0, 0);
+ gui->update(0, NORMAL_DRAW, 0, 0, 0, 0, 0);
sync_parameters(CHANGE_EDL);
}
undo->update_undo_after(_("detach transitions"), LOAD_EDITS);
sync_parameters(CHANGE_EDL);
- gui->update(0, 1, 0, 0, 0, 0, 0);
+ gui->update(0, NORMAL_DRAW, 0, 0, 0, 0, 0);
gui->unlock_window();
}
undo->update_undo_after(_("attach transitions"), LOAD_EDITS);
sync_parameters(CHANGE_EDL);
- gui->update(0, 1, 0, 0, 0, 0, 0);
+ gui->update(0, NORMAL_DRAW, 0, 0, 0, 0, 0);
gui->unlock_window();
}
save_backup();
undo->update_undo_after(_("transition"), LOAD_EDITS);
restart_brender();
- gui->update(0, 1, 0, 0, 0, 0, 0);
+ gui->update(0, NORMAL_DRAW, 0, 0, 0, 0, 0);
sync_parameters(CHANGE_ALL);
}
undo->update_undo_after(_("transition"), LOAD_EDITS);
sync_parameters(CHANGE_EDL);
- gui->update(0, 1, 0, 0, 0, 0, 0);
+ gui->update(0, NORMAL_DRAW, 0, 0, 0, 0, 0);
}
void MWindow::paste_video_transition()
sync_parameters(CHANGE_EDL);
restart_brender();
- gui->update(0, 1, 0, 0, 0, 0, 0);
+ gui->update(0, NORMAL_DRAW, 0, 0, 0, 0, 0);
}
void MWindow::shuffle_edits()
sync_parameters(CHANGE_EDL);
restart_brender();
- gui->update(0, 1, 1, 0, 0, 0, 0);
+ gui->update(0, NORMAL_DRAW, 1, 0, 0, 0, 0);
gui->unlock_window();
}
sync_parameters(CHANGE_EDL);
restart_brender();
- gui->update(0, 1, 1, 0, 0, 0, 0);
+ gui->update(0, NORMAL_DRAW, 1, 0, 0, 0, 0);
gui->unlock_window();
}
sync_parameters(CHANGE_EDL);
restart_brender();
- gui->update(0, 1, 1, 0, 0, 0, 0);
+ gui->update(0, NORMAL_DRAW, 1, 0, 0, 0, 0);
gui->unlock_window();
}
sync_parameters(CHANGE_EDL);
restart_brender();
- gui->update(0, 1, 1, 0, 0, 0, 0);
+ gui->update(0, NORMAL_DRAW, 1, 0, 0, 0, 0);
gui->unlock_window();
}
edl->session->default_transition_length = length;
sync_parameters(CHANGE_PARAMS);
- gui->update(0, 1, 0, 0, 0, 0, 0);
+ gui->update(0, NORMAL_DRAW, 0, 0, 0, 0, 0);
gui->unlock_window();
}
edl->session->default_transition_length = length;
sync_parameters(CHANGE_PARAMS);
restart_brender();
- gui->update(0, 1, 0, 0, 0, 0, 0);
+ gui->update(0, NORMAL_DRAW, 0, 0, 0, 0, 0);
gui->unlock_window();
}
update_plugin_states();
update_plugin_guis();
- gui->update(1, 2, 1, 1, 1, 1, 1);
+ gui->update(1, FORCE_REDRAW, 1, 1, 1, 1, 1);
gui->update_proxy_toggle();
gui->unlock_window();
cwindow->update(1, 1, 1, 1, 1);
undo->update_undo_after(_("splice"), LOAD_EDITS | LOAD_TIMEBAR);
update_plugin_guis();
restart_brender();
- gui->update(1, 1, 1, 1, 0, 1, 0);
+ gui->update(1, NORMAL_DRAW, 1, 1, 0, 1, 0);
sync_parameters(CHANGE_EDL);
}
save_backup();
undo->update_undo_after(_("trim selection"), LOAD_EDITS | LOAD_TIMEBAR);
update_plugin_guis();
- gui->update(1, 2, 1, 1, 1, 1, 0);
+ gui->update(1, FORCE_REDRAW, 1, 1, 1, 1, 0);
cwindow->update(1, 0, 0, 0, 1);
awindow->gui->async_update_assets();
restart_brender();
update_plugin_states();
update_plugin_guis();
- gui->update(1, 2, 1, 1, 1, 1, 1);
+ gui->update(1, FORCE_REDRAW, 1, 1, 1, 1, 1);
gui->update_proxy_toggle();
gui->unlock_window();
cwindow->update(1, 1, 1, 1, 1);
pattern == MWindow::AUDIO_1_TO_1 ? _("map 1:1") : _("map 5.1:2"),
LOAD_AUTOMATION);
sync_parameters(CHANGE_PARAMS);
- gui->update(0, 1, 0, 0, 1, 0, 0);
+ gui->update(0, NORMAL_DRAW, 0, 0, 1, 0, 0);
}
void MWindow::remap_audio(int pattern)
restart_brender();
update_plugin_guis();
- gui->update(1, 2, 1, 1, 1, 1, 0);
+ gui->update(1, FORCE_REDRAW, 1, 1, 1, 1, 0);
cwindow->update(1, 0, 0, 0, 1);
cwindow->refresh_frame(CHANGE_EDL);
#endif