sindia.h
来自「《面向对象程序设计实用教程》一书的源码」· C头文件 代码 · 共 81 行
H
81 行
#if !defined(AFX_SINDIA_H__32CA4A9F_7418_424D_87F9_E15BD5CC346B__INCLUDED_)
#define AFX_SINDIA_H__32CA4A9F_7418_424D_87F9_E15BD5CC346B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SinDia.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CSinDia dialog
#define TWOPI (2*3.14159)
class CSinDia : public CDialog
{
// Construction
public:
void f_wnin(int wkey);
void f_dcline(int rgb);
CSinDia(CWnd* pParent = NULL); // standard constructor
int startx;
int starty;
int sinheight;
int sinwideth;
double maxout;
double maxout_y;
int dtf_w;
int len;
int out_len;
int k0;
int lk;
double wnin[8192];
double outlk[4096];
float w0;
float f0;
double bx;
double by;
float m_dtf;
int wnkey;
CString m_Fangs;
int m_nFlowXY;
bool m_pKey;
// Dialog Data
//{{AFX_DATA(CSinDia)
enum { IDD = IDD_DIALOG_SIN };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSinDia)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CSinDia)
afx_msg void OnPaint();
virtual BOOL OnInitDialog();
afx_msg void OnRadio1();
afx_msg void OnRadio2();
afx_msg void OnRadio3();
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
afx_msg void OnRadio4();
afx_msg void OnRadio5();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SINDIA_H__32CA4A9F_7418_424D_87F9_E15BD5CC346B__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?