[DEBUG] need to have a reverse drawing on layer

This commit is contained in:
Edouard DUPIN 2014-05-28 22:15:32 +02:00
parent 7ee8ff29bd
commit a771457d89

View File

@ -167,9 +167,9 @@ void ewol::widget::ContainerN::systemDraw(const ewol::DrawProperty& _displayProp
// subwidget draw // subwidget draw
ewol::DrawProperty prop = _displayProp; ewol::DrawProperty prop = _displayProp;
prop.limit(m_origin, m_size); prop.limit(m_origin, m_size);
for (auto &it : m_subWidget) { for (auto it(m_subWidget.rbegin()); it!=m_subWidget.rend(); ++it) {
if (it != nullptr) { if (*it != nullptr) {
it->systemDraw(prop); (*it)->systemDraw(prop);
} }
} }
} }