Audacity 3.2.0
DynamicRangeProcessorTransferFunctionPanel.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*!********************************************************************
3
4 Audacity: A Digital Audio Editor
5
6 DynamicRangeProcessorTransferFunctionPanel.h
7
8 Matthieu Hodgkinson
9
10**********************************************************************/
11#pragma once
12
14#include "wxPanelWrapper.h"
15
16class wxPaintEvent;
17class wxEraseEvent;
18
20{
21public:
22 static constexpr auto minHeight = 100;
23 static constexpr auto rangeDb = 60;
24
26 wxWindow* parent, wxWindowID winid,
27 const CompressorSettings& compressorSettings);
28
30
31private:
32 bool AcceptsFocus() const override;
33 // So that wxPanel is not included in Tab traversal - see wxWidgets bug 15581
34 bool AcceptsFocusFromKeyboard() const override;
35
37 void OnPaint(wxPaintEvent& evt);
38 void OnSize(wxSizeEvent& evt);
39};
DynamicRangeProcessorTransferFunctionPanel(wxWindow *parent, wxWindowID winid, const CompressorSettings &compressorSettings)