#ifndef PLUGINDIALOG_H
#define PLUGINDIALOG_H
-class PluginDialogTextBox;
-class PluginDialogDetach;
-class PluginDialogNew;
-class PluginDialogShared;
-class PluginDialogSearchText;
-class PluginDialogModules;
-class PluginDialogAttachNew;
-class PluginDialogChangeNew;
-class PluginDialogIn;
-class PluginDialogOut;
-class PluginDialogThru;
-class PluginDialogSingle;
-class PluginDialog;
-
#include "bcdialog.h"
#include "condition.inc"
#include "guicast.h"
#include "mutex.inc"
#include "mwindow.inc"
#include "plugin.inc"
+#include "plugindialog.inc"
#include "pluginserver.inc"
#include "sharedlocation.h"
#include "thread.h"
BC_Window* new_gui();
void handle_done_event(int result);
void handle_close_event(int result);
+ void apply();
MWindow *mwindow;
Track *track;
int data_type;
Transition *transition;
// Plugin being modified if there is one
- Plugin *plugin;
+ int plugin_id;
char window_title[BCTEXTLEN];
// If attaching from main menu
int is_mainmenu;
void save_settings();
int resize_event(int w, int h);
void load_plugin_list(int redraw);
+ void clear_selection();
+ void apply();
BC_Title *standalone_title;
PluginDialogNew *standalone_list;
PluginDialogModules *module_list;
PluginDialogSingle *single_standalone;
PluginDialogSearchText *search_text;
-
- PluginDialogThru *thru;
-
+ BC_OKButton *ok_btn;
+ BC_CancelButton *can_btn;
+ PluginDialogApply *apy_btn;
PluginDialogThread *thread;
ArrayList<BC_ListBoxItem*> standalone_data;
int handle_event();
int selection_changed();
+ int keypress_event();
PluginDialog *dialog;
};
PluginDialog *dialog;
};
+class PluginDialogApply : public BC_GenericButton
+{
+public:
+ PluginDialogApply(PluginDialog *dialog, int x, int y);
+ int handle_event();
+
+ PluginDialog *dialog;
+};
/*
* class PluginDialogAttachShared : public BC_GenericButton
* {