9 #include "messages.inc"
11 #include "sharedlocation.h"
13 class TransitionMenuItem
: public BC_MenuItem
16 TransitionMenuItem(MWindow
*mwindow
, int audio
, int video
);
17 ~TransitionMenuItem();
21 // PasteTransition *thread;
24 class PasteTransition
: public Thread
27 PasteTransition(MWindow
*mwindow
, int audio
, int video
);
37 class Transition
: public Plugin
40 Transition(EDL
*edl
, Edit
*edit
, char *title
, long unit_length
);
46 void save_xml(FileXML
*file
);
47 void load_xml(FileXML
*file
);
52 Transition(Transition
*that
, Edit
*edit
);
55 KeyFrame
* get_keyframe();
56 int reset_parameters();
58 Transition
& operator=(Transition
&that
);
59 Plugin
& operator=(Plugin
&that
);
60 Edit
& operator=(Edit
&that
);
61 int operator==(Transition
&that
);
62 int operator==(Plugin
&that
);
63 int operator==(Edit
&that
);
64 int identical(Transition
*that
);
66 // Only the show value from the attachment point is used.
67 int set_show_derived(int value
) {};
69 int popup_transition(int x
, int y
);
70 // Update the widgets after loading
72 // Update edit after attaching
73 int update_edit(int is_loading
);
74 char* default_title();
78 // Only used by operator= and copy constructor
79 void copy_from(Transition
*that
);