📄 bkgd.h
字号:
#if !defined(AFX_BKGD_H__9D9158C3_8690_402A_AE86_40FECA0A36B9__INCLUDED_)
#define AFX_BKGD_H__9D9158C3_8690_402A_AE86_40FECA0A36B9__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Bkgd.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CBkgd window
class CBkgd : public CWnd
{
// Construction
public:
CBkgd();
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CBkgd)
public:
virtual BOOL Create(CWnd* pParentWnd, UINT ctlID, UINT nID = NULL);
//}}AFX_VIRTUAL
// Implementation
public:
void DrawPoints();
void AppendPoints(double dNewPoints[501]);
CBitmap m_bitmapPlot;
virtual ~CBkgd();
// Generated message map functions
protected:
double m_dVdiv;
BOOL m_bRun;
CBitmap memBitmap;
double m_dCurrentPoints[501];
int m_nYdiv;
int m_nXdiv;
CRect m_rectPlot;
int m_nClientHeight;
int m_nClientWidth;
CRect m_rectClient;
UINT m_ctlID;
void InvalidateCtrl();
CBitmap* m_pOldBitmapGrid;
CBitmap* m_pOldBitmapPlot;
CBitmap m_bitmapGrid;
CDC m_dcPlot;
CDC m_dcGrid;
CRect m_rectGrid;
CBrush m_brushBk;
CPen m_penPlot;
CPen m_penGrid;
COLORREF m_clrBk;
COLORREF m_clrGrid;
COLORREF m_clrPlot;
//{{AFX_MSG(CBkgd)
afx_msg void OnPaint();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_BKGD_H__9D9158C3_8690_402A_AE86_40FECA0A36B9__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -