| 135 | } |
| 136 | |
| 137 | ComponentListComponent::ComponentEntry* ComponentListComponent::getCell(unsigned int x, unsigned int y) |
| 138 | { |
| 139 | if(x >= (unsigned int)mGridSize.x() || y >= (unsigned int)mGridSize.y()) |
| 140 | { |
| 141 | LOG(LogError) << "Invalid getCell - position " << x << ", " << y << " out of bounds!"; |
| 142 | return NULL; |
| 143 | } |
| 144 | |
| 145 | return mGrid[y * mGridSize.x() + x]; |
| 146 | } |
| 147 | |
| 148 | void ComponentListComponent::updateSize() |
| 149 | { |
nothing calls this directly
no outgoing calls
no test coverage detected