Ejemplo n.º 1
0
void Box::OnChildResizeRequest(Widget *child)
{
	UpdateAllChildSizes();
}
Ejemplo n.º 2
0
void CharacterInfoText::SetCharacterName(const std::string &name)
{
	m_characterName = name;
	m_nameLabel->SetText(name);
	UpdateAllChildSizes();
}
Ejemplo n.º 3
0
void CharacterInfoText::SetCharacterTitle(const std::string &title)
{
	m_characterTitle = title;
	m_titleLabel->SetText(title);
	UpdateAllChildSizes();
}
Ejemplo n.º 4
0
void Container::_OnSetSize()
{
	if (IsVisible()) UpdateAllChildSizes();
}