Sound Meter 0.9.0
Fully resizing logarithmic JUCE meter module.
Loading...
Searching...
No Matches
sd::SoundMeter::Padding Struct Reference

Amount of padding to use on the meters. More...

#include <sd_MeterHelpers.h>

Public Member Functions

 Padding (int newLeft, int newRight, int newTop, int newBottom) noexcept
 Constructor. More...
 

Public Attributes

int left = 0
 Space between meter and left border (in pixels). More...
 
int right = 0
 Space between meter and right border (in pixels). More...
 
int top = 0
 Space between meter and top border (in pixels). More...
 
int bottom = 0
 Space between meter and bottom border (in pixels). More...
 

Detailed Description

Amount of padding to use on the meters.

Padding is the space between the meter and the component's edge.

Constructor & Destructor Documentation

◆ Padding()

sd::SoundMeter::Padding::Padding ( int  newLeft,
int  newRight,
int  newTop,
int  newBottom 
)
noexcept

Constructor.

Parameters
newLeftNew left padding amount (in pixels).
newRightNew right padding amount (in pixels).
newTopNew top padding amount (in pixels).
newBottomNew bottom padding amount (in pixels).

Member Data Documentation

◆ left

int sd::SoundMeter::Padding::left = 0

Space between meter and left border (in pixels).

◆ right

int sd::SoundMeter::Padding::right = 0

Space between meter and right border (in pixels).

◆ top

int sd::SoundMeter::Padding::top = 0

Space between meter and top border (in pixels).

◆ bottom

int sd::SoundMeter::Padding::bottom = 0

Space between meter and bottom border (in pixels).


The documentation for this struct was generated from the following file: