Exemple #1
0
void Container::Draw()
{
	Context *c = GetContext();

	for (std::vector< RefCountedPtr<Widget> >::iterator i = m_widgets.begin(); i != m_widgets.end(); ++i)
		c->DrawWidget((*i).Get());
}
Exemple #2
0
void Container::Draw()
{
	Context *c = GetContext();

	for (auto end = m_widgets.end(), it = m_widgets.begin(); it != end; ++it)
		c->DrawWidget((*it).Get());
}