Audacity
3.2.0
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
p
r
s
t
u
v
Enumerations
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
w
z
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
h
i
k
l
m
o
p
r
s
t
x
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
y
Related Functions
a
b
c
d
e
f
g
l
m
n
o
p
r
s
t
v
w
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
c
d
e
f
k
l
m
n
o
p
r
s
t
u
v
z
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
z
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
src
widgets
RealFormat.h
Go to the documentation of this file.
1
/**********************************************************************
2
3
Audacity: A Digital Audio Editor
4
5
RealFormat.h
6
7
Dominic Mazzoni
8
Michael Papadopoulos split from Ruler.h
9
10
**********************************************************************/
11
12
#ifndef __AUDACITY_REAL_FORMAT__
13
#define __AUDACITY_REAL_FORMAT__
14
15
#include "
RulerFormat.h
"
16
17
// Unified what was formerly RealFormat and RealLogFormat
18
class
RealFormat
final :
public
RulerFormat
{
19
public
:
20
static
const
RealFormat
&
LinearInstance
();
21
static
const
RealFormat
&
LogInstance
();
22
~RealFormat
()
override
;
23
24
void
SetTickSizes
(
25
double
units,
double
& major,
double
& minor,
double
& minorMinor,
26
int
& mDigits
27
)
const override
;
28
29
void
SetLabelString
(
30
wxString& s,
double
d,
double
units,
double
minor,
int
mDigits,
TickType
tickType
31
)
const override
;
32
33
private
:
34
RealFormat
(
bool
log) :
mLog
{ log } {}
35
const
bool
mLog
;
36
};
37
38
#endif
RulerFormat.h
RealFormat
Definition:
RealFormat.h:18
RealFormat::SetTickSizes
void SetTickSizes(double units, double &major, double &minor, double &minorMinor, int &mDigits) const override
Definition:
RealFormat.cpp:26
RealFormat::mLog
const bool mLog
Definition:
RealFormat.h:35
RealFormat::LinearInstance
static const RealFormat & LinearInstance()
Definition:
RealFormat.cpp:14
RealFormat::LogInstance
static const RealFormat & LogInstance()
Definition:
RealFormat.cpp:20
RealFormat::~RealFormat
~RealFormat() override
RealFormat::RealFormat
RealFormat(bool log)
Definition:
RealFormat.h:34
RealFormat::SetLabelString
void SetLabelString(wxString &s, double d, double units, double minor, int mDigits, TickType tickType) const override
Definition:
RealFormat.cpp:60
RulerFormat
Definition:
RulerFormat.h:17
RulerFormat::TickType
TickType
Definition:
RulerFormat.h:19
Generated by
1.9.3