5 #include "meterpanel.inc"
7 #include "manualgoto.inc"
16 class EditDelOutPoint
;
26 class EditLabelbutton
;
35 EditPanel(MWindow
*mwindow
,
36 BC_WindowBase
*subwindow
,
39 int editing_mode
, // From edl.inc
42 int use_splice
, // Extra buttons
46 int use_copy
, // Use copy when in EDITING_ARROW
57 void set_meters(MeterPanel
*meter_panel
);
59 void delete_buttons();
60 void create_buttons();
61 void reposition_buttons(int x
, int y
);
64 virtual void copy_selection();
65 virtual void splice_selection();
66 virtual void overwrite_selection();
67 virtual void set_inpoint();
68 virtual void set_outpoint();
69 virtual void clear_inpoint();
70 virtual void clear_outpoint();
71 virtual void to_clip();
72 virtual void toggle_label();
73 virtual void prev_label();
74 virtual void next_label();
77 BC_WindowBase
*subwindow
;
78 MeterPanel
*meter_panel
;
100 EditOutPoint
*outpoint
;
101 // EditDelInPoint *delinpoint;
102 // EditDelOutPoint *deloutpoint;
104 EditOverwrite
*overwrite
;
106 EditExtract
*extract
;
108 EditManualGoto
*mangoto
;
112 EditLabelbutton
*labelbutton
;
113 EditPrevLabel
*prevlabel
;
114 EditNextLabel
*nextlabel
;
120 KeyFrameButton
*keyframe
;
123 class EditInPoint
: public BC_Button
126 EditInPoint(MWindow
*mwindow
, EditPanel
*panel
, int x
, int y
);
129 int keypress_event();
134 class EditOutPoint
: public BC_Button
137 EditOutPoint(MWindow
*mwindow
, EditPanel
*panel
, int x
, int y
);
140 int keypress_event();
145 class EditDelInPoint
: public BC_Button
148 EditDelInPoint(MWindow
*mwindow
, EditPanel
*panel
, int x
, int y
);
151 int keypress_event();
156 class EditDelOutPoint
: public BC_Button
159 EditDelOutPoint(MWindow
*mwindow
, EditPanel
*panel
, int x
, int y
);
162 int keypress_event();
167 class EditSplice
: public BC_Button
170 EditSplice(MWindow
*mwindow
, EditPanel
*panel
, int x
, int y
);
173 int keypress_event();
178 class EditOverwrite
: public BC_Button
181 EditOverwrite(MWindow
*mwindow
, EditPanel
*panel
, int x
, int y
);
184 int keypress_event();
189 class EditLift
: public BC_Button
192 EditLift(MWindow
*mwindow
, EditPanel
*panel
, int x
, int y
);
199 class EditExtract
: public BC_Button
202 EditExtract(MWindow
*mwindow
, EditPanel
*panel
, int x
, int y
);
209 class EditToClip
: public BC_Button
212 EditToClip(MWindow
*mwindow
, EditPanel
*panel
, int x
, int y
);
215 int keypress_event();
220 class EditManualGoto
: public BC_Button
223 EditManualGoto(MWindow
*mwindow
, EditPanel
*panel
, int x
, int y
);
226 int keypress_event();
232 class EditCut
: public BC_Button
235 EditCut(MWindow
*mwindow
, EditPanel
*panel
, int x
, int y
);
238 int keypress_event();
245 class EditCopy
: public BC_Button
248 EditCopy(MWindow
*mwindow
, EditPanel
*panel
, int x
, int y
);
251 int keypress_event();
258 class EditAppend
: public BC_Button
261 EditAppend(MWindow
*mwindow
, EditPanel
*panel
, int x
, int y
);
270 class EditInsert
: public BC_Button
273 EditInsert(MWindow
*mwindow
, EditPanel
*panel
, int x
, int y
);
282 class EditPaste
: public BC_Button
285 EditPaste(MWindow
*mwindow
, EditPanel
*panel
, int x
, int y
);
288 int keypress_event();
295 class EditTransition
: public BC_Button
298 EditTransition(MWindow
*mwindow
, EditPanel
*panel
, int x
, int y
);
305 class EditPresentation
: public BC_Button
308 EditPresentation(MWindow
*mwindow
, EditPanel
*panel
, int x
, int y
);
315 class EditUndo
: public BC_Button
318 EditUndo(MWindow
*mwindow
, EditPanel
*panel
, int x
, int y
);
320 int keypress_event();
326 class EditRedo
: public BC_Button
329 EditRedo(MWindow
*mwindow
, EditPanel
*panel
, int x
, int y
);
331 int keypress_event();
337 class EditLabelbutton
: public BC_Button
340 EditLabelbutton(MWindow
*mwindow
, EditPanel
*panel
, int x
, int y
);
342 int keypress_event();
348 class EditFit
: public BC_Button
351 EditFit(MWindow
*mwindow
, EditPanel
*panel
, int x
, int y
);
353 int keypress_event();
360 class EditPrevLabel
: public BC_Button
363 EditPrevLabel(MWindow
*mwindow
,
370 int keypress_event();
378 class EditNextLabel
: public BC_Button
381 EditNextLabel(MWindow
*mwindow
,
388 int keypress_event();
397 class ArrowButton
: public BC_Toggle
400 ArrowButton(MWindow
*mwindow
, EditPanel
*panel
, int x
, int y
);
406 class IBeamButton
: public BC_Toggle
409 IBeamButton(MWindow
*mwindow
, EditPanel
*panel
, int x
, int y
);
415 class KeyFrameButton
: public BC_Toggle
418 KeyFrameButton(MWindow
*mwindow
, int x
, int y
);