projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
send control now has working metering, and switches back and forth between busses...
[ardour.git]
/
gtk2_ardour
/
send_ui.h
diff --git
a/gtk2_ardour/send_ui.h
b/gtk2_ardour/send_ui.h
index 2d041bb4fe82a2184d28c97e9f81339dcf4ab0df..284f078234ec14b822fd291945419afceeaa31c2 100644
(file)
--- a/
gtk2_ardour/send_ui.h
+++ b/
gtk2_ardour/send_ui.h
@@
-22,11
+22,12
@@
#include "gain_meter.h"
#include "panner_ui.h"
#include "gain_meter.h"
#include "panner_ui.h"
+#include "ardour_dialog.h"
namespace ARDOUR {
class Send;
class Session;
namespace ARDOUR {
class Send;
class Session;
- class
Redirect
;
+ class
IOProcessor
;
}
class IOSelector;
}
class IOSelector;
@@
-42,13
+43,15
@@
class SendUI : public Gtk::HBox
IOSelector* io;
IOSelector* io;
+ boost::shared_ptr<ARDOUR::Send>& send() { return _send; }
+
private:
boost::shared_ptr<ARDOUR::Send> _send;
private:
boost::shared_ptr<ARDOUR::Send> _send;
- ARDOUR::Session& _session;
- GainMeter gpm;
- PannerUI panners;
- Gtk::VBox vbox;
- Gtk::VBox hbox;
+ ARDOUR::Session&
_session;
+ GainMeter
_
gpm;
+ PannerUI
_
panners;
+ Gtk::VBox
_
vbox;
+ Gtk::VBox
_
hbox;
sigc::connection screen_update_connection;
sigc::connection fast_screen_update_connection;
sigc::connection screen_update_connection;
sigc::connection fast_screen_update_connection;
@@
-57,19
+60,19
@@
class SendUI : public Gtk::HBox
void outs_changed (ARDOUR::IOChange, void*);
};
void outs_changed (ARDOUR::IOChange, void*);
};
-class SendUIWindow : public
Gtk::Window
+class SendUIWindow : public
ArdourDialog
{
public:
SendUIWindow(boost::shared_ptr<ARDOUR::Send>, ARDOUR::Session&);
~SendUIWindow();
{
public:
SendUIWindow(boost::shared_ptr<ARDOUR::Send>, ARDOUR::Session&);
~SendUIWindow();
- SendUI*
ui;
+ SendUI* ui;
private:
private:
- Gtk::VBox vpacker;
Gtk::HBox hpacker;
void send_going_away ();
Gtk::HBox hpacker;
void send_going_away ();
+ sigc::connection going_away_connection;
};
#endif /* __ardour_gtk_send_ui_h__ */
};
#endif /* __ardour_gtk_send_ui_h__ */