6 #include "patchbay.inc"
26 PatchGUI(MWindow
*mwindow
,
33 virtual int create_objects();
34 virtual int reposition(int x
, int y
);
35 void toggle_behavior(int type
,
39 virtual int update(int x
, int y
);
40 virtual void synchronize_fade(float change
) {};
41 void synchronize_faders(float change
, int audio
, int video
);
46 // Used by update routines so non-existent track doesn't need to be dereferenced
47 // to know it doesn't match the current EDL.
51 // Don't synchronize the fader if this is true.
57 // AutoPatch *automate;
66 class PlayPatch
: public BC_Toggle
69 PlayPatch(MWindow
*mwindow
, PatchGUI
*patch
, int x
, int y
);
70 int button_press_event();
71 int button_release_event();
76 class RecordPatch
: public BC_Toggle
79 RecordPatch(MWindow
*mwindow
, PatchGUI
*patch
, int x
, int y
);
80 int button_press_event();
81 int button_release_event();
86 class TitlePatch
: public BC_TextBox
89 TitlePatch(MWindow
*mwindow
, PatchGUI
*patch
, int x
, int y
);
95 class AutoPatch
: public BC_Toggle
98 AutoPatch(MWindow
*mwindow
, PatchGUI
*patch
, int x
, int y
);
99 int button_press_event();
100 int button_release_event();
105 class GangPatch
: public BC_Toggle
108 GangPatch(MWindow
*mwindow
, PatchGUI
*patch
, int x
, int y
);
109 int button_press_event();
110 int button_release_event();
115 class DrawPatch
: public BC_Toggle
118 DrawPatch(MWindow
*mwindow
, PatchGUI
*patch
, int x
, int y
);
119 int button_press_event();
120 int button_release_event();
125 class MutePatch
: public BC_Toggle
128 MutePatch(MWindow
*mwindow
, PatchGUI
*patch
, int x
, int y
);
129 int button_press_event();
130 int button_release_event();
131 static IntAuto
* get_keyframe(MWindow
*mwindow
, PatchGUI
*patch
);
136 class ExpandPatch
: public BC_Toggle
139 ExpandPatch(MWindow
*mwindow
, PatchGUI
*patch
, int x
, int y
);
140 int button_press_event();
141 int button_release_event();