kolibrios-gitea/programs/develop/libraries/libs_v2/include/font.h
pavelyakov befac9b242 source code library
git-svn-id: svn://kolibrios.org@5936 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-11-27 09:20:48 +00:00

13 lines
216 B
C

:typedef struct
{
char (*load)(char *path);
} _FONT_;
_FONT_ font;
static inline font_lib_init(void)
{
if(font.load)return;
library.load("/sys/lib/font.obj");
font.load = library.get("font.load");
}