| 2570 | constexpr double SelectionOpacity = 0.4; |
| 2571 | |
| 2572 | void AdornedRulerPanel::DoDrawOverlap(wxDC * dc, const wxRect &rect) |
| 2573 | { |
| 2574 | dc->SetBrush( wxBrush{ AlphaBlend( |
| 2575 | TimelineSelectionColor(), TimelineLoopRegionColor(mLastPlayRegionActive), |
| 2576 | SelectionOpacity) } ); |
| 2577 | dc->SetPen( *wxTRANSPARENT_PEN ); |
| 2578 | dc->DrawRectangle( rect ); |
| 2579 | } |
| 2580 | |
| 2581 | void AdornedRulerPanel::DoDrawSelection( |
| 2582 | wxDC * dc, const wxRect &rectS, const wxRect &rectL, const wxRect &rectR) |
nothing calls this directly
no test coverage detected