Audacity 3.2.0
Public Types | Public Member Functions | List of all members
RulerFormat Class Referenceabstract

#include <RulerFormat.h>

Inheritance diagram for RulerFormat:
[legend]

Public Types

enum  TickType { t_major , t_minor , t_minorMinor }
 

Public Member Functions

 RulerFormat ()
 
virtual ~RulerFormat ()
 
virtual void SetTickSizes (double units, double &major, double &minor, double &minorMinor, int &mDigits) const =0
 
virtual void SetLabelString (wxString &s, double d, double units, double minor, int mDigits, TickType tickType) const =0
 

Detailed Description

Definition at line 17 of file RulerFormat.h.

Member Enumeration Documentation

◆ TickType

Enumerator
t_major 
t_minor 
t_minorMinor 

Definition at line 19 of file RulerFormat.h.

Constructor & Destructor Documentation

◆ RulerFormat()

RulerFormat::RulerFormat ( )
inlineexplicit

Definition at line 22 of file RulerFormat.h.

22{}

◆ ~RulerFormat()

RulerFormat::~RulerFormat ( )
virtualdefault

Member Function Documentation

◆ SetLabelString()

virtual void RulerFormat::SetLabelString ( wxString &  s,
double  d,
double  units,
double  minor,
int  mDigits,
TickType  tickType 
) const
pure virtual

◆ SetTickSizes()

virtual void RulerFormat::SetTickSizes ( double  units,
double &  major,
double &  minor,
double &  minorMinor,
int &  mDigits 
) const
pure virtual

The documentation for this class was generated from the following files: