Ardour
9.0-pre0-582-g084a23a80d
insert_remove_time_dialog.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2015-2016 Colin Fletcher <colin.m.fletcher@googlemail.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
#include "
ardour_dialog.h
"
20
#include "
public_editor.h
"
21
#include "
editing.h
"
22
#include "
audio_clock.h
"
23
#include <
gtkmm/comboboxtext.h
>
24
25
class
InsertRemoveTimeDialog
:
public
ArdourDialog
26
{
27
public
:
28
InsertRemoveTimeDialog
(
PublicEditor
&,
bool
remove
=
false
);
29
30
Editing::InsertTimeOption
intersected_region_action
();
31
bool
all_playlists
()
const
;
32
bool
move_markers
()
const
;
33
bool
move_locked_markers
()
const
;
34
bool
move_tempos
()
const
;
35
Temporal::timepos_t
position
()
const
;
36
Temporal::timecnt_t
distance
()
const
;
37
38
private
:
39
void
move_markers_toggled
();
40
void
doit
();
41
42
PublicEditor
&
_editor
;
43
Gtk::ComboBoxText
_intersected_combo
;
44
Gtk::CheckButton
_all_playlists
;
45
Gtk::CheckButton
_move_markers
;
46
Gtk::CheckButton
_move_locked_markers
;
47
Gtk::CheckButton
_move_tempos
;
48
Gtk::Label
tempo_label
;
49
AudioClock
duration_clock
;
50
AudioClock
position_clock
;
51
};
ardour_dialog.h
audio_clock.h
ArdourDialog
Definition:
ardour_dialog.h:40
AudioClock
Definition:
audio_clock.h:49
Gtk::Bin::remove
void remove()
Gtk::CheckButton
Definition:
checkbutton.h:56
Gtk::ComboBoxText
Definition:
comboboxtext.h:55
Gtk::Label
Definition:
label.h:55
InsertRemoveTimeDialog
Definition:
insert_remove_time_dialog.h:26
InsertRemoveTimeDialog::tempo_label
Gtk::Label tempo_label
Definition:
insert_remove_time_dialog.h:48
InsertRemoveTimeDialog::_editor
PublicEditor & _editor
Definition:
insert_remove_time_dialog.h:42
InsertRemoveTimeDialog::duration_clock
AudioClock duration_clock
Definition:
insert_remove_time_dialog.h:49
InsertRemoveTimeDialog::_intersected_combo
Gtk::ComboBoxText _intersected_combo
Definition:
insert_remove_time_dialog.h:43
InsertRemoveTimeDialog::intersected_region_action
Editing::InsertTimeOption intersected_region_action()
InsertRemoveTimeDialog::distance
Temporal::timecnt_t distance() const
InsertRemoveTimeDialog::move_markers
bool move_markers() const
InsertRemoveTimeDialog::_move_markers
Gtk::CheckButton _move_markers
Definition:
insert_remove_time_dialog.h:45
InsertRemoveTimeDialog::_move_locked_markers
Gtk::CheckButton _move_locked_markers
Definition:
insert_remove_time_dialog.h:46
InsertRemoveTimeDialog::_move_tempos
Gtk::CheckButton _move_tempos
Definition:
insert_remove_time_dialog.h:47
InsertRemoveTimeDialog::move_locked_markers
bool move_locked_markers() const
InsertRemoveTimeDialog::doit
void doit()
InsertRemoveTimeDialog::move_markers_toggled
void move_markers_toggled()
InsertRemoveTimeDialog::position_clock
AudioClock position_clock
Definition:
insert_remove_time_dialog.h:50
InsertRemoveTimeDialog::all_playlists
bool all_playlists() const
InsertRemoveTimeDialog::move_tempos
bool move_tempos() const
InsertRemoveTimeDialog::position
Temporal::timepos_t position() const
InsertRemoveTimeDialog::InsertRemoveTimeDialog
InsertRemoveTimeDialog(PublicEditor &, bool remove=false)
InsertRemoveTimeDialog::_all_playlists
Gtk::CheckButton _all_playlists
Definition:
insert_remove_time_dialog.h:44
PublicEditor
Representation of the interface of the Editor class.
Definition:
public_editor.h:127
Temporal::timecnt_t
Definition:
timeline.h:303
Temporal::timepos_t
Definition:
timeline.h:55
comboboxtext.h
editing.h
Editing::InsertTimeOption
InsertTimeOption
Definition:
editing.h:195
public_editor.h
gtk2_ardour
insert_remove_time_dialog.h
Generated on Wed Dec 25 2024 05:44:33 for Ardour by
1.9.1