r125: This commit was manufactured by cvs2svn to create tag 'r1_1_7-last'.
[cinelerra_cv/mob.git] / hvirtual / plugins / brightness / brightnesswindow.h
blob66e2ec893ade5c3ad8eb3752b3052818d7686037
1 #ifndef BRIGHTNESSWINDOW_H
2 #define BRIGHTNESSWINDOW_H
5 class BrightnessThread;
6 class BrightnessWindow;
7 class BrightnessSlider;
8 class BrightnessLuma;
10 #include "brightness.h"
11 #include "guicast.h"
12 #include "mutex.h"
13 #include "pluginvclient.h"
14 #include "thread.h"
16 PLUGIN_THREAD_HEADER(BrightnessMain, BrightnessThread, BrightnessWindow)
18 class BrightnessWindow : public BC_Window
20 public:
21 BrightnessWindow(BrightnessMain *client, int x, int y);
22 ~BrightnessWindow();
24 int create_objects();
25 int close_event();
27 BrightnessMain *client;
28 BrightnessSlider *brightness;
29 BrightnessSlider *contrast;
30 BrightnessLuma *luma;
33 class BrightnessSlider : public BC_FSlider
35 public:
36 BrightnessSlider(BrightnessMain *client, float *output, int x, int y);
37 ~BrightnessSlider();
38 int handle_event();
40 BrightnessMain *client;
41 float *output;
44 class BrightnessLuma : public BC_CheckBox
46 public:
47 BrightnessLuma(BrightnessMain *client, int x, int y);
48 ~BrightnessLuma();
49 int handle_event();
51 BrightnessMain *client;
54 #endif