mirror of
https://github.com/Drezil/imgui.git
synced 2025-07-16 17:53:14 +02:00
ImFont: Added FindGlyphNoFallback. Fixed MergeMode broken by 1ef1acbd8d
This commit is contained in:
1
imgui.h
1
imgui.h
@ -1784,6 +1784,7 @@ struct ImFont
|
||||
IMGUI_API void ClearOutputData();
|
||||
IMGUI_API void BuildLookupTable();
|
||||
IMGUI_API const ImFontGlyph*FindGlyph(ImWchar c) const;
|
||||
IMGUI_API const ImFontGlyph*FindGlyphNoFallback(ImWchar c) const;
|
||||
IMGUI_API void SetFallbackChar(ImWchar c);
|
||||
float GetCharAdvance(ImWchar c) const { return ((int)c < IndexAdvanceX.Size) ? IndexAdvanceX[(int)c] : FallbackAdvanceX; }
|
||||
bool IsLoaded() const { return ContainerAtlas != NULL; }
|
||||
|
Reference in New Issue
Block a user