add auto zoombar/status color, fix 3 batchrender boobies, rotate plugin tweaks, add...
[goodguy/cinelerra.git] / cinelerra-5.1 / plugins / moveobj / moveobjwindow.h
1 /*
2  * CINELERRA
3  * Copyright (C) 2008-2014 Adam Williams <broadcast at earthling dot net>
4  * 
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  * 
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU General Public License for more details.
14  * 
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18  * 
19  */
20
21 #ifndef MOVEOBJWINDOW_H
22 #define MOVEOBJWINDOW_H
23
24
25 #include "guicast.h"
26
27 class MoveObj;
28 class MoveObjWindow;
29
30
31 class MoveObjVectors : public BC_CheckBox
32 {
33 public:
34         MoveObjVectors(MoveObjWindow *gui, int x, int y);
35         int handle_event();
36         MoveObjWindow *gui;
37 };
38
39 class MoveObjDoStabilization : public BC_CheckBox
40 {
41 public:
42         MoveObjDoStabilization(MoveObjWindow *gui, int x, int y);
43         int handle_event();
44         MoveObjWindow *gui;
45 };
46
47 class MoveObjBlockSize : public BC_IPot
48 {
49 public:
50         MoveObjBlockSize(MoveObjWindow *gui, int x, int y);
51         int handle_event();
52         MoveObjWindow *gui;
53 };
54
55 class MoveObjSearchRadius : public BC_IPot
56 {
57 public:
58         MoveObjSearchRadius(MoveObjWindow *gui, int x, int y);
59         int handle_event();
60         MoveObjWindow *gui;
61 };
62
63 class MoveObjMaxMovement : public BC_IPot
64 {
65 public:
66         MoveObjMaxMovement(MoveObjWindow *gui, int x, int y);
67         int handle_event();
68         MoveObjWindow *gui;
69 };
70
71 class MoveObjSettling : public BC_IPot
72 {
73 public:
74         MoveObjSettling(MoveObjWindow *gui, int x, int y);
75         int handle_event();
76         MoveObjWindow *gui;
77 };
78
79 class MoveObjWindow : public PluginClientWindow
80 {
81 public:
82         MoveObjWindow(MoveObj *plugin);
83         ~MoveObjWindow();
84
85         void create_objects();
86
87         MoveObj *plugin;
88         MoveObjVectors *vectors;
89         MoveObjDoStabilization *do_stabilization;
90         MoveObjBlockSize *block_size;
91         MoveObjSearchRadius *search_radius;
92 // not implemented
93 //      MoveObjMaxMovement *max_movement;
94         MoveObjSettling *settling_speed;
95 };
96
97 #endif