if (!is_visible ()) {
show_all ();
+ /* XXX: this is a bit unfortunate; it would probably
+ be nicer if we could just call show () above rather
+ than needing the show_all ()
+ */
+
/* re-hide stuff if necessary */
editor_list_button_toggled ();
parameter_changed ("show-summary");
tv = (static_cast<TimeAxisView*>(*i));
tv->reset_height ();
}
+
+ if (current_mixer_strip) {
+ current_mixer_strip->hide_things ();
+ }
}
present ();
if (current_mixer_strip->get_parent() == 0) {
global_hpacker.pack_start (*current_mixer_strip, Gtk::PACK_SHRINK );
global_hpacker.reorder_child (*current_mixer_strip, 0);
- current_mixer_strip->show_all ();
+ current_mixer_strip->show ();
}
} else {
{
return _mixer.plugin_selector();
}
+
+void
+MixerStrip::hide_things ()
+{
+ processor_box.hide_things ();
+}
return _mixer_owned;
}
+ void hide_things ();
+
sigc::signal<void> WidthChanged;
/** The delivery that we are handling the level for with our fader has changed */
}
}
+void
+PluginInsertProcessorEntry::hide_things ()
+{
+ plugin_insert_splitting_changed ();
+}
+
void
PluginInsertProcessorEntry::setup_visuals ()
{
}
}
+void
+ProcessorBox::hide_things ()
+{
+ list<ProcessorEntry*> c = processor_display.children ();
+ for (list<ProcessorEntry*>::iterator i = c.begin(); i != c.end(); ++i) {
+ (*i)->hide_things ();
+ }
+}
+
ProcessorWindowProxy::ProcessorWindowProxy (
string const & name,
XMLNode const * node,
void set_enum_width (Width);
virtual void set_pixel_width (int) {}
+ /** Hide any widgets that should be hidden */
+ virtual void hide_things () {}
+
protected:
virtual void setup_visuals ();
public:
PluginInsertProcessorEntry (boost::shared_ptr<ARDOUR::PluginInsert>, Width);
+ void hide_things ();
+
private:
void setup_visuals ();
void plugin_insert_splitting_changed ();
void select_all_inserts ();
void select_all_sends ();
+ void hide_things ();
+
Gtk::Window* get_processor_ui (boost::shared_ptr<ARDOUR::Processor>) const;
void toggle_edit_processor (boost::shared_ptr<ARDOUR::Processor>);