Credit Andrew - fix bug in render farm usage when using in/out pointers or selection
[goodguy/cinelerra.git] / cinelerra-5.1 / plugins / yuv411 / yuv411win.h
index a08eeffe61544f042795d82e4e9a5acbc878ef89..98a2787d92a1abf7491be5f6a1694e819685c365 100644 (file)
@@ -1,3 +1,23 @@
+/*
+ * CINELERRA
+ * Copyright (C) 2016 Eric Olson
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published
+ * by the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ * USA
+ */
+
 #ifndef YUV411WIN_H
 #define YUV411WIN_H
 
@@ -13,6 +33,7 @@ class yuv411Toggle;
 class yuv411Offset;
 class yuv411Thresh;
 class yuv411Bias;
+class yuv411Reset;
 
 class yuv411Window : public PluginClientWindow
 {
@@ -21,6 +42,7 @@ public:
        ~yuv411Window();
 
        void create_objects();
+       void update();
        int close_event();
        void update_enables();
        void show_warning(int warn);
@@ -33,6 +55,8 @@ public:
        yuv411Thresh *thresh;
        yuv411Bias *bias;
        BC_Title *yuv_warning;
+       int colormodel;
+       yuv411Reset *reset;
 };
 
 class yuv411Toggle : public BC_CheckBox
@@ -70,4 +94,14 @@ public:
        yuv411Main *client;
 };
 
+class yuv411Reset : public BC_GenericButton
+{
+public:
+       yuv411Reset(yuv411Main *client, yuv411Window *window, int x, int y);
+       ~yuv411Reset();
+       int handle_event();
+       yuv411Main *client;
+       yuv411Window *window;
+};
+
 #endif