Added RenderCheckMark() helper following the font size

Pretty ugly, not sure what's the right way to solve that automatically,
better shown as an "icon" so it doesn't have to necessarily look like
the font.
This commit is contained in:
ocornut
2015-05-07 17:06:07 +01:00
parent 13c3f11c66
commit 85b8967291
2 changed files with 21 additions and 1 deletions

View File

@ -1018,6 +1018,7 @@ struct ImFont
signed short XOffset, YOffset;
float U0, V0, U1, V1; // Texture coordinates
};
float BaseLine; // Distance from top to bottom of e.g. 'A' [0..FontSize]
ImFontAtlas* ContainerAtlas; // What we has been loaded into
ImVector<Glyph> Glyphs;
const Glyph* FallbackGlyph; // == FindGlyph(FontFallbackChar)