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