Audacity  2.2.2
Public Member Functions | Public Attributes | List of all members
RulerPanel::Options Struct Reference

#include <Ruler.h>

Public Member Functions

 Options ()
 
OptionsLog (bool l)
 
OptionsFlip (bool f)
 
OptionsLabelEdges (bool l)
 
OptionsTicksAtExtremes (bool t)
 
OptionsTickColour (const wxColour c)
 

Public Attributes

bool log { false }
 
bool flip { false }
 
bool labelEdges { false }
 
bool ticksAtExtremes { false }
 
bool hasTickColour { false }
 
wxColour tickColour
 

Detailed Description

Definition at line 252 of file Ruler.h.

Constructor & Destructor Documentation

RulerPanel::Options::Options ( )
inline

Definition at line 260 of file Ruler.h.

260 {}

Member Function Documentation

Options& RulerPanel::Options::Flip ( bool  f)
inline

Definition at line 265 of file Ruler.h.

Referenced by FreqWindow::FreqWindow(), EffectScienFilter::PopulateOrExchange(), and EffectEqualization::PopulateOrExchange().

266  { flip = f; return *this; }
Options& RulerPanel::Options::LabelEdges ( bool  l)
inline

Definition at line 268 of file Ruler.h.

Referenced by FreqWindow::FreqWindow(), EffectScienFilter::PopulateOrExchange(), and EffectEqualization::PopulateOrExchange().

269  { labelEdges = l; return *this; }
Options& RulerPanel::Options::Log ( bool  l)
inline

Definition at line 262 of file Ruler.h.

Referenced by FreqWindow::FreqWindow(), EffectScienFilter::PopulateOrExchange(), and EffectEqualization::PopulateOrExchange().

263  { log = l; return *this; }
Options& RulerPanel::Options::TickColour ( const wxColour  c)
inline

Definition at line 274 of file Ruler.h.

Referenced by FreqWindow::FreqWindow(), and EffectEqualization::PopulateOrExchange().

275  { tickColour = c; hasTickColour = true; return *this; }
wxColour tickColour
Definition: Ruler.h:258
bool hasTickColour
Definition: Ruler.h:257
Options& RulerPanel::Options::TicksAtExtremes ( bool  t)
inline

Definition at line 271 of file Ruler.h.

Referenced by EffectEqualization::PopulateOrExchange().

272  { ticksAtExtremes = t; return *this; }
bool ticksAtExtremes
Definition: Ruler.h:256

Member Data Documentation

bool RulerPanel::Options::flip { false }

Definition at line 254 of file Ruler.h.

bool RulerPanel::Options::hasTickColour { false }

Definition at line 257 of file Ruler.h.

bool RulerPanel::Options::labelEdges { false }

Definition at line 255 of file Ruler.h.

bool RulerPanel::Options::log { false }

Definition at line 253 of file Ruler.h.

wxColour RulerPanel::Options::tickColour

Definition at line 258 of file Ruler.h.

bool RulerPanel::Options::ticksAtExtremes { false }

Definition at line 256 of file Ruler.h.


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