mirror of https://github.com/bsnes-emu/bsnes.git
21 lines
473 B
C++
Executable File
21 lines
473 B
C++
Executable File
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 });
|
|
}
|
|
|
|
void FixedLayout::setGeometry(Geometry &geometry) {
|
|
}
|
|
|
|
void FixedLayout::setVisible(bool visible) {
|
|
foreach(child, children) child.widget->setVisible(visible);
|
|
}
|
|
|
|
FixedLayout::FixedLayout() {
|
|
}
|