⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 keymask.h

📁 brew的一个Demo 供大家参考和学习之用 很不错
💻 H
字号:
/*************************************************
Author: 李振鹏
Copyright (c) 2005 LP&P
You cannot remove this copyright and notice.
You cannot use this file without the express permission of the author.
All Rights Reserved.
FileName: KeyMask.h
Create Date: 2005-03-10
**************************************************/
#ifndef KEYMASK_H
#define KEYMASK_H

static const uint32 KEY_LEFT = 0x00000001;
static const uint32 KEY_LEFT_MASK = 0x00010000;
static const uint32 KEY_RIGHT = 0x00000002;
static const uint32 KEY_RIGHT_MASK = 0x00020000;
static const uint32 KEY_UP = 0x00000004;
static const uint32 KEY_UP_MASK = 0x00040000;
static const uint32 KEY_DOWN = 0x00000008;
static const uint32 KEY_DOWN_MASK = 0x00080000;
static const uint32 KEY_OK = 0x00000010;
static const uint32 KEY_OK_MASK = 0x00100000;

static const uint32 KEY_1 = 0x00000020;
static const uint32 KEY_1_MASK = 0x00200000;

static const uint32 KEY_2 = 0x00000040;
static const uint32 KEY_2_MASK = 0x00400000;

static const uint32 KEY_3 = 0x00000080;
static const uint32 KEY_3_MASK = 0x00800000;

static const uint32 KEY_4 = 0x00000100;
static const uint32 KEY_4_MASK = 0x01000000;

static const uint32 KEY_5 = 0x00000200;
static const uint32 KEY_5_MASK = 0x02000000;

static const uint32 KEY_6 = 0x00000400;
static const uint32 KEY_6_MASK = 0x04000000;

static const uint32 KEY_7 = 0x00000800;
static const uint32 KEY_7_MASK = 0x08000000;

static const uint32 KEY_8 = 0x00001000;
static const uint32 KEY_8_MASK = 0x10000000;

static const uint32 KEY_9 = 0x00002000;
static const uint32 KEY_9_MASK = 0x20000000;

static const uint32 KEY_STAR = 0x00002000;
static const uint32 KEY_STAR_MASK = 0x20000000;

static const uint32 KEY_SHARP = 0x00004000;
static const uint32 KEY_SHARP_MASK = 0x40000000;




#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -