?? views.h
字號:
#if !defined VIEWS_H
#define VIEWS_H
#include "controls.h"
#include "canvas.h"
class Fft;
class SampleIter;
class ViewFreq: public SimpleControl
{
public:
ViewFreq (HWND hwndParent, int id)
: SimpleControl (hwndParent, id),
_xRecord(0) {}
void Update (Fft const & fftTransformer);
void Clear ();
void Fake ();
private:
int _xRecord;
};
class ViewWave: public SimpleControl
{
public:
ViewWave (HWND hwndParent, int id, int cSamples)
: SimpleControl (hwndParent, id),
_poly (cSamples),
_penGreen (RGB(0, 255, 128))
{}
void Update (Fft const & fftTransformer);
private:
PolyLine _poly;
Pen _penGreen;
};
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -