a08eeffe61544f042795d82e4e9a5acbc878ef89
[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
17 class yuv411Window : public PluginClientWindow
18 {
19 public:
20         yuv411Window(yuv411Main *client);
21         ~yuv411Window();
22
23         void create_objects();
24         int close_event();
25         void update_enables();
26         void show_warning(int warn);
27
28         yuv411Main *client;
29         yuv411Toggle *avg_vertical;
30         yuv411Toggle *int_horizontal;
31         yuv411Toggle *inpainting;
32         yuv411Offset *offset;
33         yuv411Thresh *thresh;
34         yuv411Bias *bias;
35         BC_Title *yuv_warning;
36 };
37
38 class yuv411Toggle : public BC_CheckBox
39 {
40 public:
41         yuv411Toggle(yuv411Main *client, int *output, char *string, int x, int y);
42         ~yuv411Toggle();
43         int handle_event();
44
45         yuv411Main *client;
46         int *output;
47 };
48
49 class yuv411Offset : public BC_FSlider
50 {
51 public:
52         yuv411Offset(yuv411Main *client, int x, int y);
53         int handle_event();
54         yuv411Main *client;
55 };
56
57 class yuv411Thresh : public BC_FSlider
58 {
59 public:
60         yuv411Thresh(yuv411Main *client, int x, int y);
61         int handle_event();
62         yuv411Main *client;
63 };
64
65 class yuv411Bias : public BC_FSlider
66 {
67 public:
68         yuv411Bias(yuv411Main *client, int x, int y);
69         int handle_event();
70         yuv411Main *client;
71 };
72
73 #endif