/*
* CINELERRA
* Copyright (C) 2008 Adam Williams <broadcast at earthling dot net>
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- *
+ *
*/
#include "edit.h"
#include <string.h>
EditPopup::EditPopup(MWindow *mwindow, MWindowGUI *gui)
- : BC_PopupMenu(0,
- 0,
- 0,
- "",
- 0)
+ : BC_PopupMenu(0, 0, 0, "", 0)
{
this->mwindow = mwindow;
this->gui = gui;
add_item(new EditPopupAddTrack(mwindow, this));
// add_item(new EditPopupTitle(mwindow, this));
resize_option = 0;
+ matchsize_option = 0;
}
int EditPopup::update(Track *track, Edit *edit)
int EditAttachEffect::handle_event()
{
dialog_thread->start_window(popup->track,
- 0,
+ 0,
_(PROGRAM_NAME ": Attach Effect"),
0,
popup->track->data_type);
}
-EditPopupTitleText::EditPopupTitleText (EditPopupTitleWindow *window,
+EditPopupTitleText::EditPopupTitleText (EditPopupTitleWindow *window,
MWindow *mwindow, int x, int y)
: BC_TextBox(x, y, 250, 1, (char*)(window->edt ? window->edt->user_title : ""))
{
this->mwindow = mwindow;
}
-EditPopupTitleText::~EditPopupTitleText()
-{
+EditPopupTitleText::~EditPopupTitleText()
+{
}
-
+
int EditPopupTitleText::handle_event()
{
return 1;