Ardour  9.0-pre0-582-g084a23a80d
time_info_box.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2011-2015 Paul Davis <paul@linuxaudiosystems.com>
3  * Copyright (C) 2015-2017 Robin Gareus <robin@gareus.org>
4  *
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.
9  *
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.
14  *
15  * You should have received a copy of the GNU General Public License along
16  * with this program; if not, write to the Free Software Foundation, Inc.,
17  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18  */
19 
20 #pragma once
21 
22 #include <map>
23 
24 #include <gtkmm/box.h>
25 #include <gtkmm/label.h>
26 #include <gtkmm/table.h>
27 
28 #include "ardour/ardour.h"
29 #include "ardour/session_handle.h"
30 
31 #include "gtkmm2ext/cairo_packer.h"
32 
33 namespace ARDOUR {
34  class Session;
35  class Location;
36 }
37 
38 class AudioClock;
39 
41 {
42 public:
43  TimeInfoBox (std::string state_node_name, bool with_punch);
45 
47 
48 private:
50 
54 
57 
63 
70 
73 
76 
79 };
80 
void sync_punch_mode(AudioClock *)
Gtk::Label selection_title
Definition: time_info_box.h:58
AudioClock * selection_start
Definition: time_info_box.h:51
Gtk::Table table
Definition: time_info_box.h:49
void punch_location_changed(ARDOUR::Location *)
AudioClock * selection_end
Definition: time_info_box.h:52
bool clock_button_release_event(GdkEventButton *ev, AudioClock *src)
void region_selection_changed()
Gtk::Label punch_title
Definition: time_info_box.h:59
void selection_changed()
void sync_selection_mode(AudioClock *)
PBD::ScopedConnectionList editor_connections
Definition: time_info_box.h:68
AudioClock * selection_length
Definition: time_info_box.h:53
void track_mouse_mode()
AudioClock * punch_start
Definition: time_info_box.h:55
bool with_punch_clock
Definition: time_info_box.h:62
void set_session(ARDOUR::Session *)
void punch_changed(ARDOUR::Location *)
bool syncing_selection
Definition: time_info_box.h:60
bool syncing_punch
Definition: time_info_box.h:61
PBD::ScopedConnectionList punch_connections
Definition: time_info_box.h:67
AudioClock * punch_end
Definition: time_info_box.h:56
void watch_punch(ARDOUR::Location *)
PBD::ScopedConnectionList region_property_connections
Definition: time_info_box.h:69
TimeInfoBox(std::string state_node_name, bool with_punch)