1 #ifndef KEYFRAMEPOPUP_H
2 #define KEYFRAMEPOPUP_H
6 #include "mwindowgui.inc"
8 #include "plugindialog.inc"
9 #include "keyframe.inc"
10 #include "automation.h"
13 class KeyframePopupDelete
;
14 class KeyframePopupShow
;
15 class KeyframePopupCopy
;
18 class KeyframePopup
: public BC_PopupMenu
21 KeyframePopup(MWindow
*mwindow
, MWindowGUI
*gui
);
24 void create_objects();
25 int update(Plugin
*plugin
, KeyFrame
*keyframe
);
26 int update(Automation
*automation
, Autos
*autos
, Auto
*auto_keyframe
);
30 // Acquired through the update command as the plugin currently being operated on
32 Plugin
*keyframe_plugin
;
33 Autos
*keyframe_autos
;
34 Automation
*keyframe_automation
;
39 KeyframePopupDelete
*key_delete
;
40 KeyframePopupShow
*key_show
;
41 KeyframePopupCopy
*key_copy
;
44 class KeyframePopupDelete
: public BC_MenuItem
47 KeyframePopupDelete(MWindow
*mwindow
, KeyframePopup
*popup
);
48 ~KeyframePopupDelete();
55 class KeyframePopupShow
: public BC_MenuItem
58 KeyframePopupShow(MWindow
*mwindow
, KeyframePopup
*popup
);
66 class KeyframePopupCopy
: public BC_MenuItem
69 KeyframePopupCopy(MWindow
*mwindow
, KeyframePopup
*popup
);