📄 presentdialog.h
字号:
#pragma once
// CPresentDialog 对话框
class CDisplayer;
class CPresentDialog : public CDialog
{
DECLARE_DYNAMIC(CPresentDialog)
public:
enum PresentType {PRESENT_NONE,PRESENT_SHOT,PRESENT_DRIBBLE,PRESENT_PASS,PRESENT_INTERCEPT,PRESENT_POS};
CPresentDialog(CDisplayer* pDisplayer,CWnd* pParent = NULL); // 标准构造函数
virtual ~CPresentDialog();
PresentType getPresentType() const { return _PresentType; }
// 对话框数据
enum { IDD = IDD_PRESENTDIALOG };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
DECLARE_MESSAGE_MAP()
private:
CDisplayer* _pDisplayer;
PresentType _PresentType;
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
protected:
virtual void OnCancel();
public:
afx_msg void OnBnClickedDribble();
afx_msg void OnBnClickedShot();
afx_msg void OnBnClickedPass();
afx_msg void OnBnClickedIntercept();
afx_msg void OnBnClickedPos();
afx_msg void OnBnClickedClear();
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -