keyboardmgr_t.h
来自「VC++ DEMO, used for the beginners and th」· C头文件 代码 · 共 29 行
H
29 行
// KeyboardMgr_t.h: interface for the KeyboardMgr_t class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_KEYBOARDMGR_T_H__D3EC88F6_57F9_4A9D_81AC_C939A108CCED__INCLUDED_)
#define AFX_KEYBOARDMGR_T_H__D3EC88F6_57F9_4A9D_81AC_C939A108CCED__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "Keyboard.h"
class KeyboardMgr_t
{
public:
KeyboardMgr_t();
virtual ~KeyboardMgr_t();
typedef map<Key,Hot_Key *> KeyboardMap_t;
void FireEvent(const KeyVector_t& JustPressedKeys,const KeyVector_t& PressedKeys,
const KeyVector_t& JustUnPressedKeys);
void SetKeyboardMap( Hot_Key * HotKey);
private:
KeyboardMap_t m_KeyboardMap;
};
#endif // !defined(AFX_KEYBOARDMGR_T_H__D3EC88F6_57F9_4A9D_81AC_C939A108CCED__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?