X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fpatchgui.h;h=edbfddedfb7d588d43f4547e314d971f8749bc14;hp=53ba9d20f3d617cc9b996c47da94134675777102;hb=9ffdfbe8e6fa7daaad4dcfdd46b6ac7b6e7a47e8;hpb=7fd85fb66168f6b518c5f2d73e04036e87faa0e1 diff --git a/cinelerra-5.1/cinelerra/patchgui.h b/cinelerra-5.1/cinelerra/patchgui.h index 53ba9d20..edbfdded 100644 --- a/cinelerra-5.1/cinelerra/patchgui.h +++ b/cinelerra-5.1/cinelerra/patchgui.h @@ -38,6 +38,8 @@ class AutoPatch; class GangPatch; class DrawPatch; class MutePatch; +class ZoomPatch; +class MasterPatch; class ExpandPatch; class NudgePatch; class MixPatch; @@ -82,6 +84,8 @@ public: GangPatch *gang; DrawPatch *draw; MutePatch *mute; + ZoomPatch *zoom; + MasterPatch *master; ExpandPatch *expand; NudgePatch *nudge; MixPatch *mix; @@ -160,6 +164,25 @@ public: PatchGUI *patch; }; +class ZoomPatch : public BC_Tumbler +{ +public: + ZoomPatch(MWindow *mwindow, PatchGUI *patch, int x, int y); + int handle_up_event(); + int handle_down_event(); + MWindow *mwindow; + 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: