Credit Andrew - fix vorbis audio which was scratchy and ensure aging plugin does...
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / patchgui.h
index a120beed07dcd21e7cbb09e284c670ca6c64c71e..980296a9d790ec222e12121a03c5602306915b7a 100644 (file)
 #include "guicast.h"
 #include "mwindow.inc"
 #include "patchbay.inc"
+#include "patchgui.inc"
 #include "intauto.inc"
 #include "track.inc"
 
 
-
-
-class TitlePatch;
-class PlayPatch;
-class RecordPatch;
-class AutoPatch;
-class GangPatch;
-class DrawPatch;
-class MutePatch;
-class ZoomPatch;
-class ExpandPatch;
-class NudgePatch;
-class MixPatch;
-
 class PatchGUI
 {
 public:
@@ -60,8 +47,7 @@ public:
                BC_Toggle *toggle,
                int *output);
        virtual int update(int x, int y);
-       virtual void synchronize_fade(float change) {};
-       void synchronize_faders(float change, int audio, int video);
+       void synchronize_faders(float change, int audio, int video, int edge, int span);
        char* calculate_nudge_text(int *changed);
        int64_t calculate_nudge(const char *string);
 
@@ -84,10 +70,12 @@ public:
        DrawPatch *draw;
        MutePatch *mute;
        ZoomPatch *zoom;
+       MasterPatch *master;
        ExpandPatch *expand;
        NudgePatch *nudge;
        MixPatch *mix;
        char string_return[BCTEXTLEN];
+       int edge, span;
 };
 
 
@@ -172,6 +160,15 @@ public:
        PatchGUI *patch;
 };
 
+class MasterPatch : public BC_Toggle
+{
+public:
+       MasterPatch(MWindow *mwindow, PatchGUI *patch, int x, int y);
+       int handle_event();
+       MWindow *mwindow;
+       PatchGUI *patch;
+};
+
 class ExpandPatch : public BC_Toggle
 {
 public:
@@ -208,5 +205,4 @@ public:
        PatchGUI *patch;
 };
 
-
 #endif