Audacity
3.2.0
src
widgets
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
16
class
AUDACITY_DLL_API
FreqGauge
final :
public
wxStatusBar
17
{
18
public
:
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
25
private
:
26
wxRect
mRect
;
27
int
mRange
;
28
int
mCur
;
29
int
mLast
;
30
int
mInterval
;
31
int
mBar
;
32
int
mGap
;
33
int
mMargin
;
34
};
gap
static const int gap
Definition:
MeterPanel.cpp:194
FreqGauge
Definition:
FreqGauge.h:17
FreqGauge::mInterval
int mInterval
Definition:
FreqGauge.h:30
FreqGauge::mRange
int mRange
Definition:
FreqGauge.h:27
FreqGauge::mGap
int mGap
Definition:
FreqGauge.h:32
FreqGauge::mBar
int mBar
Definition:
FreqGauge.h:31
FreqGauge::mLast
int mLast
Definition:
FreqGauge.h:29
FreqGauge::mCur
int mCur
Definition:
FreqGauge.h:28
FreqGauge::mMargin
int mMargin
Definition:
FreqGauge.h:33
FreqGauge::mRect
wxRect mRect
Definition:
FreqGauge.h:26
Generated by
1.9.3