Audacity  2.3.1
Public Member Functions | Public Attributes | List of all members
ASlider::Options Struct Reference

#include <ASlider.h>

Public Member Functions

 Options ()
 
OptionsStyle (int s)
 
OptionsOrientation (wxOrientation o)
 
OptionsPopup (bool p)
 
OptionsCanUseShift (bool c)
 
OptionsStepValue (float v)
 
OptionsLine (float l)
 
OptionsPage (float p)
 

Public Attributes

int style { FRAC_SLIDER }
 
wxOrientation orientation { wxHORIZONTAL }
 
bool popup { true }
 
bool canUseShift { true }
 
float stepValue { STEP_CONTINUOUS }
 
float line { 1.0 }
 
float page { 5.0 }
 

Detailed Description

Definition at line 248 of file ASlider.h.

Constructor & Destructor Documentation

ASlider::Options::Options ( )
inline

Definition at line 249 of file ASlider.h.

249 {}

Member Function Documentation

Options& ASlider::Options::CanUseShift ( bool  c)
inline

Definition at line 264 of file ASlider.h.

References canUseShift.

264 { canUseShift = c; return *this; }
bool canUseShift
Definition: ASlider.h:254
Options& ASlider::Options::Line ( float  l)
inline

Definition at line 267 of file ASlider.h.

References line.

Referenced by MixerToolBar::Populate(), TranscriptionToolBar::Populate(), and SliderDialog::SliderDialog().

267 { line = l; return *this; }
Options& ASlider::Options::Orientation ( wxOrientation  o)
inline

Definition at line 261 of file ASlider.h.

References orientation.

262  { orientation = o; return *this; }
wxOrientation orientation
Definition: ASlider.h:252
Options& ASlider::Options::Page ( float  p)
inline

Definition at line 268 of file ASlider.h.

References page.

Referenced by MixerToolBar::Populate(), TranscriptionToolBar::Populate(), and SliderDialog::SliderDialog().

268 { page = p; return *this; }
Options& ASlider::Options::Popup ( bool  p)
inline

Definition at line 263 of file ASlider.h.

References popup.

263 { popup = p; return *this; }
Options& ASlider::Options::StepValue ( float  v)
inline

Definition at line 265 of file ASlider.h.

References stepValue.

265 { stepValue = v; return *this; }
float stepValue
Definition: ASlider.h:255
Options& ASlider::Options::Style ( int  s)
inline

Definition at line 260 of file ASlider.h.

References style.

Referenced by TranscriptionToolBar::Populate(), and SliderDialog::SliderDialog().

260 { style = s; return *this; }

Member Data Documentation

bool ASlider::Options::canUseShift { true }

Definition at line 254 of file ASlider.h.

Referenced by CanUseShift().

float ASlider::Options::line { 1.0 }

Definition at line 257 of file ASlider.h.

Referenced by Line().

wxOrientation ASlider::Options::orientation { wxHORIZONTAL }

Definition at line 252 of file ASlider.h.

Referenced by Orientation().

float ASlider::Options::page { 5.0 }

Definition at line 258 of file ASlider.h.

Referenced by Page().

bool ASlider::Options::popup { true }

Definition at line 253 of file ASlider.h.

Referenced by Popup().

float ASlider::Options::stepValue { STEP_CONTINUOUS }

Definition at line 255 of file ASlider.h.

Referenced by StepValue().

int ASlider::Options::style { FRAC_SLIDER }

Definition at line 251 of file ASlider.h.

Referenced by Style().


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