Fixed initialisation of tf in file_open(). Without setting the memory to 0,
[cinelerra_cv/mob.git] / plugins / wipe / wipe.h
blob1ff640e1c644386101e61dced397fcf104473b52
1 #ifndef WIPE_H
2 #define WIPE_H
4 class WipeMain;
5 class WipeWindow;
8 #include "overlayframe.inc"
9 #include "pluginvclient.h"
10 #include "vframe.inc"
15 class WipeLeft : public BC_Radial
17 public:
18 WipeLeft(WipeMain *plugin,
19 WipeWindow *window,
20 int x,
21 int y);
22 int handle_event();
23 WipeMain *plugin;
24 WipeWindow *window;
27 class WipeRight : public BC_Radial
29 public:
30 WipeRight(WipeMain *plugin,
31 WipeWindow *window,
32 int x,
33 int y);
34 int handle_event();
35 WipeMain *plugin;
36 WipeWindow *window;
42 class WipeWindow : public BC_Window
44 public:
45 WipeWindow(WipeMain *plugin, int x, int y);
46 void create_objects();
47 int close_event();
48 WipeMain *plugin;
49 WipeLeft *left;
50 WipeRight *right;
54 PLUGIN_THREAD_HEADER(WipeMain, WipeThread, WipeWindow)
57 class WipeMain : public PluginVClient
59 public:
60 WipeMain(PluginServer *server);
61 ~WipeMain();
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 WipeThread *thread;
81 BC_Hash *defaults;
84 #endif