📄 inputmethod.h
字号:
#ifndef _COMPONENT_INPUT
#define _COMPONENT_INPUT
#include "component.h"
#define INPUT_AREA_HEIGHT HZ_MAIN
typedef enum {
INPUT_DIGITAL,
INPUT_ENGLISH,
INPUT_PINYIN,
INPUT_SYMBOL1,
INPUT_SYMBOL2,
INPUT_MAXTYPE
} input_type_t;
#define INPUT_FIXED 0x80
#define INPUT_PWD 0x40
typedef struct input_box inputbox_t;
inputbox_t *XCreateInputBoard(component_t *parent, input_type_t type);
int XInputMsgHandle(inputbox_t *inb, XMSG *msg);
BYTE *XInputGetInput(inputbox_t *inb);
void XInputSetKeyBoard(inputbox_t *inb, input_type_t type);
BYTE ChangeNameToASCII(BYTE *pSrc, BYTE *pDst, BYTE maxLen);
void XDisableInput(inputbox_t *inb);
void XDeleteInputBoard(inputbox_t *inb);
void XShowInputBoard(inputbox_t *inb);
input_type_t XGetKeyBoardType(inputbox_t *inb);
int XGetKeyBoardSwitchType(inputbox_t *inb);
void SetDATABasaddress(int Address);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -