r1008: pt_BR translation update
[cinelerra_cv/mob.git] / plugins / ivtc / ivtcwindow.h
blob2e3b9b0d0e25c961fb517aaad6d191351ce4f78e
1 #ifndef IVTCWINDOW_H
2 #define IVTCWINDOW_H
4 #include "guicast.h"
6 class IVTCThread;
7 class IVTCWindow;
9 #include "filexml.h"
10 #include "mutex.h"
11 #include "ivtc.h"
13 #define TOTAL_PATTERNS 3
15 PLUGIN_THREAD_HEADER(IVTCMain, IVTCThread, IVTCWindow)
18 class IVTCOffset;
19 class IVTCFieldOrder;
20 class IVTCAuto;
21 class IVTCAutoThreshold;
22 class IVTCPattern;
24 class IVTCWindow : public BC_Window
26 public:
27 IVTCWindow(IVTCMain *client, int x, int y);
28 ~IVTCWindow();
30 int create_objects();
31 int close_event();
33 IVTCMain *client;
34 IVTCOffset *frame_offset;
35 IVTCFieldOrder *first_field;
36 // IVTCAuto *automatic;
37 IVTCAutoThreshold *threshold;
38 IVTCPattern *pattern[TOTAL_PATTERNS];
41 class IVTCOffset : public BC_TextBox
43 public:
44 IVTCOffset(IVTCMain *client, int x, int y);
45 ~IVTCOffset();
46 int handle_event();
47 IVTCMain *client;
50 class IVTCFieldOrder : public BC_CheckBox
52 public:
53 IVTCFieldOrder(IVTCMain *client, int x, int y);
54 ~IVTCFieldOrder();
55 int handle_event();
56 IVTCMain *client;
59 class IVTCAuto : public BC_CheckBox
61 public:
62 IVTCAuto(IVTCMain *client, int x, int y);
63 ~IVTCAuto();
64 int handle_event();
65 IVTCMain *client;
68 class IVTCPattern : public BC_Radial
70 public:
71 IVTCPattern(IVTCMain *client,
72 IVTCWindow *window,
73 int number,
74 char *text,
75 int x,
76 int y);
77 ~IVTCPattern();
78 int handle_event();
79 IVTCWindow *window;
80 IVTCMain *client;
81 int number;
84 class IVTCAutoThreshold : public BC_TextBox
86 public:
87 IVTCAutoThreshold(IVTCMain *client, int x, int y);
88 ~IVTCAutoThreshold();
89 int handle_event();
90 IVTCMain *client;
93 #endif