| 10 | } |
| 11 | |
| 12 | void ProgressBar::draw(const DrawArgs& args) { |
| 13 | float progress = quantity ? quantity->getScaledValue() : 0.f; |
| 14 | std::string text = quantity ? quantity->getString() : ""; |
| 15 | bndSlider(args.vg, 0.0, 0.0, box.size.x, box.size.y, BND_CORNER_ALL, BND_DEFAULT, progress, text.c_str(), NULL); |
| 16 | } |
| 17 | |
| 18 | |
| 19 | } // namespace ui |
nothing calls this directly
no test coverage detected