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

Method ComponentListComponent

src/components/ComponentListComponent.cpp:7–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5#define INITIAL_CELL_SIZE 12
6
7ComponentListComponent::ComponentListComponent(Window* window, Eigen::Vector2i gridDimensions) : GuiComponent(window), mGrid(NULL), mColumnWidths(NULL), mRowHeights(NULL)
8{
9 mEntries.reserve(gridDimensions.x() * gridDimensions.y());
10 makeCells(gridDimensions);
11}
12
13void ComponentListComponent::makeCells(Eigen::Vector2i size)
14{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected