Files
palladium/source/ultra/layout.cpp
tobid7 b5321ca1a1 Rework Project Ultra
- Added container
- Made container the base of Layout
- Set Containers theirself as pParent for Elements on Push
2026-03-29 04:28:45 +02:00

14 lines
290 B
C++

#include <pd/ultra/layout.hpp>
namespace PD {
namespace Ultra {
PD_API void Layout::SetFont(PD::Li::Font& font) { pList.SetFont(&font); }
PD_API void Layout::Render() {
pList.Clear();
for (auto& it : GetElements()) {
it->Draw(pList);
}
}
} // namespace Ultra
} // namespace PD