2011-02-27 09:11:01 +00:00
|
|
|
void FixedLayout::setParent(Window &parent) {
|
|
|
|
foreach(child, children) {
|
|
|
|
parent.append(*child.widget);
|
|
|
|
child.widget->setGeometry(child.geometry);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
void FixedLayout::append(Widget &widget, const Geometry &geometry) {
|
|
|
|
children.append({ &widget, geometry });
|
|
|
|
}
|
|
|
|
|
2011-04-30 13:12:15 +00:00
|
|
|
void FixedLayout::setGeometry(const Geometry &geometry) {
|
2011-02-27 09:11:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void FixedLayout::setVisible(bool visible) {
|
|
|
|
foreach(child, children) child.widget->setVisible(visible);
|
|
|
|
}
|
|
|
|
|
|
|
|
FixedLayout::FixedLayout() {
|
|
|
|
}
|