plugin->calculate_title(plugin_title, 0);
this->shared_location = plugin->shared_location;
this->plugin_type = plugin->plugin_type;
plugin->calculate_title(plugin_title, 0);
this->shared_location = plugin->shared_location;
this->plugin_type = plugin->plugin_type;
this->shared_location.plugin = -1;
this->shared_location.module = -1;
this->plugin_type = PLUGIN_NONE;
this->shared_location.plugin = -1;
this->shared_location.module = -1;
this->plugin_type = PLUGIN_NONE;
mwindow->session->plugindialog_w,
mwindow->session->plugindialog_h,
mwindow->session->plugindialog_w,
mwindow->session->plugindialog_h,
_("Plugins:")));
int x1 = mwindow->theme->plugindialog_new_x, y1 = mwindow->theme->plugindialog_new_y;
int w1 = mwindow->theme->plugindialog_new_w, h1 = mwindow->theme->plugindialog_new_h;
add_subwindow(search_text = new PluginDialogSearchText(this, x1, y1, w1));
_("Plugins:")));
int x1 = mwindow->theme->plugindialog_new_x, y1 = mwindow->theme->plugindialog_new_y;
int w1 = mwindow->theme->plugindialog_new_w, h1 = mwindow->theme->plugindialog_new_h;
add_subwindow(search_text = new PluginDialogSearchText(this, x1, y1, w1));
- mwindow->theme->plugindialog_new_x + BC_OKButton::calculate_w() + 10,
- mwindow->theme->plugindialog_new_y +
- mwindow->theme->plugindialog_new_h +
+ mwindow->theme->plugindialog_new_x + BC_OKButton::calculate_w() + xs10,
+ mwindow->theme->plugindialog_new_y + mwindow->theme->plugindialog_new_h +
add_subwindow(ok_btn = new BC_OKButton(this));
add_subwindow(can_btn = new BC_CancelButton(this));
int aw = PluginDialogApply::calculate_w(this, _("Apply"));
add_subwindow(ok_btn = new BC_OKButton(this));
add_subwindow(can_btn = new BC_CancelButton(this));
int aw = PluginDialogApply::calculate_w(this, _("Apply"));
mwindow->session->plugindialog_w = w;
mwindow->session->plugindialog_h = h;
mwindow->theme->get_plugindialog_sizes();
mwindow->session->plugindialog_w = w;
mwindow->session->plugindialog_h = h;
mwindow->theme->get_plugindialog_sizes();
int x1 = mwindow->theme->plugindialog_new_x, y1 = mwindow->theme->plugindialog_new_y;
int w1 = mwindow->theme->plugindialog_new_w, h1 = mwindow->theme->plugindialog_new_h;
search_text->reposition_window(x1, y1, w1);
int x1 = mwindow->theme->plugindialog_new_x, y1 = mwindow->theme->plugindialog_new_y;
int w1 = mwindow->theme->plugindialog_new_w, h1 = mwindow->theme->plugindialog_new_h;
search_text->reposition_window(x1, y1, w1);
y1 += dy; h1 -= dy;
standalone_list->reposition_window(x1, y1, w1, h1);
y1 += dy; h1 -= dy;
standalone_list->reposition_window(x1, y1, w1, h1);
// mwindow->theme->plugindialog_newattach_y);
shared_title->reposition_window(mwindow->theme->plugindialog_shared_x,
// mwindow->theme->plugindialog_newattach_y);
shared_title->reposition_window(mwindow->theme->plugindialog_shared_x,
shared_list->reposition_window(mwindow->theme->plugindialog_shared_x,
mwindow->theme->plugindialog_shared_y,
mwindow->theme->plugindialog_shared_w,
shared_list->reposition_window(mwindow->theme->plugindialog_shared_x,
mwindow->theme->plugindialog_shared_y,
mwindow->theme->plugindialog_shared_w,
module_list->reposition_window(mwindow->theme->plugindialog_module_x,
mwindow->theme->plugindialog_module_y,
mwindow->theme->plugindialog_module_w,
module_list->reposition_window(mwindow->theme->plugindialog_module_x,
mwindow->theme->plugindialog_module_y,
mwindow->theme->plugindialog_module_w,
mwindow->theme->plugindialog_new_y + mwindow->theme->plugindialog_new_h +
get_text_height(MEDIUMFONT));
mwindow->theme->plugindialog_new_y + mwindow->theme->plugindialog_new_h +
get_text_height(MEDIUMFONT));
- if( mwindow->edl->tracks->plugin_exists(plugin) ) {
- plugin->change_plugin(plugin_title,
- &shared_location, plugin_type);
- }
+ plugin->change_plugin(plugin_title,
+ &shared_location, plugin_type);
- track, 0, 0, 0, plugin_type);
- }
+ track, 0, 0, 0, plugin_type);
mwindow->gui->update(1, NORMAL_DRAW, 0, 0, 1, 0, 0);
mwindow->gui->unlock_window();
}
mwindow->gui->update(1, NORMAL_DRAW, 0, 0, 1, 0, 0);
mwindow->gui->unlock_window();
}
//
// PluginDialogTextBox::PluginDialogTextBox(PluginDialog *dialog, char *text, int x, int y)
//
// PluginDialogTextBox::PluginDialogTextBox(PluginDialog *dialog, char *text, int x, int y)
-// : BC_TextBox(x, y, 200, 1, text)
+// : BC_TextBox(x, y, xS(200), 1, text)
PluginDialogNew::PluginDialogNew(PluginDialog *dialog,
ArrayList<BC_ListBoxItem*> *standalone_data,
int x, int y, int w, int h)
PluginDialogNew::PluginDialogNew(PluginDialog *dialog,
ArrayList<BC_ListBoxItem*> *standalone_data,
int x, int y, int w, int h)
PluginDialogShared::PluginDialogShared(PluginDialog *dialog,
ArrayList<BC_ListBoxItem*> *shared_data,
PluginDialogShared::PluginDialogShared(PluginDialog *dialog,
ArrayList<BC_ListBoxItem*> *shared_data,
- int x,
- int y,
- int w,
- int h)
- : BC_ListBox(x,
- y,
- w,
- h,
- LISTBOX_TEXT,
- shared_data)
+ int x, int y, int w, int h)
+ : BC_ListBox(x, y, w, h, LISTBOX_TEXT, shared_data)
PluginDialogModules::PluginDialogModules(PluginDialog *dialog,
ArrayList<BC_ListBoxItem*> *module_data,
PluginDialogModules::PluginDialogModules(PluginDialog *dialog,
ArrayList<BC_ListBoxItem*> *module_data,
- int x,
- int y,
- int w,
- int h)
- : BC_ListBox(x,
- y,
- w,
- h,
- LISTBOX_TEXT,
- module_data)
+ int x, int y, int w, int h)
+ : BC_ListBox(x, y, w, h, LISTBOX_TEXT, module_data)