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

#include <ASlider.h>

Public Member Functions

 Options ()
 
Options & Style (int s)
 
Options & Orientation (wxOrientation o)
 
Options & ShowLabels (bool l)
 
Options & DrawTicks (bool t)
 
Options & DrawTrack (bool t)
 
Options & AlwayHideTip (bool t)
 
Options & Popup (bool p)
 
Options & CanUseShift (bool c)
 
Options & StepValue (float v)
 
Options & Line (float l)
 
Options & Page (float p)
 

Public Attributes

int style { FRAC_SLIDER }
 
wxOrientation orientation { wxHORIZONTAL }
 
bool showLabels { true }
 
bool drawTicks { true }
 
bool drawTrack { true }
 
bool alwaysHideTip { false }
 
bool popup { true }
 
bool canUseShift { true }
 
float stepValue { STEP_CONTINUOUS }
 
float line { 1.0 }
 
float page { 5.0 }
 

Detailed Description

Definition at line 264 of file ASlider.h.

Constructor & Destructor Documentation

◆ Options()

ASlider::Options::Options ( )
inline

Definition at line 265 of file ASlider.h.

265{}

Member Function Documentation

◆ AlwayHideTip()

Options & ASlider::Options::AlwayHideTip ( bool  t)
inline

Definition at line 286 of file ASlider.h.

286{ alwaysHideTip = t; return * this; }
bool alwaysHideTip
Definition: ASlider.h:272

◆ CanUseShift()

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

Definition at line 288 of file ASlider.h.

288{ canUseShift = c; return *this; }
bool canUseShift
Definition: ASlider.h:274

◆ DrawTicks()

Options & ASlider::Options::DrawTicks ( bool  t)
inline

Definition at line 284 of file ASlider.h.

284{ drawTicks = t; return *this; }

◆ DrawTrack()

Options & ASlider::Options::DrawTrack ( bool  t)
inline

Definition at line 285 of file ASlider.h.

285{ drawTrack = t; return *this; }

◆ Line()

Options & ASlider::Options::Line ( float  l)
inline

Definition at line 291 of file ASlider.h.

291{ line = l; return *this; }

Referenced by SliderDialog::SliderDialog().

Here is the caller graph for this function:

◆ Orientation()

Options & ASlider::Options::Orientation ( wxOrientation  o)
inline

Definition at line 281 of file ASlider.h.

282 { orientation = o; return *this; }
wxOrientation orientation
Definition: ASlider.h:268

◆ Page()

Options & ASlider::Options::Page ( float  p)
inline

Definition at line 292 of file ASlider.h.

292{ page = p; return *this; }

Referenced by SliderDialog::SliderDialog().

Here is the caller graph for this function:

◆ Popup()

Options & ASlider::Options::Popup ( bool  p)
inline

Definition at line 287 of file ASlider.h.

287{ popup = p; return *this; }

Referenced by SliderDialog::SliderDialog().

Here is the caller graph for this function:

◆ ShowLabels()

Options & ASlider::Options::ShowLabels ( bool  l)
inline

Definition at line 283 of file ASlider.h.

283{ showLabels = l; return *this; }

◆ StepValue()

Options & ASlider::Options::StepValue ( float  v)
inline

Definition at line 289 of file ASlider.h.

289{ stepValue = v; return *this; }
float stepValue
Definition: ASlider.h:275

◆ Style()

Options & ASlider::Options::Style ( int  s)
inline

Definition at line 280 of file ASlider.h.

280{ style = s; return *this; }

References anonymous_namespace{AudacityDontAskAgainMessageDialog.cpp}::style.

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

Here is the caller graph for this function:

Member Data Documentation

◆ alwaysHideTip

bool ASlider::Options::alwaysHideTip { false }

Definition at line 272 of file ASlider.h.

◆ canUseShift

bool ASlider::Options::canUseShift { true }

Definition at line 274 of file ASlider.h.

◆ drawTicks

bool ASlider::Options::drawTicks { true }

Definition at line 270 of file ASlider.h.

◆ drawTrack

bool ASlider::Options::drawTrack { true }

Definition at line 271 of file ASlider.h.

◆ line

float ASlider::Options::line { 1.0 }

Definition at line 277 of file ASlider.h.

◆ orientation

wxOrientation ASlider::Options::orientation { wxHORIZONTAL }

Definition at line 268 of file ASlider.h.

◆ page

float ASlider::Options::page { 5.0 }

Definition at line 278 of file ASlider.h.

◆ popup

bool ASlider::Options::popup { true }

Definition at line 273 of file ASlider.h.

◆ showLabels

bool ASlider::Options::showLabels { true }

Definition at line 269 of file ASlider.h.

◆ stepValue

float ASlider::Options::stepValue { STEP_CONTINUOUS }

Definition at line 275 of file ASlider.h.

◆ style

int ASlider::Options::style { FRAC_SLIDER }

Definition at line 267 of file ASlider.h.


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