minitype.h
来自「easyarm2200整个光盘内容」· C头文件 代码 · 共 52 行
H
52 行
/***************************************************************************/
/* */
/* minitype.h */
/* */
/* MiniType driver component. */
/* */
/* Copyright 2000-2015, 2003 by */
/* Zhou Hongquan, Shanghai Hanfeng Information Technology Co.,Ltd. */
/* EnMedia System Co., */
/* This file is part of the MiniType project, and may only be used */
/* to demostration minitype fonts. */
/***************************************************************************/
#ifndef __MINITYPE_H__
#define __MINITYPE_H__
#ifdef __cplusplus
extern "C" {
#endif
typedef int
(*lpInitFuncs)(char *lpfont); //初始化字体库
typedef void
(*lpFreeFuncs)(); //释放字体库
typedef int
(*lpSetParam)(int m_points);
typedef int
(*lpShowText)(int index,unsigned char* buffer);
//the buffer size is m_points*m_points;
typedef struct MiniType_Font_Funcs_
{
lpInitFuncs init;
lpSetParam setparam;
lpShowText showtext;
lpFreeFuncs free;
}Minitype_Font_Funcs;
#ifndef MINITYPE_EXPORT_VAR
#define MINITYPE_EXPORT_VAR( x ) extern x
#endif
MINITYPE_EXPORT_VAR( const Minitype_Font_Funcs ) mt_font_funcs;
#ifdef __cplusplus
}
#endif
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?