mirror of
https://github.com/ocornut/imgui.git
synced 2026-03-28 07:47:02 -05:00
(Breaking) Fonts: renamed AddCustomRectRegular() -> AddCustomRect().
This commit is contained in:
@@ -2498,7 +2498,7 @@ void ImTextureData::DestroyPixels()
|
||||
// - ImFontAtlas::RemoveFont()
|
||||
// - ImFontAtlasBuildNotifySetFont()
|
||||
//-----------------------------------------------------------------------------
|
||||
// - ImFontAtlas::AddCustomRectRegular()
|
||||
// - ImFontAtlas::AddCustomRect()
|
||||
// - ImFontAtlas::AddCustomRectFontGlyph()
|
||||
// - ImFontAtlas::GetCustomRect()
|
||||
// - ImFontAtlas::GetCustomRectUV()
|
||||
@@ -3223,7 +3223,7 @@ void ImFontAtlas::RemoveFont(ImFont* font)
|
||||
ImFontAtlasBuildNotifySetFont(this, font, new_current_font);
|
||||
}
|
||||
|
||||
int ImFontAtlas::AddCustomRectRegular(int width, int height)
|
||||
int ImFontAtlas::AddCustomRect(int width, int height)
|
||||
{
|
||||
IM_ASSERT(width > 0 && width <= 0xFFFF);
|
||||
IM_ASSERT(height > 0 && height <= 0xFFFF);
|
||||
|
||||
Reference in New Issue
Block a user