X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fkeyframepopup.h;h=2b23f7756e5c382963ec7efaa838e2eb7f5a4e1d;hb=fe4662624d711faab6b406490a64c2382661997e;hp=21df4abdc8365878c4a3b23323ff458674595590;hpb=b0adaf11e855fd84af935d879848467a957d6c67;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/keyframepopup.h b/cinelerra-5.1/cinelerra/keyframepopup.h index 21df4abd..2b23f775 100644 --- a/cinelerra-5.1/cinelerra/keyframepopup.h +++ b/cinelerra-5.1/cinelerra/keyframepopup.h @@ -22,9 +22,11 @@ #ifndef KEYFRAMEPOPUP_H #define KEYFRAMEPOPUP_H +#include "apatchgui.h" #include "guicast.h" #include "mwindow.inc" #include "mwindowgui.inc" +#include "patchgui.inc" #include "plugin.inc" #include "plugindialog.inc" #include "keyframe.inc" @@ -56,6 +58,7 @@ public: private: KeyframePopupDelete *key_delete; + KeyframePopupHide *key_hide; KeyframePopupShow *key_show; KeyframePopupCopy *key_copy; KeyframePopupEdit *key_edit; @@ -75,6 +78,17 @@ public: KeyframePopupDelete(MWindow *mwindow, KeyframePopup *popup); ~KeyframePopupDelete(); int handle_event(); + + MWindow *mwindow; + KeyframePopup *popup; +}; + +class KeyframePopupHide : public BC_MenuItem +{ +public: + KeyframePopupHide(MWindow *mwindow, KeyframePopup *popup); + ~KeyframePopupHide(); + int handle_event(); MWindow *mwindow; KeyframePopup *popup; @@ -85,6 +99,7 @@ class KeyframePopupShow : public BC_MenuItem public: KeyframePopupShow(MWindow *mwindow, KeyframePopup *popup); ~KeyframePopupShow(); + PatchGUI *get_patchgui(Track *track); int handle_event(); MWindow *mwindow; @@ -144,14 +159,60 @@ public: Autos *keyframe_autos; }; -class KeyframePopupHide : public BC_MenuItem +class KeyframeHideItem : public BC_MenuItem { public: - KeyframePopupHide(MWindow *mwindow, KeyframeHidePopup *popup); + KeyframeHideItem(MWindow *mwindow, KeyframeHidePopup *popup); int handle_event(); MWindow *mwindow; KeyframeHidePopup *popup; }; +class KeyMutePatch : public BC_SubWindow +{ +public: + KeyMutePatch(MWindow *mwindow, PatchGUI *patch, int x, int y); + void create_objects(); + + MWindow *mwindow; + PatchGUI *patch; + KeyMuteValue *key_mute_checkbox; +}; + +class KeyMuteValue : public BC_CheckBox +{ +public: + KeyMuteValue(KeyMutePatch *key_mute_patch); + void update_edl(); + int button_release_event(); + int handle_event(); + + KeyMutePatch *key_mute_patch; +}; + +class KeySpeedPatch : public BC_SubWindow +{ +public: + KeySpeedPatch(MWindow *mwindow, PatchGUI *patch, int x, int y); + void create_objects(); + + MWindow *mwindow; + PatchGUI *patch; + KeySpeedValue *key_speed_slider; +}; + +class KeySpeedValue : public BC_FSlider +{ +public: + KeySpeedValue(KeySpeedPatch *key_speed_patch); + ~KeySpeedValue(); + + void update_edl(); + int handle_event(); + int button_release_event(); + + KeySpeedPatch *key_speed_patch; +}; + #endif