mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-07 14:15:46 +01:00
Merge branch 'master' of git.ardour.org:ardour/ardour
This commit is contained in:
commit
1d4cf8a28c
4 changed files with 18 additions and 36 deletions
|
|
@ -16,35 +16,14 @@
|
|||
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#include <cmath>
|
||||
#include <list>
|
||||
#include <algorithm>
|
||||
|
||||
#include <sigc++/bind.h>
|
||||
|
||||
#include <gtkmm/messagedialog.h>
|
||||
|
||||
#include "pbd/convert.h"
|
||||
#include "pbd/enumwriter.h"
|
||||
#include "pbd/replace_all.h"
|
||||
#include "pbd/stacktrace.h"
|
||||
|
||||
#include "ardour/amp.h"
|
||||
#include "ardour/audioengine.h"
|
||||
#include "ardour/internal_send.h"
|
||||
#include "ardour/internal_return.h"
|
||||
#include "ardour/io.h"
|
||||
#include "ardour/io_processor.h"
|
||||
#include "ardour/pannable.h"
|
||||
#include "ardour/panner.h"
|
||||
#include "ardour/panner_shell.h"
|
||||
#include "ardour/panner_manager.h"
|
||||
#include "ardour/port.h"
|
||||
#include "ardour/profile.h"
|
||||
#include "ardour/route.h"
|
||||
#include "ardour/send.h"
|
||||
#include "ardour/session.h"
|
||||
#include "ardour/types.h"
|
||||
#include "ardour/user_bundle.h"
|
||||
#include "ardour/value_as_string.h"
|
||||
|
||||
|
|
@ -234,7 +213,7 @@ FoldbackStrip::FoldbackStrip (Mixer_UI& mx, Session* sess, boost::shared_ptr<Rou
|
|||
, _pr_selection ()
|
||||
, panners (sess)
|
||||
, mute_solo_table (1, 2)
|
||||
, bottom_button_table (1, 1)
|
||||
, level_table (1, 1)
|
||||
, _plugin_insert_cnt (0)
|
||||
, _comment_button (_("Comments"))
|
||||
, fb_level_control (0)
|
||||
|
|
@ -283,10 +262,10 @@ FoldbackStrip::init ()
|
|||
fb_level_control->set_name ("monitor section knob");
|
||||
fb_level_control->set_no_show_all (true);
|
||||
|
||||
bottom_button_table.attach (*fb_level_control, 0, 1, 0, 1,FILL,FILL,20,20); //EXPAND
|
||||
bottom_button_table.set_spacings (20);
|
||||
bottom_button_table.set_row_spacings (20);
|
||||
bottom_button_table.set_homogeneous (true);
|
||||
level_table.attach (*fb_level_control, 0, 1, 0, 1,FILL,FILL,20,20); //EXPAND
|
||||
level_table.set_spacings (20);
|
||||
level_table.set_row_spacings (20);
|
||||
level_table.set_homogeneous (true);
|
||||
|
||||
mute_solo_table.set_homogeneous (true);
|
||||
mute_solo_table.set_spacings (2);
|
||||
|
|
@ -334,9 +313,9 @@ FoldbackStrip::init ()
|
|||
#endif
|
||||
global_vpacker.pack_end (_comment_button, Gtk::PACK_SHRINK);
|
||||
global_vpacker.pack_end (output_button, Gtk::PACK_SHRINK);
|
||||
global_vpacker.pack_end (*insert_box, Gtk::PACK_SHRINK);
|
||||
global_vpacker.pack_end (bottom_button_table, Gtk::PACK_SHRINK);
|
||||
global_vpacker.pack_end (mute_solo_table, Gtk::PACK_SHRINK);
|
||||
global_vpacker.pack_end (level_table, Gtk::PACK_SHRINK);
|
||||
global_vpacker.pack_end (*insert_box, Gtk::PACK_SHRINK);
|
||||
global_vpacker.pack_end (panners, Gtk::PACK_SHRINK);
|
||||
|
||||
global_frame.add (global_vpacker);
|
||||
|
|
@ -503,7 +482,7 @@ FoldbackStrip::set_route (boost::shared_ptr<Route> rt)
|
|||
global_frame.show();
|
||||
global_vpacker.show();
|
||||
mute_solo_table.show();
|
||||
bottom_button_table.show();
|
||||
level_table.show();
|
||||
show_sends_box.show_all();
|
||||
send_display.show ();
|
||||
output_button.show();
|
||||
|
|
@ -1238,15 +1217,14 @@ FoldbackStrip::list_fb_routes ()
|
|||
void
|
||||
FoldbackStrip::set_selected (bool yn)
|
||||
{
|
||||
//AxisView::set_selected (yn);
|
||||
|
||||
if (selected()) {
|
||||
/*if (selected()) {
|
||||
global_frame.set_shadow_type (Gtk::SHADOW_ETCHED_OUT);
|
||||
global_frame.set_name ("MixerStripSelectedFrame");
|
||||
} else {
|
||||
} else {*/
|
||||
global_frame.set_shadow_type (Gtk::SHADOW_IN);
|
||||
global_frame.set_name ("MixerStripFrame");
|
||||
}
|
||||
//}
|
||||
|
||||
global_frame.queue_draw ();
|
||||
|
||||
|
|
|
|||
|
|
@ -186,7 +186,7 @@ private:
|
|||
PannerUI panners;
|
||||
|
||||
Gtk::Table mute_solo_table;
|
||||
Gtk::Table bottom_button_table;
|
||||
Gtk::Table level_table;
|
||||
|
||||
ArdourWidgets::ArdourButton output_button;
|
||||
|
||||
|
|
|
|||
|
|
@ -823,7 +823,7 @@ LuaInstance::register_classes (lua_State* L)
|
|||
.endClass ()
|
||||
|
||||
// std::list<Selectable*>
|
||||
.beginConstStdCPtrList <Selectable> ("SelectionList")
|
||||
.beginStdCPtrList <Selectable> ("SelectionList")
|
||||
.endClass ()
|
||||
|
||||
// std::list<TimeAxisView*>
|
||||
|
|
|
|||
|
|
@ -591,6 +591,11 @@ Mixer_UI::add_stripables (StripableList& slist)
|
|||
if (route->is_monitor()) {
|
||||
|
||||
out_packer.pack_end (_monitor_section.tearoff(), false, false);
|
||||
if (foldback_strip) {
|
||||
out_packer.remove (*foldback_strip);
|
||||
out_packer.pack_end (*foldback_strip, false, false);
|
||||
foldback_strip->set_packed (true);
|
||||
}
|
||||
_monitor_section.set_session (_session);
|
||||
_monitor_section.tearoff().show_all ();
|
||||
|
||||
|
|
@ -618,7 +623,6 @@ Mixer_UI::add_stripables (StripableList& slist)
|
|||
foldback_strip->set_packed (true);
|
||||
}
|
||||
continue;
|
||||
|
||||
}
|
||||
|
||||
strip = new MixerStrip (*this, _session, route);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue