Audacity
3.2.0
src
widgets
LinearDBFormat.h
Go to the documentation of this file.
1
/**********************************************************************
2
3
Audacity: A Digital Audio Editor
4
5
LinearDBFormat.h
6
7
Dominic Mazzoni
8
Michael Papadopoulos split from Ruler.h
9
10
**********************************************************************/
11
12
#ifndef __AUDACITY_LINEAR_DB_FORMAT__
13
#define __AUDACITY_LINEAR_DB_FORMAT__
14
15
#include "
RulerFormat.h
"
16
17
class
LinearDBFormat
final :
public
RulerFormat
{
18
public
:
19
static
const
LinearDBFormat
&
Instance
();
20
~LinearDBFormat
()
override
;
21
22
void
SetTickSizes
(
23
double
units,
double
& major,
double
& minor,
double
& minorMinor,
24
int
& mDigits
25
)
const override
;
26
27
void
SetLabelString
(
28
wxString& s,
double
d,
double
units,
double
minor,
int
mDigits,
TickType
tickType
29
)
const override
;
30
31
private
:
32
using
RulerFormat::RulerFormat
;
33
};
34
35
#endif
RulerFormat.h
LinearDBFormat
Definition:
LinearDBFormat.h:17
LinearDBFormat::SetTickSizes
void SetTickSizes(double units, double &major, double &minor, double &minorMinor, int &mDigits) const override
Definition:
LinearDBFormat.cpp:20
LinearDBFormat::SetLabelString
void SetLabelString(wxString &s, double d, double units, double minor, int mDigits, TickType tickType) const override
Definition:
LinearDBFormat.cpp:82
LinearDBFormat::~LinearDBFormat
~LinearDBFormat() override
LinearDBFormat::Instance
static const LinearDBFormat & Instance()
Definition:
LinearDBFormat.cpp:14
RulerFormat
Definition:
RulerFormat.h:17
RulerFormat::RulerFormat
RulerFormat()
Definition:
RulerFormat.h:22
RulerFormat::TickType
TickType
Definition:
RulerFormat.h:19
Generated by
1.9.3