Ardour  8.12
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 #ifndef __time_info_box_h__
21 #define __time_info_box_h__
22 
23 #include <map>
24 
25 #include <gtkmm/box.h>
26 #include <gtkmm/label.h>
27 #include <gtkmm/table.h>
28 
29 #include "ardour/ardour.h"
30 #include "ardour/session_handle.h"
31 
32 #include "gtkmm2ext/cairo_packer.h"
33 
34 namespace ARDOUR {
35  class Session;
36  class Location;
37 }
38 
39 class AudioClock;
40 
42 {
43 public:
44  TimeInfoBox (std::string state_node_name, bool with_punch);
46 
48 
49 private:
51 
55 
58 
64 
71 
74 
77 
80 };
81 
82 #endif /* __time_info_box_h__ */
void sync_punch_mode(AudioClock *)
Gtk::Label selection_title
Definition: time_info_box.h:59
AudioClock * selection_start
Definition: time_info_box.h:52
Gtk::Table table
Definition: time_info_box.h:50
void punch_location_changed(ARDOUR::Location *)
AudioClock * selection_end
Definition: time_info_box.h:53
bool clock_button_release_event(GdkEventButton *ev, AudioClock *src)
void region_selection_changed()
Gtk::Label punch_title
Definition: time_info_box.h:60
void selection_changed()
void sync_selection_mode(AudioClock *)
PBD::ScopedConnectionList editor_connections
Definition: time_info_box.h:69
AudioClock * selection_length
Definition: time_info_box.h:54
void track_mouse_mode()
AudioClock * punch_start
Definition: time_info_box.h:56
bool with_punch_clock
Definition: time_info_box.h:63
void set_session(ARDOUR::Session *)
void punch_changed(ARDOUR::Location *)
bool syncing_selection
Definition: time_info_box.h:61
bool syncing_punch
Definition: time_info_box.h:62
PBD::ScopedConnectionList punch_connections
Definition: time_info_box.h:68
AudioClock * punch_end
Definition: time_info_box.h:57
void watch_punch(ARDOUR::Location *)
PBD::ScopedConnectionList region_property_connections
Definition: time_info_box.h:70
TimeInfoBox(std::string state_node_name, bool with_punch)