histogram rework to add sum_frames, update suv/cakewalk autorange icons, add new...
[goodguy/cinelerra.git] / cinelerra-5.1 / plugins / timeblur / timeblurwindow.h
1
2 /*
3  * CINELERRA
4  * Copyright (C) 1997-2011 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 TIMEBLURWINDOW_H
23 #define TIMEBLURWINDOW_H
24
25 #include "timeblur.h"
26
27 class TimeBlurSelect;
28 class TimeBlurClearFrames;
29 class TimeBlurFrames;
30 class TimeBlurWindow;
31
32 class TimeBlurSelect : public BC_GenericButton
33 {
34 public:
35         TimeBlurSelect(TimeBlurMain *plugin, TimeBlurWindow *gui, int x, int y);
36         int handle_event();
37         TimeBlurMain *plugin;
38         TimeBlurWindow *gui;
39 };
40
41 class TimeBlurClearFrames : public BC_Button
42 {
43 public:
44         TimeBlurClearFrames(TimeBlurMain *plugin, TimeBlurWindow *gui, int x, int y);
45         int handle_event();
46         TimeBlurMain *plugin;
47         TimeBlurWindow *gui;
48 };
49
50 class TimeBlurFrames : public BC_TumbleTextBox
51 {
52 public:
53         TimeBlurFrames(TimeBlurMain *plugin, TimeBlurWindow *gui, int x, int y);
54         int handle_event();
55         void update(int frames);
56
57         TimeBlurMain *plugin;
58         TimeBlurWindow *gui;
59 };
60
61 class TimeBlurWindow : public PluginClientWindow
62 {
63 public:
64         TimeBlurWindow(TimeBlurMain *plugin);
65         ~TimeBlurWindow();
66
67         void create_objects();
68         TimeBlurMain *plugin;
69         TimeBlurSelect *select;
70         TimeBlurFrames *frames;
71         TimeBlurClearFrames *clear_frames;
72 };
73
74 #endif