Renamed ImBitmapFont -> ImFont, removed abstraction-pretend typedef

This commit is contained in:
ocornut
2014-11-28 22:38:41 +00:00
parent 07a6ba8aaf
commit df2ad5e899
4 changed files with 44 additions and 46 deletions

View File

@ -224,7 +224,7 @@ void InitImGui()
IM_ASSERT(tex_data != NULL);
#else
// Custom font from filesystem
io.Font = new ImBitmapFont();
io.Font = new ImFont();
io.Font->LoadFromFile("../../extra_fonts/mplus-2m-medium_18.fnt");
IM_ASSERT(io.Font->IsLoaded());