fix trace locks hang, drag handle rework-again, 12 reset btns on plugins, booby on
[goodguy/cinelerra.git] / cinelerra-5.1 / plugins / swapchannels / swapchannels.h
index 37e8f529f6942253e040aa159e28d092cb5f49e9..8baffaf5e28372c841fb70f360b77bd49848aea0 100644 (file)
@@ -33,6 +33,8 @@
 
 
 class SwapMain;
+class SwapWindow;
+class SwapReset;
 
 #define RED_SRC 0
 #define GREEN_SRC 1
@@ -48,6 +50,7 @@ class SwapConfig
 public:
        SwapConfig();
 
+       void reset_Config();
        int equivalent(SwapConfig &that);
        void copy_from(SwapConfig &that);
 
@@ -84,13 +87,24 @@ public:
        char *title;
 };
 
+
+class SwapReset : public BC_GenericButton
+{
+public:
+       SwapReset(SwapMain *plugin, SwapWindow *gui, int x, int y);
+       ~SwapReset();
+       int handle_event();
+       SwapMain *plugin;
+       SwapWindow *gui;
+};
+
+
 class SwapWindow : public PluginClientWindow
 {
 public:
        SwapWindow(SwapMain *plugin);
        ~SwapWindow();
 
-
        void create_objects();
 
        SwapMain *plugin;
@@ -98,6 +112,7 @@ public:
        SwapMenu *green;
        SwapMenu *blue;
        SwapMenu *alpha;
+       SwapReset *reset;
 };