| 389 | } |
| 390 | |
| 391 | void LoadingBar::setScale9Scale() |
| 392 | { |
| 393 | float width = (float)(_percent) / 100.0f * _totalLength; |
| 394 | _barRenderer->setPreferredSize(Vec2(width, _contentSize.height)); |
| 395 | } |
| 396 | |
| 397 | std::string LoadingBar::getDescription() const |
| 398 | { |
no test coverage detected