+/*
+ * 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
class yuv411Offset;
class yuv411Thresh;
class yuv411Bias;
+class yuv411Reset;
class yuv411Window : public PluginClientWindow
{
~yuv411Window();
void create_objects();
+ void update();
int close_event();
void update_enables();
void show_warning(int warn);
yuv411Thresh *thresh;
yuv411Bias *bias;
BC_Title *yuv_warning;
+ int colormodel;
+ yuv411Reset *reset;
};
class yuv411Toggle : public BC_CheckBox
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