X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fswapchannels%2Fswapchannels.h;h=8baffaf5e28372c841fb70f360b77bd49848aea0;hb=55b362978e0118efc34c0a654b19c99484c0f346;hp=37e8f529f6942253e040aa159e28d092cb5f49e9;hpb=7fd85fb66168f6b518c5f2d73e04036e87faa0e1;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/plugins/swapchannels/swapchannels.h b/cinelerra-5.1/plugins/swapchannels/swapchannels.h index 37e8f529..8baffaf5 100644 --- a/cinelerra-5.1/plugins/swapchannels/swapchannels.h +++ b/cinelerra-5.1/plugins/swapchannels/swapchannels.h @@ -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; };