inputmethod.h

来自「本程序是使用CDMA450模块开发的一个无线公话完整程序」· C头文件 代码 · 共 37 行

H
37
字号
#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 + =
减小字号Ctrl + -
显示快捷键?