add 'font' xml property to label, button, bindbox, select, textbox

This commit is contained in:
MihailRis 2026-02-16 02:54:54 +03:00
parent 5505622395
commit b0d9a162ca
9 changed files with 51 additions and 0 deletions

View file

@ -86,3 +86,7 @@ void SelectBox::drawBackground(const DrawContext& pctx, const Assets&) {
pos.y + size.y / 2.0f + heightHalf
);
}
std::shared_ptr<Label> SelectBox::getLabel() const {
return label;
}