add auto zoombar/status color, fix 3 batchrender boobies, rotate plugin tweaks, add...
[goodguy/cinelerra.git] / cinelerra-5.1 / plugins / yuv411 / yuv411win.h
1 #ifndef YUV411WIN_H
2 #define YUV411WIN_H
3
4 #include "filexml.inc"
5 #include "yuv411.h"
6 #include "mutex.h"
7 #include "pluginvclient.h"
8 #include "bctitle.h"
9 #include "bccolors.h"
10 #include "fonts.h"
11
12 class yuv411Toggle;
13 class yuv411Offset;
14 class yuv411Thresh;
15 class yuv411Bias;
16 class yuv411Reset;
17
18 class yuv411Window : public PluginClientWindow
19 {
20 public:
21         yuv411Window(yuv411Main *client);
22         ~yuv411Window();
23
24         void create_objects();
25         void update();
26         int close_event();
27         void update_enables();
28         void show_warning(int warn);
29
30         yuv411Main *client;
31         yuv411Toggle *avg_vertical;
32         yuv411Toggle *int_horizontal;
33         yuv411Toggle *inpainting;
34         yuv411Offset *offset;
35         yuv411Thresh *thresh;
36         yuv411Bias *bias;
37         BC_Title *yuv_warning;
38         yuv411Reset *reset;
39 };
40
41 class yuv411Toggle : public BC_CheckBox
42 {
43 public:
44         yuv411Toggle(yuv411Main *client, int *output, char *string, int x, int y);
45         ~yuv411Toggle();
46         int handle_event();
47
48         yuv411Main *client;
49         int *output;
50 };
51
52 class yuv411Offset : public BC_FSlider
53 {
54 public:
55         yuv411Offset(yuv411Main *client, int x, int y);
56         int handle_event();
57         yuv411Main *client;
58 };
59
60 class yuv411Thresh : public BC_FSlider
61 {
62 public:
63         yuv411Thresh(yuv411Main *client, int x, int y);
64         int handle_event();
65         yuv411Main *client;
66 };
67
68 class yuv411Bias : public BC_FSlider
69 {
70 public:
71         yuv411Bias(yuv411Main *client, int x, int y);
72         int handle_event();
73         yuv411Main *client;
74 };
75
76 class yuv411Reset : public BC_GenericButton
77 {
78 public:
79         yuv411Reset(yuv411Main *client, yuv411Window *window, int x, int y);
80         ~yuv411Reset();
81         int handle_event();
82         yuv411Main *client;
83         yuv411Window *window;
84 };
85
86 #endif