[common/client] platform: abstract runtime services

This commit is contained in:
Geoffrey McRae
2026-09-12 12:51:17 +10:00
parent a7d2e4592f
commit eabc56a6de
49 changed files with 4064 additions and 940 deletions

View File

@@ -24,7 +24,17 @@
#include <stdbool.h>
#include <stddef.h>
struct ImFont;
struct ImFontAtlas;
bool font_isStbTruetypeCompatible(
const void * data, size_t size, int fontIndex);
bool font_init(void);
void font_free(void);
char * font_get(const char * fontName);
bool font_addText(const char * text);
bool font_buildAtlas(struct ImFontAtlas * atlas, float size,
struct ImFont ** large);
#endif