rawbitmap.h

来自「miniucgui1.30版本的源码」· C头文件 代码 · 共 64 行

H
64
字号
/*** $Id: rawbitmap.h,v 1.9 2003/08/14 14:34:40 weiym Exp $**** rawbitmap.h: the head file of raw bitmap font operation set.**** Copyright (C) 2000 ~ 2002 Wei Yongming.** Copyright (C) 2003 Feynman Software.***/#ifndef GUI_FONT_RAWBITMAP_H    #define GUI_FONT_RAWBITMAP_H#ifdef __cplusplusextern "C" {#endif  /* __cplusplus */typedef struct{    CHARSETOPS* charset_ops;    int nr_chars;    int width;    int height;    unsigned char* font;    long font_size;} RBFINFO;extern FONTOPS raw_bitmap_font_ops;BOOL LoadRawBitmapFont (const char* file, RBFINFO* RBFInfo);void UnloadRawBitmapFont (RBFINFO* RBFInfo);#define SBC_RBFONT_INFO(logfont) ((RBFINFO*)(((DEVFONT*) (logfont.sbc_devfont))->data))#define MBC_RBFONT_INFO(logfont) ((RBFINFO*)(((DEVFONT*) (logfont.mbc_devfont))->data))#define SBC_RBFONT_INFO_P(logfont) ((RBFINFO*)(((DEVFONT*) (logfont->sbc_devfont))->data))#define MBC_RBFONT_INFO_P(logfont) ((RBFINFO*)(((DEVFONT*) (logfont->mbc_devfont))->data))#define RBFONT_INFO_P(devfont) ((RBFINFO*)(devfont->data))#define RBFONT_INFO(devfont) ((RBFINFO*)(devfont.data))#ifdef _INCORE_REStypedef struct{    const char* name;    const unsigned char* data;} INCORE_RBFINFO;extern INCORE_RBFINFO fixed6x12_iso8859_1;#ifdef _INCORERBF_GB12extern INCORE_RBFINFO song12_gb2312;#endif#endif /* _INCORE_RES */#ifdef __cplusplus}#endif  /* __cplusplus */#endif // GUI_FONT_RAWBITMAP_H

⌨️ 快捷键说明

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