2 Copyright (C) 2010 Paul Davis
3 Author: Robin Gareus <robin@gareus.org>
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 #ifdef WITH_VIDEOTIMELINE
22 #ifndef __gtk_ardour_open_video_monitor_dialog_h__
23 #define __gtk_ardour_open_video_monitor_dialog_h__
29 #include "ardour/types.h"
30 #include "ardour/template_utils.h"
31 #include "ardour_dialog.h"
33 /** @class OpenVideoMonitorDialog
34 * @brief video-monitor start-option dialog
36 * This dialog allows to override xjadeo startup-options
37 * eg. restore previous size&position, offset or letterbox
40 * This dialog is optional and can be en/disabled in the
43 class OpenVideoMonitorDialog : public ArdourDialog
46 OpenVideoMonitorDialog (ARDOUR::Session*);
47 ~OpenVideoMonitorDialog ();
49 bool show_again () { return showagain_checkbox.get_active(); }
50 int xj_settings_mask ();
51 void setup_settings_mask (const int);
52 void set_filename (const std::string);
54 bool enable_debug () { return debug_checkbox.get_active(); }
59 Gtk::Label filename_label;
60 Gtk::CheckButton showagain_checkbox;
61 Gtk::CheckButton win_checkbox;
62 Gtk::CheckButton att_checkbox;
63 Gtk::CheckButton osd_checkbox;
64 Gtk::CheckButton off_checkbox;
66 Gtk::Label label_winsize;
67 Gtk::Label label_winpos;
68 Gtk::Label label_letterbox;
69 Gtk::Label label_ontop;
70 Gtk::Label label_fullscreen;
72 Gtk::Label label_offset;
74 Gtk::CheckButton debug_checkbox;
78 #endif /* __gtk_ardour_open_video_monitor_dialog_h__ */
80 #endif /* WITH_VIDEOTIMELINE */