![]() |
Audacity 3.2.0
|
Functions | |
| bool | MayUsePenGradients () |
| int | GetActualCompressionLineWidth () |
| double | GetDisplayPixel (float elapsedSincePacket, int panelWidth) |
| void | InsertCrossings (std::vector< wxPoint2DDouble > &A, std::vector< wxPoint2DDouble > &B) |
| void | FillUpTo (std::vector< wxPoint2DDouble > lines, const wxColor &color, wxGraphicsContext &gc, const wxRect &rect) |
| void | DrawLegend (size_t height, wxPaintDC &dc, wxGraphicsContext &gc) |
Variables | |
| constexpr auto | timerId = 7000 |
| constexpr auto | timerPeriodMs = 1000 / 200 |
| void anonymous_namespace{DynamicRangeProcessorHistoryPanel.cpp}::DrawLegend | ( | size_t | height, |
| wxPaintDC & | dc, | ||
| wxGraphicsContext & | gc | ||
| ) |
Definition at line 206 of file DynamicRangeProcessorHistoryPanel.cpp.
References DynamicRangeProcessorPanel::actualCompressionColor, DynamicRangeProcessorPanel::attackColor, DynamicRangeProcessorPanel::backgroundColor, GetActualCompressionLineWidth(), DynamicRangeProcessorPanel::inputColor, DynamicRangeProcessorPanel::lineColor, MayUsePenGradients(), DynamicRangeProcessorPanel::outputColor, DynamicRangeProcessorPanel::releaseColor, DynamicRangeProcessorPanel::targetCompressionColor, DynamicRangeProcessorPanel::targetCompressionLineWidth, and XO().
Referenced by DynamicRangeProcessorHistoryPanel::OnPaint().
| void anonymous_namespace{DynamicRangeProcessorHistoryPanel.cpp}::FillUpTo | ( | std::vector< wxPoint2DDouble > | lines, |
| const wxColor & | color, | ||
| wxGraphicsContext & | gc, | ||
| const wxRect & | rect | ||
| ) |
Fills the area between the lines and the bottom of the panel with the given color.
Definition at line 188 of file DynamicRangeProcessorHistoryPanel.cpp.
Referenced by DynamicRangeProcessorHistoryPanel::OnPaint().
| int anonymous_namespace{DynamicRangeProcessorHistoryPanel.cpp}::GetActualCompressionLineWidth | ( | ) |
Definition at line 44 of file DynamicRangeProcessorHistoryPanel.cpp.
References MayUsePenGradients(), and DynamicRangeProcessorPanel::targetCompressionLineWidth.
Referenced by DrawLegend(), and DynamicRangeProcessorHistoryPanel::OnPaint().
| double anonymous_namespace{DynamicRangeProcessorHistoryPanel.cpp}::GetDisplayPixel | ( | float | elapsedSincePacket, |
| int | panelWidth | ||
| ) |
Definition at line 118 of file DynamicRangeProcessorHistoryPanel.cpp.
References DynamicRangeProcessorHistory::maxTimeSeconds.
| void anonymous_namespace{DynamicRangeProcessorHistoryPanel.cpp}::InsertCrossings | ( | std::vector< wxPoint2DDouble > & | A, |
| std::vector< wxPoint2DDouble > & | B | ||
| ) |
Wherever A and B cross, evaluates the exact x and y crossing position and adds a point to A and B.
A.size() == B.size() A.size() == B.size() Definition at line 139 of file DynamicRangeProcessorHistoryPanel.cpp.
References A.
Referenced by DynamicRangeProcessorHistoryPanel::OnPaint().
| bool anonymous_namespace{DynamicRangeProcessorHistoryPanel.cpp}::MayUsePenGradients | ( | ) |
Definition at line 37 of file DynamicRangeProcessorHistoryPanel.cpp.
References BasicUI::Get().
Referenced by DrawLegend(), GetActualCompressionLineWidth(), and DynamicRangeProcessorHistoryPanel::OnPaint().
|
constexpr |
Definition at line 31 of file DynamicRangeProcessorHistoryPanel.cpp.
|
constexpr |
Definition at line 35 of file DynamicRangeProcessorHistoryPanel.cpp.
Referenced by DynamicRangeProcessorHistoryPanel::InitializeForPlayback().