3 * Copyright (C) 2016 Eric Olson
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License as published
7 * by the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * General Public License for more details.
15 * You should have received a copy of the GNU General Public
16 * License along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
24 #include "filexml.inc"
27 #include "pluginvclient.h"
38 class yuv411Window : public PluginClientWindow
41 yuv411Window(yuv411Main *client);
44 void create_objects();
47 void update_enables();
48 void show_warning(int warn);
51 yuv411Toggle *avg_vertical;
52 yuv411Toggle *int_horizontal;
53 yuv411Toggle *inpainting;
57 BC_Title *yuv_warning;
62 class yuv411Toggle : public BC_CheckBox
65 yuv411Toggle(yuv411Main *client, int *output, char *string, int x, int y);
73 class yuv411Offset : public BC_FSlider
76 yuv411Offset(yuv411Main *client, int x, int y);
81 class yuv411Thresh : public BC_FSlider
84 yuv411Thresh(yuv411Main *client, int x, int y);
89 class yuv411Bias : public BC_FSlider
92 yuv411Bias(yuv411Main *client, int x, int y);
97 class yuv411Reset : public BC_GenericButton
100 yuv411Reset(yuv411Main *client, yuv411Window *window, int x, int y);
104 yuv411Window *window;