13
0

GUI property "visible" applies only to automation-lanes

Tracks and Busses use PresentationInfo::hidden
This commit is contained in:
Robin Gareus 2022-01-25 03:45:02 +01:00
parent b7769a8f4b
commit 28392bdcdb
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
4 changed files with 0 additions and 29 deletions

View File

@ -164,20 +164,6 @@ AudioTimeAxisView::audio_view()
return dynamic_cast<AudioStreamView*>(_view); return dynamic_cast<AudioStreamView*>(_view);
} }
guint32
AudioTimeAxisView::show_at (double y, int& nth, Gtk::VBox *parent)
{
set_gui_property ("visible", true);
return TimeAxisView::show_at (y, nth, parent);
}
void
AudioTimeAxisView::hide ()
{
set_gui_property ("visible", false);
TimeAxisView::hide ();
}
void void
AudioTimeAxisView::create_automation_child (const Evoral::Parameter& param, bool show) AudioTimeAxisView::create_automation_child (const Evoral::Parameter& param, bool show)
{ {

View File

@ -76,9 +76,6 @@ public:
void set_show_waveforms_recording (bool yn); void set_show_waveforms_recording (bool yn);
/* Overridden from parent to store display state */
guint32 show_at (double y, int& nth, Gtk::VBox *parent);
void create_automation_child (const Evoral::Parameter& param, bool show); void create_automation_child (const Evoral::Parameter& param, bool show);
void first_idle (); void first_idle ();
@ -97,9 +94,6 @@ private:
Gtk::Menu* build_mode_menu(); Gtk::Menu* build_mode_menu();
void build_automation_action_menu (bool); void build_automation_action_menu (bool);
void hide ();
void update_control_names (); void update_control_names ();
}; };

View File

@ -882,7 +882,6 @@ void
MixerStrip::set_packed (bool yn) MixerStrip::set_packed (bool yn)
{ {
_packed = yn; _packed = yn;
set_gui_property ("visible", _packed);
} }
void void

View File

@ -174,14 +174,6 @@ RouteTimeAxisView::set_route (boost::shared_ptr<Route> rt)
set_height (preset_height (HeightNormal)); set_height (preset_height (HeightNormal));
} }
if (!_route->is_auditioner()) {
if (gui_property ("visible").empty()) {
set_gui_property ("visible", true);
}
} else {
set_gui_property ("visible", false);
}
timestretch_rect = 0; timestretch_rect = 0;
no_redraw = false; no_redraw = false;