r807: Minor fix...
[cinelerra_cv/mob.git] / cinelerra / keyframepopup.h
blob65fd4a9868ed8be28ea9d25cb258027bad7d6bdb
1 #ifndef KEYFRAMEPOPUP_H
2 #define KEYFRAMEPOPUP_H
4 #include "guicast.h"
5 #include "mwindow.inc"
6 #include "mwindowgui.inc"
7 #include "plugin.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
20 public:
21 KeyframePopup(MWindow *mwindow, MWindowGUI *gui);
22 ~KeyframePopup();
24 void create_objects();
25 int update(Plugin *plugin, KeyFrame *keyframe);
26 int update(Automation *automation, Autos *autos, Auto *auto_keyframe);
28 MWindow *mwindow;
29 MWindowGUI *gui;
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;
35 Auto *keyframe_auto;
39 KeyframePopupDelete *key_delete;
40 KeyframePopupShow *key_show;
41 KeyframePopupCopy *key_copy;
44 class KeyframePopupDelete : public BC_MenuItem
46 public:
47 KeyframePopupDelete(MWindow *mwindow, KeyframePopup *popup);
48 ~KeyframePopupDelete();
49 int handle_event();
51 MWindow *mwindow;
52 KeyframePopup *popup;
55 class KeyframePopupShow : public BC_MenuItem
57 public:
58 KeyframePopupShow(MWindow *mwindow, KeyframePopup *popup);
59 ~KeyframePopupShow();
60 int handle_event();
62 MWindow *mwindow;
63 KeyframePopup *popup;
66 class KeyframePopupCopy : public BC_MenuItem
68 public:
69 KeyframePopupCopy(MWindow *mwindow, KeyframePopup *popup);
70 ~KeyframePopupCopy();
71 int handle_event();
73 MWindow *mwindow;
74 KeyframePopup *popup;
79 #endif