add auto zoombar/status color, fix 3 batchrender boobies, rotate plugin tweaks, add...
[goodguy/cinelerra.git] / cinelerra-5.1 / plugins / sharpen / sharpenwindow.h
1
2 /*
3  * CINELERRA
4  * Copyright (C) 2008 Adam Williams <broadcast at earthling dot net>
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 SHARPENWINDOW_H
23 #define SHARPENWINDOW_H
24
25 #include "guicast.h"
26
27 class SharpenWindow;
28 class SharpenInterlace;
29
30 #include "filexml.h"
31 #include "mutex.h"
32 #include "sharpen.h"
33
34
35
36
37
38
39 class SharpenSlider;
40 class SharpenHorizontal;
41 class SharpenLuminance;
42 class SharpenReset;
43
44 class SharpenWindow : public PluginClientWindow
45 {
46 public:
47         SharpenWindow(SharpenMain *client);
48         ~SharpenWindow();
49
50         void create_objects();
51         void update();
52
53         SharpenMain *client;
54         SharpenSlider *sharpen_slider;
55         SharpenInterlace *sharpen_interlace;
56         SharpenHorizontal *sharpen_horizontal;
57         SharpenLuminance *sharpen_luminance;
58         SharpenReset *reset;
59 };
60
61 class SharpenSlider : public BC_ISlider
62 {
63 public:
64         SharpenSlider(SharpenMain *client, float *output, int x, int y);
65         ~SharpenSlider();
66         int handle_event();
67
68         SharpenMain *client;
69         float *output;
70 };
71
72 class SharpenInterlace : public BC_CheckBox
73 {
74 public:
75         SharpenInterlace(SharpenMain *client, int x, int y);
76         ~SharpenInterlace();
77         int handle_event();
78
79         SharpenMain *client;
80 };
81
82 class SharpenHorizontal : public BC_CheckBox
83 {
84 public:
85         SharpenHorizontal(SharpenMain *client, int x, int y);
86         ~SharpenHorizontal();
87         int handle_event();
88
89         SharpenMain *client;
90 };
91
92 class SharpenLuminance : public BC_CheckBox
93 {
94 public:
95         SharpenLuminance(SharpenMain *client, int x, int y);
96         ~SharpenLuminance();
97         int handle_event();
98
99         SharpenMain *client;
100 };
101
102 class SharpenReset : public BC_GenericButton
103 {
104 public:
105         SharpenReset(SharpenMain *client, SharpenWindow *gui, int x, int y);
106         ~SharpenReset();
107         int handle_event();
108         SharpenMain *client;
109         SharpenWindow *gui;
110 };
111
112 #endif