/*
- Copyright (C) 2010-2013 Paul Davis
- Author: Robin Gareus <robin@gareus.org>
-
- 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., 675 Mass Ave, Cambridge, MA 02139, USA.
-
-*/
-#ifdef WITH_VIDEOTIMELINE
-
+ * Copyright (C) 2013-2017 Robin Gareus <robin@gareus.org>
+ *
+ * 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.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
#ifndef __gtk_ardour_add_video_dialog_h__
#define __gtk_ardour_add_video_dialog_h__
#include <string>
-#include <gtkmm.h>
+#ifdef interface
+#undef interface
+#endif
+
+#include <gtkmm/box.h>
+#include <gtkmm/button.h>
+#include <gtkmm/cellrendererpixbuf.h>
+#include <gtkmm/checkbutton.h>
+#include <gtkmm/filechooserwidget.h>
+#include <gtkmm/image.h>
+#include <gtkmm/label.h>
+#include <gtkmm/liststore.h>
+#include <gtkmm/notebook.h>
+#include <gtkmm/scale.h>
+#include <gtkmm/treemodel.h>
+#include <gtkmm/treeview.h>
#include "ardour/types.h"
#include "ardour/template_utils.h"
class AddVideoDialog : public ArdourDialog
{
- public:
+public:
AddVideoDialog (ARDOUR::Session*);
~AddVideoDialog ();
bool launch_xjadeo ();
bool auto_set_session_fps ();
- private:
+private:
void on_show ();
bool page_switch();
void set_action_ok(bool yn);
+ void clear_preview_image();
/* preview pane related */
void request_preview(std::string vpath);
Gtk::Notebook notebook;
Gtk::Button *ok_button;
+ Gtk::VBox server_index_box;
+ Gtk::VBox file_chooser_box;
+ Gtk::HBox browser_container;
+
/* Harvid Browser related */
class HarvidColumns : public Gtk::TreeModel::ColumnRecord
{
- public:
+ public:
Gtk::TreeModelColumn<std::string> id;
Gtk::TreeModelColumn<std::string> uri;
Gtk::TreeModelColumn<std::string> filename;
HarvidColumns harvid_list_columns;
Glib::RefPtr<Gtk::ListStore> harvid_list;
Gtk::TreeView harvid_list_view;
+
+ bool show_advanced;
+ bool loaded_docroot;
};
#endif /* __gtk_ardour_add_video_dialog_h__ */
-
-#endif /* WITH_VIDEOTIMELINE */