2 * GreyCStoration plugin for Cinelerra
3 * Copyright (C) 2013 Slock Ruddy
4 * Copyright (C) 2014-2015 Nicola Ferralis <feranick at hotmail dot com>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 #ifndef GREYCSTORATIONWINDOW_H
23 #define GREYCSTORATIONWINDOW_H
25 class GreyCStorationThread;
26 class GreyCStorationWindow;
28 #include "filexml.inc"
29 #include "greycstorationplugin.h"
31 #include "pluginvclient.h"
34 class GreyCSharpSlider;
36 class GreyCNoiseSlider;
38 class GreyCStorationWindow : public PluginClientWindow
41 GreyCStorationWindow(GreyCStorationMain *client);
42 ~GreyCStorationWindow();
44 void create_objects();
47 GreyCStorationMain *client;
49 // probably stupid way to accomplish this
50 GreyCAmpSlider *greycamp_slider;
51 GreyCSharpSlider *greycsharp_slider;
52 GreyCAniSlider *greycani_slider;
53 GreyCNoiseSlider * greycnoise_slider;
57 class GreyCAmpSlider : public BC_ISlider
60 GreyCAmpSlider(GreyCStorationMain *client, float *output, int x, int y);
64 GreyCStorationMain *client;
69 class GreyCSharpSlider : public BC_FSlider
72 GreyCSharpSlider(GreyCStorationMain *client, float *output, int x, int y);
76 GreyCStorationMain *client;
81 class GreyCAniSlider : public BC_FSlider
84 GreyCAniSlider(GreyCStorationMain *client, float *output, int x, int y);
88 GreyCStorationMain *client;
92 class GreyCNoiseSlider : public BC_FSlider
95 GreyCNoiseSlider(GreyCStorationMain *client, float *output, int x, int y);
99 GreyCStorationMain *client;