Fixed initialisation of tf in file_open(). Without setting the memory to 0,
[cinelerra_cv/mob.git] / plugins / quark / quarkwindow.h
blob3b2e9fb3d46a6eedbbdcae121112cbe8af8c9558
1 #ifndef SHARPENWINDOW_H
2 #define SHARPENWINDOW_H
4 #include "guicast.h"
6 class SharpenThread;
7 class SharpenWindow;
8 class SharpenInterlace;
10 #include "filexml.h"
11 #include "mutex.h"
12 #include "quark.h"
14 class SharpenThread : public Thread
16 public:
17 SharpenThread(SharpenMain *client);
18 ~SharpenThread();
20 void run();
22 // prevent loading data until the GUI is started
23 Mutex gui_started, completion;
24 SharpenMain *client;
25 SharpenWindow *window;
28 class SharpenSlider;
29 class SharpenHorizontal;
30 class SharpenLuminance;
32 class SharpenWindow : public BC_Window
34 public:
35 SharpenWindow(SharpenMain *client, int x, int y);
36 ~SharpenWindow();
38 int create_objects();
39 int close_event();
41 SharpenMain *client;
42 SharpenSlider *sharpen_slider;
43 SharpenInterlace *sharpen_interlace;
44 SharpenHorizontal *sharpen_horizontal;
45 SharpenLuminance *sharpen_luminance;
48 class SharpenSlider : public BC_ISlider
50 public:
51 SharpenSlider(SharpenMain *client, float *output, int x, int y);
52 ~SharpenSlider();
53 int handle_event();
55 SharpenMain *client;
56 float *output;
59 class SharpenInterlace : public BC_CheckBox
61 public:
62 SharpenInterlace(SharpenMain *client, int x, int y);
63 ~SharpenInterlace();
64 int handle_event();
66 SharpenMain *client;
69 class SharpenHorizontal : public BC_CheckBox
71 public:
72 SharpenHorizontal(SharpenMain *client, int x, int y);
73 ~SharpenHorizontal();
74 int handle_event();
76 SharpenMain *client;
79 class SharpenLuminance : public BC_CheckBox
81 public:
82 SharpenLuminance(SharpenMain *client, int x, int y);
83 ~SharpenLuminance();
84 int handle_event();
86 SharpenMain *client;
90 #endif