Fixed initialisation of tf in file_open(). Without setting the memory to 0,
[cinelerra_cv/mob.git] / plugins / blur / blurwindow.h
blobdf704a4e2629b567dec4f1c8e0726bce8ddb3db5
1 #ifndef BLURWINDOW_H
2 #define BLURWINDOW_H
5 class BlurThread;
6 class BlurWindow;
8 #include "blur.inc"
9 #include "filexml.inc"
10 #include "guicast.h"
11 #include "mutex.h"
12 #include "thread.h"
14 PLUGIN_THREAD_HEADER(BlurMain, BlurThread, BlurWindow)
16 class BlurVertical;
17 class BlurHorizontal;
18 class BlurRadius;
19 class BlurA;
20 class BlurR;
21 class BlurG;
22 class BlurB;
24 class BlurWindow : public BC_Window
26 public:
27 BlurWindow(BlurMain *client, int x, int y);
28 ~BlurWindow();
30 int create_objects();
31 int close_event();
33 BlurMain *client;
34 BlurVertical *vertical;
35 BlurHorizontal *horizontal;
36 BlurRadius *radius;
37 BlurA *a;
38 BlurR *r;
39 BlurG *g;
40 BlurB *b;
43 class BlurA : public BC_CheckBox
45 public:
46 BlurA(BlurMain *client, int x, int y);
47 int handle_event();
48 BlurMain *client;
50 class BlurR : public BC_CheckBox
52 public:
53 BlurR(BlurMain *client, int x, int y);
54 int handle_event();
55 BlurMain *client;
57 class BlurG : public BC_CheckBox
59 public:
60 BlurG(BlurMain *client, int x, int y);
61 int handle_event();
62 BlurMain *client;
64 class BlurB : public BC_CheckBox
66 public:
67 BlurB(BlurMain *client, int x, int y);
68 int handle_event();
69 BlurMain *client;
73 class BlurRadius : public BC_IPot
75 public:
76 BlurRadius(BlurMain *client, int x, int y);
77 ~BlurRadius();
78 int handle_event();
80 BlurMain *client;
83 class BlurVertical : public BC_CheckBox
85 public:
86 BlurVertical(BlurMain *client, BlurWindow *window, int x, int y);
87 ~BlurVertical();
88 int handle_event();
90 BlurMain *client;
91 BlurWindow *window;
94 class BlurHorizontal : public BC_CheckBox
96 public:
97 BlurHorizontal(BlurMain *client, BlurWindow *window, int x, int y);
98 ~BlurHorizontal();
99 int handle_event();
101 BlurMain *client;
102 BlurWindow *window;
106 #endif