split layout.xml into multiple files loaded on demand, update changelog
This commit is contained in:
@@ -21,10 +21,7 @@ void NodeDialogCloud::clone_finalize(Node* dest) const
|
||||
|
||||
void NodeDialogCloud::init()
|
||||
{
|
||||
auto tpl = static_cast<const NodeBorder*>(init_template("dialog-cloud"));
|
||||
m_color = tpl->m_color;
|
||||
m_border_color = tpl->m_border_color;;
|
||||
m_thinkness = tpl->m_thinkness;;
|
||||
init_template_file("data/dialogs/cloud-browse.xml", "dialog-cloud");
|
||||
init_controls();
|
||||
}
|
||||
|
||||
@@ -162,10 +159,7 @@ void NodeDialogCloudItem::clone_finalize(Node* dest) const
|
||||
}
|
||||
void NodeDialogCloudItem::init()
|
||||
{
|
||||
auto tpl = static_cast<const NodeBorder*>(init_template("dialog-cloud-item"));
|
||||
m_color = tpl->m_color;
|
||||
m_border_color = tpl->m_border_color;
|
||||
m_thinkness = tpl->m_thinkness;
|
||||
init_template_file("data/dialogs/cloud-browse.xml", "dialog-cloud-item");
|
||||
init_controls();
|
||||
}
|
||||
void NodeDialogCloudItem::init_controls()
|
||||
|
||||
Reference in New Issue
Block a user