X-Git-Url: http://git.cinelerra-gg.org/git/?p=goodguy%2Fhistory.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fpatchgui.h;h=53ba9d20f3d617cc9b996c47da94134675777102;hp=e16dfce55ee8a2c8fa399d94efdc04f36c55ab8c;hb=2e48b660e37eb5c661264d601211e16cb6cd6e89;hpb=21c2e6b36d6a96c2f662a89459d607b5a387f4eb diff --git a/cinelerra-5.1/cinelerra/patchgui.h b/cinelerra-5.1/cinelerra/patchgui.h index e16dfce5..53ba9d20 100644 --- a/cinelerra-5.1/cinelerra/patchgui.h +++ b/cinelerra-5.1/cinelerra/patchgui.h @@ -40,6 +40,7 @@ class DrawPatch; class MutePatch; class ExpandPatch; class NudgePatch; +class MixPatch; class PatchGUI { @@ -69,7 +70,7 @@ public: // Used by update routines so non-existent track doesn't need to be dereferenced // to know it doesn't match the current EDL. int track_id; - int data_type; + int data_type, mixer; int x, y; // Don't synchronize the fader if this is true. int change_source; @@ -83,6 +84,7 @@ public: MutePatch *mute; ExpandPatch *expand; NudgePatch *nudge; + MixPatch *mix; char string_return[BCTEXTLEN]; }; @@ -111,8 +113,9 @@ public: class TitlePatch : public BC_TextBox { public: - TitlePatch(MWindow *mwindow, PatchGUI *patch, int x, int y); + TitlePatch(MWindow *mwindow, PatchGUI *patch, int x, int y, int w); int handle_event(); + void update(const char *text); MWindow *mwindow; PatchGUI *patch; }; @@ -181,5 +184,17 @@ public: PatchGUI *patch; }; +class MixPatch : public BC_Toggle +{ +public: + MixPatch(MWindow *mwindow, PatchGUI *patch, int x, int y); + ~MixPatch(); + int handle_event(); + void update(int v); + + MWindow *mwindow; + PatchGUI *patch; +}; + #endif