| 249 | } |
| 250 | |
| 251 | void MathTrace::paint_fore(QPainter &p, int left, int right, QColor fore, QColor back) |
| 252 | { |
| 253 | if (!_show) |
| 254 | return; |
| 255 | |
| 256 | assert(_view); |
| 257 | |
| 258 | fore.setAlpha(View::BackAlpha); |
| 259 | QPen pen(fore); |
| 260 | pen.setStyle(Qt::DotLine); |
| 261 | p.setPen(pen); |
| 262 | p.drawLine(left, get_zero_vpos(), right, get_zero_vpos()); |
| 263 | |
| 264 | // Paint measure |
| 265 | fore.setAlpha(View::ForeAlpha); |
| 266 | if (_view->session().is_stopped_status()) |
| 267 | paint_hover_measure(p, fore, back); |
| 268 | } |
| 269 | |
| 270 | void MathTrace::paint_trace(QPainter &p, |
| 271 | int zeroY, int left, const int64_t start, const int64_t end, |
nothing calls this directly
no test coverage detected