Audacity
3.2.0
src
widgets
TimeFormat.h
Go to the documentation of this file.
1
/**********************************************************************
2
3
Audacity: A Digital Audio Editor
4
5
TimeFormat.h
6
7
Dominic Mazzoni
8
Michael Papadopoulos split from Ruler.h
9
10
**********************************************************************/
11
12
#ifndef __AUDACITY_TIME_FORMAT__
13
#define __AUDACITY_TIME_FORMAT__
14
15
#include "
RulerFormat.h
"
16
17
class
TimeFormat
final :
public
RulerFormat
{
18
public
:
19
static
const
TimeFormat
&
Instance
();
20
~TimeFormat
()
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
RulerFormat
Definition:
RulerFormat.h:17
RulerFormat::RulerFormat
RulerFormat()
Definition:
RulerFormat.h:22
RulerFormat::TickType
TickType
Definition:
RulerFormat.h:19
TimeFormat
Definition:
TimeFormat.h:17
TimeFormat::~TimeFormat
~TimeFormat() override
TimeFormat::SetLabelString
void SetLabelString(wxString &s, double d, double units, double minor, int mDigits, TickType tickType) const override
Definition:
TimeFormat.cpp:105
TimeFormat::Instance
static const TimeFormat & Instance()
Definition:
TimeFormat.cpp:15
TimeFormat::SetTickSizes
void SetTickSizes(double units, double &major, double &minor, double &minorMinor, int &mDigits) const override
Definition:
TimeFormat.cpp:21
Generated by
1.9.3