vector work to allow it to take an allocator, as well as a fixed count and skip the tracking vars.

This commit is contained in:
AzaezelX 2026-03-07 09:36:46 -06:00
parent 1715b65d39
commit cd8c944989
12 changed files with 1768 additions and 444 deletions

View file

@ -89,7 +89,7 @@ public:
///
/// @todo Rethink this so we don't have a private public.
virtual bool create( const char *name, dsize_t size, U32 charset = TGE_ANSI_CHARSET ) = 0;
static void enumeratePlatformFonts( Vector<StringTableEntry>& fonts, UTF16* fontFamily = NULL );
static void enumeratePlatformFonts( Vector<StringTableEntry,0, CustomAllocator<StringTableEntry, 0>>& fonts, UTF16* fontFamily = NULL );
};
extern PlatformFont *createPlatformFont(const char *name, dsize_t size, U32 charset = TGE_ANSI_CHARSET);