| 127 | } // namespace |
| 128 | |
| 129 | void DynamicRangeProcessorTransferFunctionPanel::OnPaint(wxPaintEvent& evt) |
| 130 | { |
| 131 | wxPaintDC dc(this); |
| 132 | const auto rect = DynamicRangeProcessorPanel::GetPanelRect(*this); |
| 133 | DrawTransferFunction(dc, rect, mCompressorSettings); |
| 134 | dc.SetPen(DynamicRangeProcessorPanel::lineColor); |
| 135 | dc.SetBrush(*wxTRANSPARENT_BRUSH); |
| 136 | dc.DrawRectangle(rect); |
| 137 | } |
| 138 | |
| 139 | void DynamicRangeProcessorTransferFunctionPanel::OnSize(wxSizeEvent& evt) |
| 140 | { |
nothing calls this directly
no test coverage detected