add auto zoombar/status color, fix 3 batchrender boobies, rotate plugin tweaks, add...
[goodguy/cinelerra.git] / cinelerra-5.1 / plugins / greycstoration / greycstorationwindow.h
1 /*
2  * GreyCStoration plugin for Cinelerra
3  * Copyright (C) 2013 Slock Ruddy
4  * Copyright (C) 2014-2015 Nicola Ferralis <feranick at hotmail dot com>
5  *
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.
10  *
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.
15  *
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
19  *
20  */
21
22 #ifndef GREYCSTORATIONWINDOW_H
23 #define GREYCSTORATIONWINDOW_H
24
25 class GreyCStorationThread;
26 class GreyCStorationWindow;
27
28 #include "filexml.inc"
29 #include "greycstorationplugin.h"
30 #include "mutex.h"
31 #include "pluginvclient.h"
32
33 class GreyCAmpSlider;
34 class GreyCSharpSlider;
35 class GreyCAniSlider;
36 class GreyCNoiseSlider;
37
38 class GreyCStorationWindow : public PluginClientWindow
39 {
40 public:
41         GreyCStorationWindow(GreyCStorationMain *client);
42         ~GreyCStorationWindow();
43
44         void create_objects();
45         int close_event();
46
47         GreyCStorationMain *client;
48
49         // probably stupid way to accomplish this
50         GreyCAmpSlider *greycamp_slider;
51         GreyCSharpSlider *greycsharp_slider;
52         GreyCAniSlider *greycani_slider;
53         GreyCNoiseSlider * greycnoise_slider;
54 };
55
56
57 class GreyCAmpSlider : public BC_ISlider
58 {
59 public:
60         GreyCAmpSlider(GreyCStorationMain *client, float *output, int x, int y);
61         ~GreyCAmpSlider();
62         int handle_event();
63
64         GreyCStorationMain *client;
65         float *output;
66 };
67
68
69 class GreyCSharpSlider : public BC_FSlider
70 {
71 public:
72         GreyCSharpSlider(GreyCStorationMain *client, float *output, int x, int y);
73         ~GreyCSharpSlider();
74         int handle_event();
75
76         GreyCStorationMain *client;
77         float *output;
78 };
79
80
81 class GreyCAniSlider : public BC_FSlider
82 {
83 public:
84         GreyCAniSlider(GreyCStorationMain *client, float *output, int x, int y);
85         ~GreyCAniSlider();
86         int handle_event();
87
88         GreyCStorationMain *client;
89         float *output;
90 };
91
92 class GreyCNoiseSlider : public BC_FSlider
93 {
94 public:
95         GreyCNoiseSlider(GreyCStorationMain *client, float *output, int x, int y);
96         ~GreyCNoiseSlider();
97         int handle_event();
98
99         GreyCStorationMain *client;
100         float *output;
101 };
102
103 #endif