add bump floatautos, add time_references for align timecodes, add menuitem create_key...
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / vpatchgui.h
index 76140a41d9b124fca90044a219107c87b5ba8f59..dad69e8326db62d60890d1f57482e1fc7054db74 100644 (file)
@@ -61,15 +61,21 @@ public:
 class VKeyFadePatch : public BC_SubWindow
 {
 public:
-       VKeyFadePatch(MWindow *mwindow, VPatchGUI *patch, int x, int y);
+       VKeyFadePatch(MWindow *mwindow, VPatchGUI *gui,
+                       int bump, int x, int y);
+       ~VKeyFadePatch();
        void create_objects();
+       void set_edge(int edge);
+       void set_span(int span);
        void update(int64_t v);
 
        MWindow *mwindow;
-       VPatchGUI *patch;
+       VPatchGUI *gui;
        VKeyFadeOK *vkey_fade_ok;
        VKeyFadeText *vkey_fade_text;
        VKeyFadeSlider *vkey_fade_slider;
+       VKeyPatchAutoEdge *auto_edge;
+       VKeyPatchAutoSpan *auto_span;
 };
 
 class VKeyFadeOK : public BC_Button
@@ -159,4 +165,22 @@ public:
        ~VMixPatch();
 };
 
+class VKeyPatchAutoEdge : public BC_Toggle
+{
+public:
+       VKeyPatchAutoEdge(MWindow *mwindow, VKeyFadePatch *patch, int x, int y);
+       int handle_event();
+       MWindow *mwindow;
+       VKeyFadePatch *patch;
+};
+
+class VKeyPatchAutoSpan : public BC_Toggle
+{
+public:
+       VKeyPatchAutoSpan(MWindow *mwindow, VKeyFadePatch *patch, int x, int y);
+       int handle_event();
+       MWindow *mwindow;
+       VKeyFadePatch *patch;
+};
+
 #endif