compositor f1-f10/j/p shortcuts, opencv upgrade, new stylize,puzzle opencv plugins
[goodguy/history.git] / cinelerra-5.1 / plugins / puzzleobj / puzzleobjwindow.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 PUZZLEOBJWINDOW_H
22 #define PUZZLEOBJWINDOW_H
23
24
25 #include "guicast.h"
26
27 class PuzzleObj;
28 class PuzzleObjWindow;
29 class PuzzleObjISlider;
30
31 class PuzzleObjISlider : public BC_ISlider
32 {
33 public:
34         PuzzleObjISlider(PuzzleObjWindow *win,
35                 int x, int y, int w, int min, int max, int *output);
36         ~PuzzleObjISlider();
37         int handle_event();
38
39         PuzzleObjWindow *win;
40         int *output;
41 };
42
43 class PuzzleObjWindow : public PluginClientWindow
44 {
45 public:
46         PuzzleObjWindow(PuzzleObj *plugin);
47         ~PuzzleObjWindow();
48
49         void create_objects();
50
51         PuzzleObj *plugin;
52         BC_Title *pixels_title;
53         BC_Title *iterations_title;
54         PuzzleObjISlider *pixels;
55         PuzzleObjISlider *iterations;
56 };
57
58 #endif