mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-27 17:28:41 +00:00
Replace all uses of core::list with std::list (#12313)
This commit is contained in:
parent
2742fef458
commit
9f338f5a56
16 changed files with 36 additions and 148 deletions
|
@ -59,12 +59,11 @@ bool GUIScrollContainer::OnEvent(const SEvent &event)
|
|||
void GUIScrollContainer::draw()
|
||||
{
|
||||
if (isVisible()) {
|
||||
core::list<IGUIElement *>::Iterator it = Children.begin();
|
||||
for (; it != Children.end(); ++it)
|
||||
if ((*it)->isNotClipped() ||
|
||||
for (auto child : Children)
|
||||
if (child->isNotClipped() ||
|
||||
AbsoluteClippingRect.isRectCollided(
|
||||
(*it)->getAbsolutePosition()))
|
||||
(*it)->draw();
|
||||
child->getAbsolutePosition()))
|
||||
child->draw();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue