Audacity 3.2.0
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
17class IntFormat final : public RulerFormat {
18public:
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
32private:
34};
35
36#endif
~IntFormat() override
static const IntFormat & Instance()
Definition: IntFormat.cpp:14
void SetTickSizes(double units, double &major, double &minor, double &minorMinor, int &mDigits) const override
Definition: IntFormat.cpp:20
void SetLabelString(wxString &s, double d, double units, double minor, int mDigits, TickType tickType) const override
Definition: IntFormat.cpp:43