Fixed initialisation of tf in file_open(). Without setting the memory to 0,
[cinelerra_cv/mob.git] / plugins / invertvideo / invertwindow.h
blobb4b170ab2e84f7d7e94153300739cf7140867bfb
1 #ifndef FLIPWINDOW_H
2 #define FLIPWINDOW_H
4 #include "bcbase.h"
6 class InvertThread;
7 class InvertWindow;
9 #include "filexml.h"
10 #include "mutex.h"
11 #include "invert.h"
13 class InvertThread : public Thread
15 public:
16 InvertThread(InvertMain *client);
17 ~InvertThread();
19 void run();
21 Mutex gui_started; // prevent loading data until the GUI is started
22 InvertMain *client;
23 InvertWindow *window;
26 class InvertToggle;
28 class InvertWindow : public BC_Window
30 public:
31 InvertWindow(InvertMain *client);
32 ~InvertWindow();
34 int create_objects();
35 int close_event();
37 InvertMain *client;
38 InvertToggle *invert;
41 class InvertToggle : public BC_CheckBox
43 public:
44 InvertToggle(InvertMain *client, int *output, int x, int y);
45 ~InvertToggle();
46 int handle_event();
48 InvertMain *client;
49 int *output;
53 #endif