mixer
[goodguy/history.git] / cinelerra-5.1 / cinelerra / patchgui.h
index e16dfce55ee8a2c8fa399d94efdc04f36c55ab8c..126b06661a0113d473d698c9e012bd1fed6628ba 100644 (file)
@@ -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