Exemplo n.º 1
0
void Layer::SetLayout(Vertex* layout)
{
    add(layout);
    get(THEME)->get(THEME, ANY)->execute(layout);

    // Add to the update tree
    Vertex* field = Parent->get(LAYOUT, ANY)->get(FIELD, name());
    field->attach(layout);
    layout->Vertex::set(field->Vertex::get(PARENT));
}