no longer need ffmpeg patch0 which was for Termux
[goodguy/cinelerra.git] / cinelerra-5.1 / plugins / whirl / whirlwindow.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 WHIRLWINDOW_H
23 #define WHIRLWINDOW_H
24
25 #include "guicast.h"
26
27 class WhirlWindow;
28
29 #include "filexml.h"
30 #include "mutex.h"
31 #include "whirl.h"
32
33 class AngleSlider;
34 class PinchSlider;
35 class RadiusSlider;
36 class AutomatedFn;
37
38 class WhirlWindow : public PluginClientWindow
39 {
40 public:
41         WhirlWindow(WhirlMain *client);
42         ~WhirlWindow();
43
44         void create_objects();
45
46         WhirlMain *client;
47         AngleSlider *angle_slider;
48         PinchSlider *pinch_slider;
49         RadiusSlider *radius_slider;
50         AutomatedFn *automation[3];
51 };
52
53 class AngleSlider : public BC_ISlider
54 {
55 public:
56         AngleSlider(WhirlMain *client, int x, int y);
57         ~AngleSlider();
58         int handle_event();
59
60         WhirlMain *client;
61 };
62
63 class PinchSlider : public BC_ISlider
64 {
65 public:
66         PinchSlider(WhirlMain *client, int x, int y);
67         ~PinchSlider();
68         int handle_event();
69
70         WhirlMain *client;
71 };
72
73 class RadiusSlider : public BC_ISlider
74 {
75 public:
76         RadiusSlider(WhirlMain *client, int x, int y);
77         ~RadiusSlider();
78         int handle_event();
79
80         WhirlMain *client;
81 };
82
83 class AutomatedFn : public BC_CheckBox
84 {
85 public:
86         AutomatedFn(WhirlMain *client, WhirlWindow *window, int x, int y, int number);
87         ~AutomatedFn();
88         int handle_event();
89
90         WhirlMain *client;
91         WhirlWindow *window;
92         int number;
93 };
94
95
96 #endif