fix trace locks hang, drag handle rework-again, 12 reset btns on plugins, booby on
[goodguy/cinelerra.git] / cinelerra-5.1 / plugins / swapframes / swapframes.h
index 6b547289537365ffd25812d228f24de639effdcb..6ecebeefbdfaeda489a1ebac9c82fb055dc69b67 100644 (file)
 
 class SwapFrames;
 class SwapFramesWindow;
+class SwapFramesReset;
 
 class SwapFramesConfig
 {
 public:
        SwapFramesConfig();
 
+       void reset();
        int equivalent(SwapFramesConfig &that);
        void copy_from(SwapFramesConfig &that);
        void interpolate(SwapFramesConfig &prev,
@@ -79,16 +81,28 @@ public:
        SwapFrames *plugin;
 };
 
+class SwapFramesReset : public BC_GenericButton
+{
+public:
+       SwapFramesReset(SwapFrames *plugin, SwapFramesWindow *gui, int x, int y);
+       ~SwapFramesReset();
+       int handle_event();
+       SwapFrames *plugin;
+       SwapFramesWindow *gui;
+};
+
 
 class SwapFramesWindow : public PluginClientWindow
 {
 public:
        SwapFramesWindow(SwapFrames *plugin);
        void create_objects();
+       void update();
        SwapFramesOn *on;
        SwapFramesEven *swap_even;
        SwapFramesOdd *swap_odd;
        SwapFrames *plugin;
+       SwapFramesReset *reset;
 };