r663: This commit was generated by cvs2svn to compensate for changes in r662,
[cinelerra_cv.git] / plugins / diffkey / diffkeywindow.h
blob38f96dcc547a0d0e2e6472164751cd197b7651a1
1 #ifndef DIFF_KEY_WINDOW_H
2 #define DIFF_KEY_WINDOW_H
4 //#define DEBUG
6 class DiffKeyThread;
7 class DiffKeyWindow;
9 #include "filexml.inc"
10 #include "diffkey.h"
11 #include "mutex.h"
12 #include "pluginvclient.h"
14 PLUGIN_THREAD_HEADER(DiffKeyMain, DiffKeyThread, DiffKeyWindow)
16 class DiffKeyToggle;
17 class DiffKeyResetButton;
18 class DiffKeyAddButton;
19 class DiffKeySlider;
21 class DiffKeyWindow : public BC_Window
23 public:
24 DiffKeyWindow(DiffKeyMain *client, int x, int y);
25 ~DiffKeyWindow();
27 int create_objects();
28 int close_event();
30 DiffKeyMain *client;
31 DiffKeyResetButton *reset_key_frame;
32 DiffKeyAddButton *add_key_frame;
33 DiffKeySlider *hue_imp;
34 DiffKeySlider *sat_imp;
35 DiffKeySlider *val_imp;
36 DiffKeySlider *r_imp;
37 DiffKeySlider *g_imp;
38 DiffKeySlider *b_imp;
39 DiffKeySlider *vis_thresh;
40 DiffKeySlider *trans_thresh;
41 DiffKeySlider *desat_thresh;
42 DiffKeyToggle *show_mask;
43 DiffKeyToggle *hue_on;
44 DiffKeyToggle *sat_on;
45 DiffKeyToggle *val_on;
46 DiffKeyToggle *r_on;
47 DiffKeyToggle *g_on;
48 DiffKeyToggle *b_on;
49 DiffKeyToggle *vis_on;
50 DiffKeyToggle *trans_on;
51 DiffKeyToggle *desat_on;
54 class DiffKeyToggle : public BC_CheckBox
56 public:
57 DiffKeyToggle(DiffKeyMain *client, int *output, char *string, int x, int y);
58 ~DiffKeyToggle();
59 int handle_event();
61 DiffKeyMain *client;
62 int *output;
66 class DiffKeyResetButton : public BC_GenericButton
68 public:
69 DiffKeyResetButton(DiffKeyMain *client, int x, int y);
70 int handle_event();
71 DiffKeyMain *client;
74 class DiffKeyAddButton : public BC_GenericButton
76 public:
77 DiffKeyAddButton(DiffKeyMain *client, int x, int y);
78 int handle_event();
79 DiffKeyMain *client;
82 class DiffKeySlider : public BC_ISlider
84 public:
85 DiffKeySlider(DiffKeyMain *client, float *output, int x, int y);
86 int handle_event();
88 DiffKeyMain *client;
89 float *output;
95 #endif