2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-10 17:47:42 +00:00

Removed resetResources method (global reconstruction preferred)

This commit is contained in:
Jack Andersen
2015-12-08 15:00:37 -10:00
parent f4c0903eee
commit d58d8c2391
15 changed files with 38 additions and 88 deletions

View File

@@ -138,16 +138,6 @@ void Toolbar::mouseLeave(const boo::SWindowCoord& coord)
}
}
void Toolbar::resetResources(ViewResources& res)
{
m_nomHeight = res.pixelFactor() * TOOLBAR_GAUGE;
m_padding = res.pixelFactor() * TOOLBAR_PADDING;
setBackground(res.themeData().toolbarBackground());
updateSize();
for (Child& c : m_children)
c.m_view->resetResources(res);
}
void Toolbar::resized(const boo::SWindowRect& root, const boo::SWindowRect& sub)
{
View::resized(root, sub);