mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 05:35:47 +01:00
introduce GUIObjectState; massive, pervasive changes in visibility and height management for track displays in the editor
git-svn-id: svn://localhost/ardour2/branches/3.0@9796 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
d5bb729755
commit
10cb0a7646
31 changed files with 678 additions and 579 deletions
|
|
@ -31,6 +31,7 @@
|
|||
#include "ardour_ui.h"
|
||||
#include "bundle_manager.h"
|
||||
#include "global_port_matrix.h"
|
||||
#include "gui_object.h"
|
||||
#include "gui_thread.h"
|
||||
#include "keyeditor.h"
|
||||
#include "location_ui.h"
|
||||
|
|
@ -63,6 +64,14 @@ ARDOUR_UI::set_session (Session *s)
|
|||
return;
|
||||
}
|
||||
|
||||
const XMLNodeList& children = _session->extra_xml (X_("UI"))->children();
|
||||
for (XMLNodeList::const_iterator i = children.begin(); i != children.end(); ++i) {
|
||||
if ((*i)->name() == GUIObjectState::xml_node_name) {
|
||||
gui_object_state->load (**i);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (location_ui->get()) {
|
||||
location_ui->get()->set_session(s);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue