5 #include "meterpanel.inc"
7 #include "manualgoto.inc"
12 class EditInPoint
: public BC_Button
15 EditInPoint(MWindow
*mwindow
, EditPanel
*panel
, int x
, int y
);
23 class EditOutPoint
: public BC_Button
26 EditOutPoint(MWindow
*mwindow
, EditPanel
*panel
, int x
, int y
);
34 class EditDelInPoint
: public BC_Button
37 EditDelInPoint(MWindow
*mwindow
, EditPanel
*panel
, int x
, int y
);
45 class EditDelOutPoint
: public BC_Button
48 EditDelOutPoint(MWindow
*mwindow
, EditPanel
*panel
, int x
, int y
);
56 class EditSplice
: public BC_Button
59 EditSplice(MWindow
*mwindow
, EditPanel
*panel
, int x
, int y
);
67 class EditOverwrite
: public BC_Button
70 EditOverwrite(MWindow
*mwindow
, EditPanel
*panel
, int x
, int y
);
78 class EditLift
: public BC_Button
81 EditLift(MWindow
*mwindow
, EditPanel
*panel
, int x
, int y
);
88 class EditExtract
: public BC_Button
91 EditExtract(MWindow
*mwindow
, EditPanel
*panel
, int x
, int y
);
98 class EditToClip
: public BC_Button
101 EditToClip(MWindow
*mwindow
, EditPanel
*panel
, int x
, int y
);
104 int keypress_event();
109 class EditManualGoto
: public BC_Button
112 EditManualGoto(MWindow
*mwindow
, EditPanel
*panel
, int x
, int y
);
115 int keypress_event();
121 class EditCut
: public BC_Button
124 EditCut(MWindow
*mwindow
, EditPanel
*panel
, int x
, int y
);
127 int keypress_event();
134 class EditCopy
: public BC_Button
137 EditCopy(MWindow
*mwindow
, EditPanel
*panel
, int x
, int y
);
140 int keypress_event();
147 class EditAppend
: public BC_Button
150 EditAppend(MWindow
*mwindow
, EditPanel
*panel
, int x
, int y
);
159 class EditInsert
: public BC_Button
162 EditInsert(MWindow
*mwindow
, EditPanel
*panel
, int x
, int y
);
171 class EditPaste
: public BC_Button
174 EditPaste(MWindow
*mwindow
, EditPanel
*panel
, int x
, int y
);
177 int keypress_event();
184 class EditTransition
: public BC_Button
187 EditTransition(MWindow
*mwindow
, EditPanel
*panel
, int x
, int y
);
194 class EditPresentation
: public BC_Button
197 EditPresentation(MWindow
*mwindow
, EditPanel
*panel
, int x
, int y
);
204 class EditUndo
: public BC_Button
207 EditUndo(MWindow
*mwindow
, EditPanel
*panel
, int x
, int y
);
209 int keypress_event();
215 class EditRedo
: public BC_Button
218 EditRedo(MWindow
*mwindow
, EditPanel
*panel
, int x
, int y
);
220 int keypress_event();
226 class EditLabelbutton
: public BC_Button
229 EditLabelbutton(MWindow
*mwindow
, EditPanel
*panel
, int x
, int y
);
231 int keypress_event();
237 class EditFit
: public BC_Button
240 EditFit(MWindow
*mwindow
, EditPanel
*panel
, int x
, int y
);
242 int keypress_event();
248 class EditFitAutos
: public BC_Button
251 EditFitAutos(MWindow
*mwindow
, EditPanel
*panel
, int x
, int y
);
253 int keypress_event();
260 class EditPrevLabel
: public BC_Button
263 EditPrevLabel(MWindow
*mwindow
,
270 int keypress_event();
278 class EditNextLabel
: public BC_Button
281 EditNextLabel(MWindow
*mwindow
,
288 int keypress_event();
297 class ArrowButton
: public BC_Toggle
300 ArrowButton(MWindow
*mwindow
, EditPanel
*panel
, int x
, int y
);
306 class IBeamButton
: public BC_Toggle
309 IBeamButton(MWindow
*mwindow
, EditPanel
*panel
, int x
, int y
);
315 class KeyFrameButton
: public BC_Toggle
318 KeyFrameButton(MWindow
*mwindow
, int x
, int y
);
323 class LockLabelsButton
: public BC_Toggle
326 LockLabelsButton(MWindow
*mwindow
, int x
, int y
);
335 EditPanel(MWindow
*mwindow
,
336 BC_WindowBase
*subwindow
,
339 int editing_mode
, // From edl.inc
340 int use_editing_mode
,
342 int use_splice
, // Extra buttons
346 int use_copy
, // Use copy when in EDITING_ARROW
358 void set_meters(MeterPanel
*meter_panel
);
360 void delete_buttons();
361 void create_buttons();
362 void reposition_buttons(int x
, int y
);
363 int create_objects();
365 virtual void copy_selection();
366 virtual void splice_selection();
367 virtual void overwrite_selection();
368 virtual void set_inpoint();
369 virtual void set_outpoint();
370 virtual void clear_inpoint();
371 virtual void clear_outpoint();
372 virtual void to_clip();
373 virtual void toggle_label();
374 virtual void prev_label();
375 virtual void next_label();
378 BC_WindowBase
*subwindow
;
379 MeterPanel
*meter_panel
;
381 int use_editing_mode
;
401 EditFitAutos
*fit_autos
;
402 EditInPoint
*inpoint
;
403 EditOutPoint
*outpoint
;
404 // EditDelInPoint *delinpoint;
405 // EditDelOutPoint *deloutpoint;
407 EditOverwrite
*overwrite
;
409 EditExtract
*extract
;
411 EditManualGoto
*mangoto
;
415 EditLabelbutton
*labelbutton
;
416 EditPrevLabel
*prevlabel
;
417 EditNextLabel
*nextlabel
;
423 KeyFrameButton
*keyframe
;
424 LockLabelsButton
*locklabels
;
431 // c-file-style: "linux"