📄 childview.h
字号:
#pragma once
#include "Delaunay.h"
class CChildView : public CWnd
{
public:
CChildView();
virtual ~CChildView();
protected:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnPaint();
afx_msg void OnFileOptions();
void NewVertices(void);
vertexSet m_Vertices;
triangleSet m_Triangles;
int m_nVertices;
REAL m_hScale;
REAL m_vScale;
int m_hMargin;
int m_vMargin;
int m_yText;
int m_nTime;
DECLARE_MESSAGE_MAP()
};
class COptionsDlg : public CDialog
{
public:
enum { IDD = IDD_OPTIONS };
COptionsDlg(CWnd* pParent = NULL);
virtual ~COptionsDlg();
int m_nVertices;
protected:
virtual BOOL OnInitDialog();
virtual void DoDataExchange(CDataExchange* pDX);
CSpinButtonCtrl c_spinVertices;
DECLARE_DYNAMIC(COptionsDlg)
DECLARE_MESSAGE_MAP()
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -