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

📄 native.h

📁 在ecos 下mingui 的移植开发
💻 H
字号:
//// $Id: native.h,v 1.1 2000/11/26 07:18:59 ymwei Exp $//// native.h: the head file of native Low Level Input Engine //// Copyright (C) 2000,Song Lixin // Copyright (C) 2000, BluePoint Software.//// Created by Song Lixin, 2000/10/17//#ifndef GUI_IAL_NATIVE_H    #define GUI_IAL_NATIVE_H#ifdef __cplusplusextern "C" {#endif  /* __cplusplus */BOOL    InitNativeInput (INPUT* input, const char* mdev, const char* mtype);void    TermNativeInput (void);/* Interface to Mouse Device Driver*/typedef struct _mousedevice {	int	(*Open)(void);	void	(*Close)(void);	int	(*GetButtonInfo)(void);	void	(*GetDefaultAccel)(int *pscale,int *pthresh);	int	(*Read)(int *dx,int *dy,int *dz,int *bp);} MOUSEDEVICE;extern MOUSEDEVICE * mousedev;extern MOUSEDEVICE mousedev_GPM;extern MOUSEDEVICE mousedev_PS2;/* Interface to Keyboard Device Driver*/typedef struct _kbddevice {	int  (*Open)(void);	void (*Close)(void);	void (*GetModifierInfo)(int *modifiers);	int  (*Read)(unsigned char *buf,int *modifiers);} KBDDEVICE;extern KBDDEVICE kbddev;/* Mouse button bits*/#define	BUTTON_L	04#define BUTTON_M	02#define BUTTON_R	01#define 	MIN_COORD 	-32767#define		MAX_COORD	32767#ifdef __cplusplus}#endif  /* __cplusplus */#endif  /* GUI_IAL_NATIVE_H*/

⌨️ 快捷键说明

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