Audacity 3.2.0
FreqGauge.h
Go to the documentation of this file.
1/**********************************************************************
2
3 Audacity: A Digital Audio Editor
4
5 FreqGauge.h
6
7 Dominic Mazzoni
8
9**********************************************************************/
10
11#pragma once
12
13#include <vector>
14#include <wx/statusbr.h>
15
16class AUDACITY_DLL_API FreqGauge final : public wxStatusBar
17{
18public:
19 FreqGauge(wxWindow * parent, wxWindowID winid);
20
21 void SetRange(int range, int bar = 12, int gap = 3);
22 void SetValue(int value);
23 void Reset();
24
25private:
26 wxRect mRect;
27 int mRange;
28 int mCur;
29 int mLast;
31 int mBar;
32 int mGap;
34};
static const int gap
Definition: MeterPanel.cpp:194
int mInterval
Definition: FreqGauge.h:30
int mRange
Definition: FreqGauge.h:27
int mGap
Definition: FreqGauge.h:32
int mBar
Definition: FreqGauge.h:31
int mLast
Definition: FreqGauge.h:29
int mCur
Definition: FreqGauge.h:28
int mMargin
Definition: FreqGauge.h:33
wxRect mRect
Definition: FreqGauge.h:26