Audacity 3.2.0
Namespaces | Functions | Variables
DynamicRangeProcessorPanelCommon.h File Reference
#include <memory>
#include <wx/colour.h>
#include <wx/graphics.h>
Include dependency graph for DynamicRangeProcessorPanelCommon.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  DynamicRangeProcessorPanel
 

Functions

std::unique_ptr< wxGraphicsContext > DynamicRangeProcessorPanel::MakeGraphicsContext (const wxPaintDC &dc)
 
wxColor DynamicRangeProcessorPanel::GetColorMix (const wxColor &a, const wxColor &b, double aWeight)
 
float DynamicRangeProcessorPanel::GetGraphDbRange (int height)
 
wxGraphicsBrush DynamicRangeProcessorPanel::GetGraphBackgroundBrush (wxGraphicsContext &gc, int height)
 
wxRect DynamicRangeProcessorPanel::GetPanelRect (const wxPanelWrapper &panel)
 

Variables

static const wxColour DynamicRangeProcessorPanel::backgroundColor { 43, 43, 75 }
 
static const wxColour DynamicRangeProcessorPanel::attackColor { 255, 0, 0, 100 }
 
static const wxColour DynamicRangeProcessorPanel::releaseColor { 190, 120, 255, 100 }
 
static const wxColour DynamicRangeProcessorPanel::lineColor { 72, 72, 72 }
 
static const wxColour DynamicRangeProcessorPanel::targetCompressionColor { 255, 255, 255 }
 
static const wxColour DynamicRangeProcessorPanel::inputColor { 86, 86, 149 }
 
static const wxColour DynamicRangeProcessorPanel::outputColor { 182, 182, 244, 70 }
 
static const wxColour DynamicRangeProcessorPanel::actualCompressionColor { 252, 220, 151 }
 
static constexpr auto DynamicRangeProcessorPanel::targetCompressionLineWidth = 2
 
static constexpr auto DynamicRangeProcessorPanel::outputLineWidth = 2
 
static constexpr auto DynamicRangeProcessorPanel::graphMinHeight = 270
 
static constexpr auto DynamicRangeProcessorPanel::graphMinRangeDb = 20.f