kolibrios-gitea/programs/develop/libraries/libs_v2/include/font.h

13 lines
216 B
C
Raw Normal View History

: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");
}