| 166 | } |
| 167 | |
| 168 | void ScriptConsole::setLayerLabel(size_t layer, std::string label) |
| 169 | { |
| 170 | if (layer >= MAX_LAYERS) { |
| 171 | return; |
| 172 | } |
| 173 | std::lock_guard<std::mutex> lock(mMutex); |
| 174 | // Not gated on `active`: relabelling an idle bar is how a script says what |
| 175 | // the pause between items is for. |
| 176 | mLayers[layer].label = std::move(label); |
| 177 | } |
| 178 | |
| 179 | void ScriptConsole::endLayer(size_t layer) |
| 180 | { |
no outgoing calls
no test coverage detected