add auto zoombar/status color, fix 3 batchrender boobies, rotate plugin tweaks, add...
[goodguy/cinelerra.git] / cinelerra-5.1 / plugins / reframe / reframe.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 REFRAME_H
23 #define REFRAME_H
24
25
26 #include "guicast.h"
27 #include "pluginvclient.h"
28
29
30 class ReFrame;
31
32
33 class ReFrameOutput : public BC_TextBox
34 {
35 public:
36         ReFrameOutput(ReFrame *plugin, int x, int y);
37         int handle_event();
38         ReFrame *plugin;
39 };
40
41
42
43 class ReFrameWindow : public BC_Window
44 {
45 public:
46         ReFrameWindow(ReFrame *plugin, int x, int y);
47         ~ReFrameWindow();
48
49         void create_objects();
50         int close_event();
51
52         ReFrame *plugin;
53 };
54
55
56 class ReFrame : public PluginVClient
57 {
58 public:
59         ReFrame(PluginServer *server);
60         ~ReFrame();
61
62
63         const char* plugin_title();
64         int get_parameters();
65         int load_defaults();
66         int save_defaults();
67         int start_loop();
68         int stop_loop();
69         int process_loop(VFrame *buffer);
70
71
72         double scale;
73
74         MainProgressBar *progress;
75         int64_t current_position;
76 };
77
78
79
80
81
82
83 #endif