Testing UI without assets.

This commit is contained in:
2023-03-20 21:12:03 -07:00
parent c15fc4ef8a
commit 0f75f79498
7 changed files with 154 additions and 3 deletions

View File

@ -12,7 +12,7 @@ UILabel::UILabel(SceneItem *item) :
UIComponent(item),
text(""),
fontSize(10.0f),
font(nullptr),
font(&item->scene->game->renderManager.defaultFont),
maxWidth(UI_LABEL_MAX_WIDTH_NONE)
{
}