add auto zoombar/status color, fix 3 batchrender boobies, rotate plugin tweaks, add...
[goodguy/cinelerra.git] / cinelerra-5.1 / plugins / wipe / wipe.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 WIPE_H
23 #define WIPE_H
24
25 class WipeMain;
26 class WipeWindow;
27
28
29 #include "overlayframe.inc"
30 #include "pluginvclient.h"
31 #include "vframe.inc"
32
33
34
35
36 class WipeLeft : public BC_Radial
37 {
38 public:
39         WipeLeft(WipeMain *plugin,
40                 WipeWindow *window,
41                 int x,
42                 int y);
43         int handle_event();
44         WipeMain *plugin;
45         WipeWindow *window;
46 };
47
48 class WipeRight : public BC_Radial
49 {
50 public:
51         WipeRight(WipeMain *plugin,
52                 WipeWindow *window,
53                 int x,
54                 int y);
55         int handle_event();
56         WipeMain *plugin;
57         WipeWindow *window;
58 };
59
60
61
62
63 class WipeWindow : public PluginClientWindow
64 {
65 public:
66         WipeWindow(WipeMain *plugin);
67         void create_objects();
68         WipeMain *plugin;
69         WipeLeft *left;
70         WipeRight *right;
71 };
72
73
74
75
76 class WipeMain : public PluginVClient
77 {
78 public:
79         WipeMain(PluginServer *server);
80         ~WipeMain();
81
82 // required for all realtime plugins
83         int load_configuration();
84         int process_realtime(VFrame *incoming, VFrame *outgoing);
85         PluginClientWindow* new_window();
86         void save_data(KeyFrame *keyframe);
87         void read_data(KeyFrame *keyframe);
88         int uses_gui();
89         int is_transition();
90         int is_video();
91         const char* plugin_title();
92
93         int direction;
94 };
95
96 #endif