MCPcopy Create free account
hub / github.com/Aloshi/EmulationStation / updateSize

Method updateSize

src/components/ComponentListComponent.cpp:148–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146}
147
148void ComponentListComponent::updateSize()
149{
150 mSize = Eigen::Vector2f(0, 0);
151 for(int x = 0; x < mGridSize.x(); x++)
152 mSize.x() += getColumnWidth(x);
153 for(int y = 0; y < mGridSize.y(); y++)
154 mSize.y() += getRowHeight(y);
155}
156
157void ComponentListComponent::updateComponentOffsets()
158{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected