| 481 | } |
| 482 | |
| 483 | void Viewport::get_captured_progress(double &progress, int &progress100) |
| 484 | { |
| 485 | const uint64_t sample_limits = _view.session().cur_samplelimits(); |
| 486 | progress = -(_sample_received * 1.0 / sample_limits * 360 * 16); |
| 487 | progress100 = ceil(progress / -3.6 / 16); |
| 488 | } |
| 489 | |
| 490 | void Viewport::paintProgress(QPainter &p, QColor fore, QColor back) |
| 491 | { |
nothing calls this directly
no test coverage detected