예제 #1
0
BC_Window* PluginDialogThread::new_gui()
{
	mwindow->gui->lock_window("PluginDialogThread::new_gui");
	int x = mwindow->gui->get_abs_cursor_x(0) - 
		mwindow->session->plugindialog_w / 2;
	int y = mwindow->gui->get_abs_cursor_y(0) - 
		mwindow->session->plugindialog_h / 2;
	plugin_type = 0;
	PluginDialog *window = new PluginDialog(mwindow, 
		this, 
		window_title, 
		x, 
		y);
	window->create_objects();
	mwindow->gui->unlock_window();
	return window;
}
예제 #2
0
void PluginDialogThread::handle_done_event(int result)
{
	PluginDialog *window = (PluginDialog*)BC_DialogThread::get_gui();
	if(window->selected_available >= 0)
	{
		window->attach_new(window->selected_available);
	}
	else
	if(window->selected_shared >= 0)
	{
		window->attach_shared(window->selected_shared);
	}
	else
	if(window->selected_modules >= 0)
	{
		window->attach_module(window->selected_modules);
	}
	mwindow->edl->session->single_standalone = single_standalone;
}
예제 #3
0
void DialogsProvider::pluginDialog()
{
    PluginDialog *diag = new PluginDialog( p_intf );
    diag->show();
}
void PluginConfigurationUIComponent::pluginDialog() {
    PluginDialog* dialog = new PluginDialog(MainWindow::instance());
    dialog->show();
}