📄 uifontex.h
字号:
#ifndef _UIFONTEX_
#define _UIFONTEX_
#include <pr2k.h>
#include <typedefine.h>
#define FONTEX_SIZE 4096
#define FONTEX_BITMAP_SIZE 32
#define FONTEX_VALID 0X7E
#define FONTEX_DELETE 0X3C
/***************************************************************************
purpose:
save extended chinese bitmap to system
prototype:
guiFontEx_SaveBitmap(const char *code,const unsigned short *bitmap,int len)
parameter:
code: chinese code
bitmap: bitmap of code
len: length of bitmap
result:
STATUS_OK: success
STATUS_ERR: failure
***************************************************************************/
DLL_EXP(STATUS) guiFontEx_SaveBitmap(const char *code,const unsigned short *bitmap,int len);
/***************************************************************************
purpose:
get extended chinese bitmap
prototype:
STATUS guiFontEx_GetBitmap(const char *code,unsigned short *bitmap,int len);
parameter:
code: chinese code
bitmap: bitmap of code
len: length of bitmap
result:
normal: the pointer of bitmap
NULL: failure
***************************************************************************/
DLL_EXP(unsigned short *) guiFontEx_GetBitmap(const char *code);
/***************************************************************************
purpose:
delete extended chinese bitmap
prototype:
STATUS guiFontEx_DeleteWord(const char *code);
parameter:
code: chinese code
result:
STATUS_OK: success
STATUS_ERR: failure
***************************************************************************/
DLL_EXP(STATUS) guiFontEx_DeleteWord(const char *code);
////////////////////////// internal function ////////////////////////
/***************************************************************************
purpose:
initialize extended font
prototype:
STATUS guiFontEx_Init(void);
parameter:
void;
result:
STATUS_OK: success
STATUS_ERR: failure
***************************************************************************/
STATUS guiFontEx_Init(void);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -