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