Ardour  8.12
send_ui.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2005 Taybin Rutkin <taybin@taybin.com>
3  * Copyright (C) 2006-2009 Paul Davis <paul@linuxaudiosystems.com>
4  * Copyright (C) 2007-2011 David Robillard <d@drobilla.net>
5  * Copyright (C) 2009-2011 Carl Hetherington <carl@carlh.net>
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License along
18  * with this program; if not, write to the Free Software Foundation, Inc.,
19  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20  */
21 
22 #ifndef __ardour_gtk_send_ui_h__
23 #define __ardour_gtk_send_ui_h__
24 
25 #include "widgets/ardour_button.h"
26 
27 #include "ardour_window.h"
28 #include "gain_meter.h"
29 #include "panner_ui.h"
30 
31 namespace ARDOUR
32 {
33  class Send;
34  class IOProcessor;
35 }
36 
37 class IOSelector;
38 
39 class SendUI : public Gtk::HBox
40 {
41 public:
42  SendUI (Gtk::Window*, ARDOUR::Session*, std::shared_ptr<ARDOUR::Send>);
43  ~SendUI ();
44 
45 private:
46  void fast_update ();
48 
51 
52  std::shared_ptr<ARDOUR::Send> _send;
53 
59 
62 };
63 
64 class SendUIWindow : public ArdourWindow
65 {
66 public:
67  SendUIWindow (Gtk::Window&, ARDOUR::Session*, std::shared_ptr<ARDOUR::Send>);
68  SendUIWindow (ARDOUR::Session*, std::shared_ptr<ARDOUR::Send>);
69 
70 private:
72 };
73 
74 #endif /* __ardour_gtk_send_ui_h__ */
SendUIWindow(Gtk::Window &, ARDOUR::Session *, std::shared_ptr< ARDOUR::Send >)
SendUIWindow(ARDOUR::Session *, std::shared_ptr< ARDOUR::Send >)
SendUI _ui
Definition: send_ui.h:71
Definition: send_ui.h:40
ArdourWidgets::ArdourButton _invert_button
Definition: send_ui.h:54
SendUI(Gtk::Window *, ARDOUR::Session *, std::shared_ptr< ARDOUR::Send >)
bool invert_release(GdkEventButton *ev)
Gtk::VBox _vbox
Definition: send_ui.h:57
void fast_update()
GainMeter _gpm
Definition: send_ui.h:55
std::shared_ptr< ARDOUR::Send > _send
Definition: send_ui.h:52
PannerUI _panners
Definition: send_ui.h:56
bool invert_press(GdkEventButton *ev)
sigc::connection _fast_screen_update_connection
Definition: send_ui.h:60
void outs_changed(ARDOUR::IOChange, void *)
IOSelector * _io
Definition: send_ui.h:58
PBD::ScopedConnection _send_connection
Definition: send_ui.h:61