Fixed initialisation of tf in file_open(). Without setting the memory to 0,
[cinelerra_cv/mob.git] / plugins / irissquare / irissquare.h
blobce81fdc7d5ece28ba4fe827407f207055736149f
1 #ifndef IRISSQUARE_H
2 #define IRISSQUARE_H
4 class IrisSquareMain;
5 class IrisSquareWindow;
8 #include "overlayframe.inc"
9 #include "pluginvclient.h"
10 #include "vframe.inc"
15 class IrisSquareIn : public BC_Radial
17 public:
18 IrisSquareIn(IrisSquareMain *plugin,
19 IrisSquareWindow *window,
20 int x,
21 int y);
22 int handle_event();
23 IrisSquareMain *plugin;
24 IrisSquareWindow *window;
27 class IrisSquareOut : public BC_Radial
29 public:
30 IrisSquareOut(IrisSquareMain *plugin,
31 IrisSquareWindow *window,
32 int x,
33 int y);
34 int handle_event();
35 IrisSquareMain *plugin;
36 IrisSquareWindow *window;
42 class IrisSquareWindow : public BC_Window
44 public:
45 IrisSquareWindow(IrisSquareMain *plugin, int x, int y);
46 void create_objects();
47 int close_event();
48 IrisSquareMain *plugin;
49 IrisSquareIn *in;
50 IrisSquareOut *out;
54 PLUGIN_THREAD_HEADER(IrisSquareMain, IrisSquareThread, IrisSquareWindow)
57 class IrisSquareMain : public PluginVClient
59 public:
60 IrisSquareMain(PluginServer *server);
61 ~IrisSquareMain();
63 // required for all realtime plugins
64 void load_configuration();
65 int process_realtime(VFrame *incoming, VFrame *outgoing);
66 int load_defaults();
67 int save_defaults();
68 void save_data(KeyFrame *keyframe);
69 void read_data(KeyFrame *keyframe);
70 int show_gui();
71 void raise_window();
72 int uses_gui();
73 int is_transition();
74 int is_video();
75 char* plugin_title();
76 int set_string();
77 VFrame* new_picon();
79 int direction;
80 IrisSquareThread *thread;
81 BC_Hash *defaults;
84 #endif