box3d/samples/gfx/fonts.h

20 lines
445 B
C
Raw Normal View History

// SPDX-FileCopyrightText: 2026 Erin Catto
// SPDX-License-Identifier: MIT
#pragma once
#ifdef __cplusplus
extern "C"
{
#endif
// TTF bytes, valid for the life of the program. Covers printable ASCII, which
// is all the samples emit. Anything outside that draws as '?'.
const unsigned char* GetFontBytes( int* outSize );
// Short name for the ImGui atlas and logs.
const char* GetFontName( void );
#ifdef __cplusplus
} // extern "C"
#endif