mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-09 23:54:20 +00:00
(Breaking) Fonts: rename GetCustomRectByIndex() to GetCustomRect(). Made return struct const.
This commit is contained in:
parent
85d0507580
commit
f816b861fc
4 changed files with 22 additions and 23 deletions
|
|
@ -3691,7 +3691,9 @@ IMGUI_API const ImFontLoader* ImFontAtlasGetFontLoaderForStbTruetype();
|
|||
// [SECTION] ImFontAtlas internal API
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
typedef int ImFontAtlasRectId; // -1 when invalid
|
||||
// An identifier to a rectangle in the atlas. -1 when invalid.
|
||||
// The rectangle may move, use GetCustomRect() to retrieve it.
|
||||
typedef int ImFontAtlasRectId;
|
||||
|
||||
// Packed rectangle lookup entry (we need an indirection to allow removing/reordering rectangles)
|
||||
// User are returned ImFontAtlasRectId values which are meant to be persistent.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue