Ardour  8.12
return_ui.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2009-2011 David Robillard <d@drobilla.net>
3  * Copyright (C) 2009 Paul Davis <paul@linuxaudiosystems.com>
4  * Copyright (C) 2014-2017 Robin Gareus <robin@gareus.org>
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License along
17  * with this program; if not, write to the Free Software Foundation, Inc.,
18  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19  */
20 
21 #ifndef __ardour_gtk_return_ui_h__
22 #define __ardour_gtk_return_ui_h__
23 
24 #include "gain_meter.h"
25 #include "panner_ui.h"
26 #include "ardour_window.h"
27 
28 namespace ARDOUR {
29  class Return;
30  class IOProcessor;
31 }
32 
33 class IOSelector;
34 
35 class ReturnUI : public Gtk::HBox
36 {
37 public:
38  ReturnUI (Gtk::Window *,std::shared_ptr<ARDOUR::Return>, ARDOUR::Session*);
40 
41  void update ();
42  void fast_update ();
43 
45 
46  std::shared_ptr<ARDOUR::Return>& retrn() { return _return; }
47 
48 private:
49  std::shared_ptr<ARDOUR::Return> _return;
53 
54  sigc::connection screen_update_connection;
57 
59 };
60 
62 {
63  public:
64  ReturnUIWindow(std::shared_ptr<ARDOUR::Return>, ARDOUR::Session*);
66 
68 
69  private:
71 
73 };
74 
75 #endif /* __ardour_gtk_return_ui_h__ */
76 
ReturnUI * ui
Definition: return_ui.h:67
PBD::ScopedConnection going_away_connection
Definition: return_ui.h:72
Gtk::HBox hpacker
Definition: return_ui.h:70
ReturnUIWindow(std::shared_ptr< ARDOUR::Return >, ARDOUR::Session *)
std::shared_ptr< ARDOUR::Return > _return
Definition: return_ui.h:49
void update()
sigc::connection screen_update_connection
Definition: return_ui.h:54
IOSelector * io
Definition: return_ui.h:44
PBD::ScopedConnection input_change_connection
Definition: return_ui.h:56
ReturnUI(Gtk::Window *, std::shared_ptr< ARDOUR::Return >, ARDOUR::Session *)
GainMeter _gpm
Definition: return_ui.h:50
sigc::connection fast_screen_update_connection
Definition: return_ui.h:55
void ins_changed(ARDOUR::IOChange, void *)
Gtk::VBox _vbox
Definition: return_ui.h:51
std::shared_ptr< ARDOUR::Return > & retrn()
Definition: return_ui.h:46
void fast_update()
Gtk::VBox _hbox
Definition: return_ui.h:52