-
Notifications
You must be signed in to change notification settings - Fork 0
/
SpecWin.h
57 lines (48 loc) · 1.11 KB
/
SpecWin.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
// SpecWin.h : header file
//
#include "Settings.h"
/////////////////////////////////////////////////////////////////////////////
// CSpecWin window
class CSpecWin : public CStatic
{
friend class CSpecDlg;
public:
int m_Spec[MAXSPEC + 1];
int m_BarDly;
int m_PckDly;
BOOL m_3dView;
protected:
CDC* m_SpecWinDC;
CRect m_rect;
short int m_STAB[(MAXSPEC + 1)*MAXWAVE];
PBYTE m_SQRTAB;
HGLOBAL m_hSTable;
HGLOBAL m_hSQTable;
CPoint m_SpecLine[LDEPTH][MAXLINE];
int m_oSpec[MAXSPEC + 1];
int m_PckY[MAXSPEC + 1];
int m_PckT[MAXSPEC + 1];
int m_cSpecY[256];
int m_cSpecSY[256];
int BARWITH;
int BARSTART;
public:
CSpecWin();
void CalcSpec();
void InitSpec();
void DrawSpec();
void ClearSpec();
void Toggle3dView();
void DrawSpec3d();
// Implementation
public:
virtual ~CSpecWin();
// Generated message map functions
protected:
//{{AFX_MSG(CSpecWin)
afx_msg void OnPaint();
afx_msg void OnDestroy();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////