Ardour  9.0-pre0-582-g084a23a80d
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 #pragma once
22 
23 #include "gain_meter.h"
24 #include "panner_ui.h"
25 #include "ardour_window.h"
26 
27 namespace ARDOUR {
28  class Return;
29  class IOProcessor;
30 }
31 
32 class IOSelector;
33 
34 class ReturnUI : public Gtk::HBox
35 {
36 public:
37  ReturnUI (Gtk::Window *,std::shared_ptr<ARDOUR::Return>, ARDOUR::Session*);
39 
40  void update ();
41  void fast_update ();
42 
44 
45  std::shared_ptr<ARDOUR::Return>& retrn() { return _return; }
46 
47 private:
48  std::shared_ptr<ARDOUR::Return> _return;
52 
53  sigc::connection screen_update_connection;
56 
58 };
59 
61 {
62  public:
63  ReturnUIWindow(std::shared_ptr<ARDOUR::Return>, ARDOUR::Session*);
65 
67 
68  private:
70 
72 };
73 
74 
ReturnUI * ui
Definition: return_ui.h:66
PBD::ScopedConnection going_away_connection
Definition: return_ui.h:71
Gtk::HBox hpacker
Definition: return_ui.h:69
ReturnUIWindow(std::shared_ptr< ARDOUR::Return >, ARDOUR::Session *)
std::shared_ptr< ARDOUR::Return > _return
Definition: return_ui.h:48
void update()
sigc::connection screen_update_connection
Definition: return_ui.h:53
IOSelector * io
Definition: return_ui.h:43
PBD::ScopedConnection input_change_connection
Definition: return_ui.h:55
ReturnUI(Gtk::Window *, std::shared_ptr< ARDOUR::Return >, ARDOUR::Session *)
GainMeter _gpm
Definition: return_ui.h:49
sigc::connection fast_screen_update_connection
Definition: return_ui.h:54
void ins_changed(ARDOUR::IOChange, void *)
Gtk::VBox _vbox
Definition: return_ui.h:50
std::shared_ptr< ARDOUR::Return > & retrn()
Definition: return_ui.h:45
void fast_update()
Gtk::VBox _hbox
Definition: return_ui.h:51