Files
milsko/include/Mw/Font.h
NishiOwO 4618fee8d5 stuff
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@475 b9cfdab3-6d41-4d17-bbe4-086880011989
2025-10-23 07:38:22 +00:00

65 lines
961 B
C

/* $Id$ */
/*!
* %file Mw/Font.h
* %brief Default font
*/
#ifndef __MW_FONT_H__
#define __MW_FONT_H__
#include <Mw/MachDep.h>
#include <Mw/TypeDefs.h>
#ifdef __cplusplus
extern "C" {
#endif
/*!
* %brief Default font data
*/
MWDECL MwFont MwFontData[];
/*!
* %brief Default bold font data
*/
MWDECL MwFont MwBoldFontData[];
/*!
* %brief Default TTF font data
*/
MWDECL unsigned char MwTTFData[];
/*!
* %brief Default TTF font size
*/
MWDECL unsigned int MwTTFDataSize;
/*!
* %brief Default bold TTF font data
*/
MWDECL unsigned char MwBoldTTFData[];
/*!
* %brief Default bold TTF font size
*/
MWDECL unsigned int MwBoldTTFDataSize;
/*!
* %brief Loads a TTF Font
* %param data Data
* %param size Data size
* %return Font handle
*/
MWDECL void* MwFontLoad(unsigned char* data, unsigned int size);
/*!
* %brief Frees a font handle
* %param handle Handle
*/
MWDECL void MwFontFree(void* handle);
#ifdef __cplusplus
}
#endif
#endif