Fixed initialisation of tf in file_open(). Without setting the memory to 0,
[cinelerra_cv/mob.git] / plugins / brightness / brightnesswindow.h
blob9e917c47dde6eb3d02925aee7ea1fb868dce048e
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, int is_brightness);
37 ~BrightnessSlider();
38 int handle_event();
39 char* get_caption();
41 BrightnessMain *client;
42 float *output;
43 int is_brightness;
44 char string[BCTEXTLEN];
47 class BrightnessLuma : public BC_CheckBox
49 public:
50 BrightnessLuma(BrightnessMain *client, int x, int y);
51 ~BrightnessLuma();
52 int handle_event();
54 BrightnessMain *client;
57 #endif