示例#1
0
void Tabbed::UpdateAllChildSizes()
{
	for (pagecontainer_t::iterator i = m_pages.begin(); i != m_pages.end(); ++i) {
		OnChildResizeRequest((*i).first);
		OnChildResizeRequest((*i).second);
	}
}
示例#2
0
void VScrollPortal::Add(Widget *child)
{
	assert(m_child == 0);
	m_child = child;
	AppendChild(child, 0, 0);
	OnChildResizeRequest(child);
}
示例#3
0
void Stack::UpdateAllChildSizes()
{
	if (m_widgets.empty()) return;

	OnChildResizeRequest(m_widgets.top());
}
示例#4
0
void VScrollPortal::UpdateAllChildSizes()
{
	if (m_child) OnChildResizeRequest(m_child);
}