Audacity 3.2.0
|
Functions | |
std::unique_ptr< wxGraphicsContext > | MakeGraphicsContext (const wxPaintDC &dc) |
wxColor | GetColorMix (const wxColor &a, const wxColor &b, double aWeight) |
float | GetGraphDbRange (int height) |
wxGraphicsBrush | GetGraphBackgroundBrush (wxGraphicsContext &gc, int height) |
wxRect | GetPanelRect (const wxPanelWrapper &panel) |
Variables | |
static const wxColour | backgroundColor { 43, 43, 75 } |
static const wxColour | attackColor { 255, 0, 0, 100 } |
static const wxColour | releaseColor { 190, 120, 255, 100 } |
static const wxColour | lineColor { 72, 72, 72 } |
static const wxColour | targetCompressionColor { 255, 255, 255 } |
static const wxColour | inputColor { 86, 86, 149 } |
static const wxColour | outputColor { 182, 182, 244, 70 } |
static const wxColour | actualCompressionColor { 252, 220, 151 } |
static constexpr auto | targetCompressionLineWidth = 2 |
static constexpr auto | outputLineWidth = 2 |
static constexpr auto | graphMinHeight = 270 |
static constexpr auto | graphMinRangeDb = 20.f |
wxColor DynamicRangeProcessorPanel::GetColorMix | ( | const wxColor & | a, |
const wxColor & | b, | ||
double | aWeight | ||
) |
Definition at line 26 of file DynamicRangeProcessorPanelCommon.cpp.
Referenced by anonymous_namespace{DynamicRangeProcessorTransferFunctionPanel.cpp}::GetBrush(), GetGraphBackgroundBrush(), ClipIndicatorPanel::OnPaint(), DynamicRangeProcessorHistoryPanel::OnPaint(), and CompressionMeterPanel::PaintMeter().
wxGraphicsBrush DynamicRangeProcessorPanel::GetGraphBackgroundBrush | ( | wxGraphicsContext & | gc, |
int | height | ||
) |
Definition at line 41 of file DynamicRangeProcessorPanelCommon.cpp.
References backgroundColor, and GetColorMix().
Referenced by CompressionMeterPanel::OnPaint(), and DynamicRangeProcessorHistoryPanel::OnPaint().
float DynamicRangeProcessorPanel::GetGraphDbRange | ( | int | height | ) |
Definition at line 35 of file DynamicRangeProcessorPanelCommon.cpp.
References graphMinHeight, and graphMinRangeDb.
Referenced by DynamicRangeProcessorHistoryPanel::OnPaint(), and DynamicRangeProcessorHistoryPanel::OnSize().
wxRect DynamicRangeProcessorPanel::GetPanelRect | ( | const wxPanelWrapper & | panel | ) |
Definition at line 54 of file DynamicRangeProcessorPanelCommon.cpp.
Referenced by ClipIndicatorPanel::OnPaint(), CompressionMeterPanel::OnPaint(), DynamicRangeProcessorHistoryPanel::OnPaint(), and DynamicRangeProcessorTransferFunctionPanel::OnPaint().
std::unique_ptr< wxGraphicsContext > DynamicRangeProcessorPanel::MakeGraphicsContext | ( | const wxPaintDC & | dc | ) |
Definition at line 18 of file DynamicRangeProcessorPanelCommon.cpp.
Referenced by anonymous_namespace{DynamicRangeProcessorTransferFunctionPanel.cpp}::DrawTransferFunction(), CompressionMeterPanel::OnPaint(), DynamicRangeProcessorHistoryPanel::OnPaint(), and CompressionMeterPanel::PaintMeter().
|
static |
Definition at line 30 of file DynamicRangeProcessorPanelCommon.h.
Referenced by anonymous_namespace{DynamicRangeProcessorHistoryPanel.cpp}::DrawLegend(), CompressionMeterPanel::OnPaint(), and DynamicRangeProcessorHistoryPanel::OnPaint().
|
static |
|
static |
Definition at line 23 of file DynamicRangeProcessorPanelCommon.h.
Referenced by anonymous_namespace{DynamicRangeProcessorHistoryPanel.cpp}::DrawLegend(), anonymous_namespace{DynamicRangeProcessorTransferFunctionPanel.cpp}::GetBrush(), and GetGraphBackgroundBrush().
|
staticconstexpr |
Definition at line 34 of file DynamicRangeProcessorPanelCommon.h.
Referenced by GetGraphDbRange(), and DynamicRangeProcessorEditor::PopulateOrExchange().
|
staticconstexpr |
Definition at line 35 of file DynamicRangeProcessorPanelCommon.h.
Referenced by GetGraphDbRange(), and DynamicRangeProcessorEditor::PopulateOrExchange().
|
static |
Definition at line 28 of file DynamicRangeProcessorPanelCommon.h.
Referenced by anonymous_namespace{DynamicRangeProcessorHistoryPanel.cpp}::DrawLegend(), and DynamicRangeProcessorHistoryPanel::OnPaint().
|
static |
Definition at line 26 of file DynamicRangeProcessorPanelCommon.h.
Referenced by anonymous_namespace{DynamicRangeProcessorHistoryPanel.cpp}::DrawLegend(), ClipIndicatorPanel::OnPaint(), CompressionMeterPanel::OnPaint(), DynamicRangeProcessorHistoryPanel::OnPaint(), and DynamicRangeProcessorTransferFunctionPanel::OnPaint().
|
static |
Definition at line 29 of file DynamicRangeProcessorPanelCommon.h.
Referenced by anonymous_namespace{DynamicRangeProcessorHistoryPanel.cpp}::DrawLegend(), CompressionMeterPanel::OnPaint(), and DynamicRangeProcessorHistoryPanel::OnPaint().
|
staticconstexpr |
Definition at line 33 of file DynamicRangeProcessorPanelCommon.h.
|
static |
|
static |
|
staticconstexpr |
Definition at line 32 of file DynamicRangeProcessorPanelCommon.h.
Referenced by anonymous_namespace{DynamicRangeProcessorHistoryPanel.cpp}::DrawLegend(), anonymous_namespace{DynamicRangeProcessorTransferFunctionPanel.cpp}::DrawTransferFunction(), anonymous_namespace{DynamicRangeProcessorHistoryPanel.cpp}::GetActualCompressionLineWidth(), and DynamicRangeProcessorHistoryPanel::OnPaint().