X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fapatchgui.h;fp=cinelerra-5.1%2Fcinelerra%2Fapatchgui.h;h=a9bee09529dda94267225531f257ee51746f7423;hp=5b8411a43762677fc4da49c2f5ec1120a31ba552;hb=84ac8a2bb3357c04a3f67cf763b0f61ddbbd021d;hpb=2951f82f2d7e8edf91b42f610266fd84919dd5ef diff --git a/cinelerra-5.1/cinelerra/apatchgui.h b/cinelerra-5.1/cinelerra/apatchgui.h index 5b8411a4..a9bee095 100644 --- a/cinelerra-5.1/cinelerra/apatchgui.h +++ b/cinelerra-5.1/cinelerra/apatchgui.h @@ -59,15 +59,21 @@ public: class AKeyFadePatch : public BC_SubWindow { public: - AKeyFadePatch(MWindow *mwindow, APatchGUI *patch, int x, int y); + AKeyFadePatch(MWindow *mwindow, APatchGUI *patch, + int bump, int x, int y); + ~AKeyFadePatch(); void create_objects(); + void set_edge(int edge); + void set_span(int span); void update(float v); MWindow *mwindow; - APatchGUI *patch; + APatchGUI *gui; AKeyFadeOK *akey_fade_ok; AKeyFadeText *akey_fade_text; AKeyFadeSlider *akey_fade_slider; + AKeyPatchAutoEdge *auto_edge; + AKeyPatchAutoSpan *auto_span; }; class AKeyFadeOK : public BC_Button @@ -131,4 +137,22 @@ public: ~AMixPatch(); }; +class AKeyPatchAutoEdge : public BC_Toggle +{ +public: + AKeyPatchAutoEdge(MWindow *mwindow, AKeyFadePatch *patch, int x, int y); + int handle_event(); + MWindow *mwindow; + AKeyFadePatch *patch; +}; + +class AKeyPatchAutoSpan : public BC_Toggle +{ +public: + AKeyPatchAutoSpan(MWindow *mwindow, AKeyFadePatch *patch, int x, int y); + int handle_event(); + MWindow *mwindow; + AKeyFadePatch *patch; +}; + #endif