Ardour  9.0-pre0-822-g12e3bc5c20
duplicate_routes_dialog.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2015-2016 Paul Davis <paul@linuxaudiosystems.com>
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License along
15  * with this program; if not, write to the Free Software Foundation, Inc.,
16  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17  */
18 
19 #pragma once
20 
21 #include <ytkmm/entry.h>
22 #include <ytkmm/box.h>
23 #include <ytkmm/comboboxtext.h>
24 #include <ytkmm/radiobutton.h>
25 #include <ytkmm/adjustment.h>
26 #include <ytkmm/spinbutton.h>
27 
28 #include "ardour/types.h"
29 
30 #include "ardour_dialog.h"
31 #include "route_dialogs.h"
32 
33 namespace ARDOUR {
34 class Session;
35 }
36 
37 class Editor;
38 
40 {
41 public:
43 
45 
46 private:
47  Gtk::Entry name_template_entry;
50  Gtk::RadioButtonGroup playlist_button_group;
51  Gtk::RadioButton copy_playlists_button;
52  Gtk::RadioButton new_playlists_button;
53  Gtk::RadioButton share_playlists_button;
54  Gtk::Adjustment count_adjustment;
55  Gtk::SpinButton count_spinner;
56  Gtk::HBox count_box;
57  Gtk::Label count_label;
58 
59  void on_response (int);
60 
61  uint32_t count() const;
64 
65 private:
66  Gtk::ComboBoxText insert_at_combo;
67 };
68 
Gtk::ComboBoxText insert_at_combo
Gtk::RadioButton copy_playlists_button
RouteDialogs::InsertAt insert_at()
Gtk::RadioButton share_playlists_button
ARDOUR::PlaylistDisposition playlist_disposition() const
uint32_t count() const
Gtk::Adjustment count_adjustment
Gtk::RadioButton new_playlists_button
Gtk::RadioButtonGroup playlist_button_group
int restart(ARDOUR::Session *)
Definition: editor.h:159