X-Git-Url: http://git.cinelerra-gg.org/git/?p=goodguy%2Fhistory.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fpatchgui.h;h=126b06661a0113d473d698c9e012bd1fed6628ba;hp=e16dfce55ee8a2c8fa399d94efdc04f36c55ab8c;hb=0513350234a8dcd08e5a0117d5121724ef7b76b6;hpb=0fbaff5c59fa1a3b93f5f9d344451f6aa57778d4 diff --git a/cinelerra-5.1/cinelerra/patchgui.h b/cinelerra-5.1/cinelerra/patchgui.h index e16dfce5..126b0666 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]; }; @@ -181,5 +183,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