r123: Merged HEAD and TEST. New stuff shall be committed to HEAD from now on.
[cinelerra_cv/mob.git] / plugins / slide / slide.h
blob09ff122a867de8472dfbb55d1ec430b894b46c7d
1 #ifndef SLIDE_H
2 #define SLIDE_H
4 class SlideMain;
5 class SlideWindow;
8 #include "overlayframe.inc"
9 #include "pluginvclient.h"
10 #include "vframe.inc"
15 class SlideLeft : public BC_Radial
17 public:
18 SlideLeft(SlideMain *plugin,
19 SlideWindow *window,
20 int x,
21 int y);
22 int handle_event();
23 SlideMain *plugin;
24 SlideWindow *window;
27 class SlideRight : public BC_Radial
29 public:
30 SlideRight(SlideMain *plugin,
31 SlideWindow *window,
32 int x,
33 int y);
34 int handle_event();
35 SlideMain *plugin;
36 SlideWindow *window;
39 class SlideIn : public BC_Radial
41 public:
42 SlideIn(SlideMain *plugin,
43 SlideWindow *window,
44 int x,
45 int y);
46 int handle_event();
47 SlideMain *plugin;
48 SlideWindow *window;
51 class SlideOut : public BC_Radial
53 public:
54 SlideOut(SlideMain *plugin,
55 SlideWindow *window,
56 int x,
57 int y);
58 int handle_event();
59 SlideMain *plugin;
60 SlideWindow *window;
67 class SlideWindow : public BC_Window
69 public:
70 SlideWindow(SlideMain *plugin, int x, int y);
71 void create_objects();
72 int close_event();
73 SlideMain *plugin;
74 SlideLeft *left;
75 SlideRight *right;
76 SlideIn *in;
77 SlideOut *out;
81 PLUGIN_THREAD_HEADER(SlideMain, SlideThread, SlideWindow)
84 class SlideMain : public PluginVClient
86 public:
87 SlideMain(PluginServer *server);
88 ~SlideMain();
90 // required for all realtime plugins
91 void load_configuration();
92 int process_realtime(VFrame *incoming, VFrame *outgoing);
93 int load_defaults();
94 int save_defaults();
95 void save_data(KeyFrame *keyframe);
96 void read_data(KeyFrame *keyframe);
97 int show_gui();
98 void raise_window();
99 int uses_gui();
100 int is_transition();
101 int is_video();
102 char* plugin_title();
103 int set_string();
104 VFrame* new_picon();
106 int motion_direction;
107 int direction;
108 SlideThread *thread;
109 Defaults *defaults;
112 #endif