X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fpatchgui.h;h=980296a9d790ec222e12121a03c5602306915b7a;hb=22c6251d37911a11e322bf7518e6a992ea0bb6c7;hp=a120beed07dcd21e7cbb09e284c670ca6c64c71e;hpb=fbdd13b462256ed4f3b35dc114385fe0b0de0dcd;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/patchgui.h b/cinelerra-5.1/cinelerra/patchgui.h index a120beed..980296a9 100644 --- a/cinelerra-5.1/cinelerra/patchgui.h +++ b/cinelerra-5.1/cinelerra/patchgui.h @@ -25,24 +25,11 @@ #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