| 345 | } |
| 346 | |
| 347 | void DynamicRangeProcessorEditor::AddCompressionCurvePanel( |
| 348 | ShuttleGui& S, const CompressorSettings& compressorSettings) |
| 349 | { |
| 350 | S.StartMultiColumn(3); |
| 351 | { |
| 352 | S.SetStretchyRow(1); |
| 353 | |
| 354 | constexpr auto tfWidth = 200; |
| 355 | |
| 356 | // Horizontal ruler row |
| 357 | S.AddSpace(borderSize, 0); |
| 358 | S.Prop(1) |
| 359 | .Position(wxALIGN_BOTTOM) |
| 360 | .MinSize({ tfWidth, rulerWidth }) |
| 361 | .AddWindow(MakeRulerPanel(mUIParent, wxHORIZONTAL, TFPanel::rangeDb)); |
| 362 | S.AddSpace(rulerWidth, 0); |
| 363 | |
| 364 | // Transfer function row |
| 365 | S.AddSpace(borderSize, 0); |
| 366 | S.Prop(1).Position(wxEXPAND).AddWindow(safenew TFPanel( |
| 367 | mUIParent, transferFunctionPanelId, compressorSettings)); |
| 368 | S.Prop(1).Position(wxEXPAND).AddWindow( |
| 369 | MakeRulerPanel(mUIParent, wxVERTICAL, TFPanel::rangeDb)); |
| 370 | } |
| 371 | S.EndMultiColumn(); |
| 372 | } |
| 373 | |
| 374 | void DynamicRangeProcessorEditor::AddSliderPanel(ShuttleGui& S) |
| 375 | { |
nothing calls this directly
no test coverage detected