remove whitespace at eol
[goodguy/history.git] / cinelerra-5.1 / plugins / bandslide / bandslide.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 BANDSLIDE_H
23 #define BANDSLIDE_H
24
25 class BandSlideMain;
26 class BandSlideWindow;
27 class BandSlideConfig;
28
29 #include "overlayframe.inc"
30 #include "pluginvclient.h"
31 #include "vframe.inc"
32
33
34
35
36 class BandSlideCount : public BC_TumbleTextBox
37 {
38 public:
39         BandSlideCount(BandSlideMain *plugin,
40                 BandSlideWindow *window,
41                 int x,
42                 int y);
43         int handle_event();
44         BandSlideMain *plugin;
45         BandSlideWindow *window;
46 };
47
48 class BandSlideIn : public BC_Radial
49 {
50 public:
51         BandSlideIn(BandSlideMain *plugin,
52                 BandSlideWindow *window,
53                 int x,
54                 int y);
55         int handle_event();
56         BandSlideMain *plugin;
57         BandSlideWindow *window;
58 };
59
60 class BandSlideOut : public BC_Radial
61 {
62 public:
63         BandSlideOut(BandSlideMain *plugin,
64                 BandSlideWindow *window,
65                 int x,
66                 int y);
67         int handle_event();
68         BandSlideMain *plugin;
69         BandSlideWindow *window;
70 };
71
72
73
74
75 class BandSlideWindow : public PluginClientWindow
76 {
77 public:
78         BandSlideWindow(BandSlideMain *plugin);
79         void create_objects();
80         BandSlideMain *plugin;
81         BandSlideCount *count;
82         BandSlideIn *in;
83         BandSlideOut *out;
84 };
85
86
87 class BandSlideConfig
88 {
89 public:
90 };
91
92 class BandSlideMain : public PluginVClient
93 {
94 public:
95         BandSlideMain(PluginServer *server);
96         ~BandSlideMain();
97         PLUGIN_CLASS_MEMBERS(BandSlideConfig);
98
99 // required for all realtime plugins
100         int process_realtime(VFrame *incoming, VFrame *outgoing);
101         void save_data(KeyFrame *keyframe);
102         void read_data(KeyFrame *keyframe);
103         int uses_gui();
104         int is_transition();
105
106         int bands;
107         int direction;
108 };
109
110 #endif