📄 commamd.h
字号:
#ifndef _Command_h_
#define _Command_h_
#include "base.h"
#ifdef __cplusplus
class CCommand
{
protected:
int m_nStep ; // 命令操作步
public:
CCommand() {}
~CCommand() {}
virtual int GetType() = 0; // 返回命令类型 ECommandType
virtual int OnLButtonDown(UINT nFlags, const Position& pos) = 0 ;
virtual int OnMouseMove(UINT nFlags, const Position& pos) = 0 ;
virtual int OnRButtonDown(UINT nFlags, const Position& pos) = 0 ;
virtual int Cancel() = 0 ;
} ;
#endif
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -