6 #include "mwindowgui.inc"
8 #include "plugindialog.inc"
9 #include "resizetrackthread.inc"
12 class EditPopupResize
;
13 class EditPopupMatchSize
;
14 class EditPopupTitleText
;
15 class EditPopupTitleWindow
;
16 class EditPopupTitleButton
;
17 class EditPopupTitleButtonRes
;
19 class EditPopup
: public BC_PopupMenu
22 EditPopup(MWindow
*mwindow
, MWindowGUI
*gui
);
25 void create_objects();
26 int update(Track
*track
, Edit
*edit
);
30 // Acquired through the update command as the edit currently being operated on
33 EditPopupResize
*resize_option
;
34 EditPopupMatchSize
*matchsize_option
;
37 class EditPopupMatchSize
: public BC_MenuItem
40 EditPopupMatchSize(MWindow
*mwindow
, EditPopup
*popup
);
41 ~EditPopupMatchSize();
47 class EditPopupResize
: public BC_MenuItem
50 EditPopupResize(MWindow
*mwindow
, EditPopup
*popup
);
55 ResizeTrackThread
*dialog_thread
;
58 class EditPopupDeleteTrack
: public BC_MenuItem
61 EditPopupDeleteTrack(MWindow
*mwindow
, EditPopup
*popup
);
67 class EditPopupAddTrack
: public BC_MenuItem
70 EditPopupAddTrack(MWindow
*mwindow
, EditPopup
*popup
);
77 class EditAttachEffect
: public BC_MenuItem
80 EditAttachEffect(MWindow
*mwindow
, EditPopup
*popup
);
87 PluginDialogThread
*dialog_thread
;
90 class EditMoveTrackUp
: public BC_MenuItem
93 EditMoveTrackUp(MWindow
*mwindow
, EditPopup
*popup
);
102 class EditMoveTrackDown
: public BC_MenuItem
105 EditMoveTrackDown(MWindow
*mwindow
, EditPopup
*popup
);
106 ~EditMoveTrackDown();
115 class EditPopupTitle
: public BC_MenuItem
118 EditPopupTitle (MWindow
*mwindow
, EditPopup
*popup
);
125 EditPopupTitleWindow
*window
;
128 class EditPopupTitleText
: public BC_TextBox
131 EditPopupTitleText (EditPopupTitleWindow
*window
,
132 MWindow
*mwindow
, int x
, int y
);
133 ~EditPopupTitleText();
137 EditPopupTitleWindow
*window
;
142 class EditPopupTitleWindow
: public BC_Window
145 EditPopupTitleWindow (MWindow
*mwindow
, EditPopup
*popup
);
146 ~EditPopupTitleWindow ();
148 int create_objects();
151 EditPopupTitleText
*title_text
;
155 char new_text
[BCTEXTLEN
];