feat(scene): add credits scene and UI

This commit is contained in:
2026-07-14 16:28:26 +08:00
parent 279f6162b8
commit e911413d84
10 changed files with 174 additions and 6 deletions

View File

@@ -22,7 +22,10 @@ float ColumnLayout::height() const {
return m_window_height;
}
void ColumnLayout::set_spacing(int spacing) { m_spacing = spacing; }
ColumnLayout& ColumnLayout::set_spacing(int spacing) {
m_spacing = spacing;
return *this;
}
void ColumnLayout::layout() {
auto& children = Widget::children();