mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-09 23:54:20 +00:00
Fonts: added RemoveCustomRect().
+ internally add ImFontAtlasPackReuseRectEntry()
This commit is contained in:
parent
e9cf3de58f
commit
23dc46c4f8
3 changed files with 22 additions and 12 deletions
|
|
@ -3701,8 +3701,8 @@ IMGUI_API const ImFontLoader* ImFontAtlasGetFontLoaderForStbTruetype();
|
|||
// Having this also makes it easier to e.g. sort rectangles during repack.
|
||||
struct ImFontAtlasRectEntry
|
||||
{
|
||||
int TargetIndex : 31; // When Used: ImFontAtlasRectId -> into Rects[]. When unused: index to next unused RectsIndex[] slot to consume free-list.
|
||||
unsigned int Used : 1;
|
||||
int TargetIndex : 31; // When Used: ImFontAtlasRectId -> into Rects[]. When unused: index to next unused RectsIndex[] slot to consume free-list.
|
||||
unsigned int Used : 1;
|
||||
};
|
||||
|
||||
// Data available to potential texture post-processing functions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue