9d593b4ed217152ba1e1f68dd8304dd78356828a
[goodguy/history.git] / cinelerra-5.1 / plugins / aging / agingwindow.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 AGINGWINDOW_H
23 #define AGINGWINDOW_H
24
25 #include "guicast.h"
26
27 class AgingThread;
28 class AgingWindow;
29
30 #include "filexml.h"
31 #include "mutex.h"
32 #include "aging.h"
33
34
35 class AgingColor;
36 class AgingScratches;
37 class AgingScratchCount;
38 class AgingPits;
39 class AgingPitCount;
40 class AgingDust;
41 class AgingDustCount;
42
43 class AgingWindow : public PluginClientWindow
44 {
45 public:
46         AgingWindow(AgingMain *client);
47         ~AgingWindow();
48
49         void create_objects();
50
51         AgingMain *client;
52
53
54         AgingColor *color;
55         AgingScratches *scratches;
56         AgingScratchCount *scratch_count;
57         AgingPits *pits;
58         AgingPitCount *pit_count;
59         AgingDust *dust;
60         AgingDustCount *dust_count;
61 };
62
63
64
65
66
67 class AgingColor : public BC_CheckBox
68 {
69 public:
70         AgingColor(int x, int y, AgingMain *plugin);
71         int handle_event();
72         AgingMain *plugin;
73 };
74
75
76 class AgingScratches : public BC_CheckBox
77 {
78 public:
79         AgingScratches(int x, int y, AgingMain *plugin);
80         int handle_event();
81         AgingMain *plugin;
82 };
83
84
85 class AgingScratchCount : public BC_ISlider
86 {
87 public:
88         AgingScratchCount(int x, int y, AgingMain *plugin);
89         int handle_event();
90         AgingMain *plugin;
91 };
92
93 class AgingPits : public BC_CheckBox
94 {
95 public:
96         AgingPits(int x, int y, AgingMain *plugin);
97         int handle_event();
98         AgingMain *plugin;
99 };
100
101 class AgingPitCount : public BC_ISlider
102 {
103 public:
104         AgingPitCount(int x, int y, AgingMain *plugin);
105         int handle_event();
106         AgingMain *plugin;
107 };
108
109
110
111
112
113
114
115
116 class AgingDust : public BC_CheckBox
117 {
118 public:
119         AgingDust(int x, int y, AgingMain *plugin);
120         int handle_event();
121         AgingMain *plugin;
122 };
123
124 class AgingDustCount : public BC_ISlider
125 {
126 public:
127         AgingDustCount(int x, int y, AgingMain *plugin);
128         int handle_event();
129         AgingMain *plugin;
130 };
131
132
133
134
135
136
137
138 #endif