| 124 | } |
| 125 | |
| 126 | void ComponentListComponent::setCell(unsigned int x, unsigned int y, ComponentEntry* entry) |
| 127 | { |
| 128 | if(x >= (unsigned int)mGridSize.x() || y >= (unsigned int)mGridSize.y()) |
| 129 | { |
| 130 | LOG(LogError) << "Invalid setCell - position " << x << ", " << y << " out of bounds!"; |
| 131 | return; |
| 132 | } |
| 133 | |
| 134 | mGrid[y * mGridSize.x() + x] = entry; |
| 135 | } |
| 136 | |
| 137 | ComponentListComponent::ComponentEntry* ComponentListComponent::getCell(unsigned int x, unsigned int y) |
| 138 | { |
nothing calls this directly
no outgoing calls
no test coverage detected