From f42e0d2d433ae126a32a604835598a1d8b7150f1 Mon Sep 17 00:00:00 2001 From: Jonathan Bradley Date: Wed, 21 May 2025 16:25:53 -0400 Subject: pke: reference FontType via title over uuid --- src/font.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/font.hpp') diff --git a/src/font.hpp b/src/font.hpp index a8b1ecf..f07e640 100644 --- a/src/font.hpp +++ b/src/font.hpp @@ -119,6 +119,7 @@ void FontType_Tick(double delta); void FontType_Serialize(std::ostream &stream, FontType *ft); void FontType_Deserialize(std::istream &stream); FontType* FontType_Get(FontTypeIndex idx); +FontType* FontType_GetByTitle(const pk_cstr title); FontType* FontType_GetFonts(FontTypeIndex &count); FontTypeIndex FontType_RegisterFont(pk_cstr title, AssetHandle fontTextureHandle, AssetHandle glyphsHandle, FontTypeMSDFSettings *msdf_settings, FontTypeSpacing *spacing); void FontType_Unload(FontTypeIndex idx); -- cgit v1.2.3