You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: imgui.h
+5-5
Original file line number
Diff line number
Diff line change
@@ -3441,7 +3441,7 @@ struct ImFontAtlas
3441
3441
ImVec2 TexUvWhitePixel; // Texture coordinates to a white pixel
3442
3442
ImVector<ImFont*> Fonts; // Hold all the fonts returned by AddFont*. Fonts[0] is the default font upon calling ImGui::NewFrame(), use ImGui::PushFont()/PopFont() to change the current font.
3443
3443
ImVector<ImFontAtlasCustomRect> CustomRects; // Rectangles for packing custom texture data into the atlas.
3444
-
ImVector<ImFontConfig> ConfigData; //Configuration data
3444
+
ImVector<ImFontConfig> Sources; //Source/configuration data
3445
3445
ImVec4 TexUvLines[IM_DRAWLIST_TEX_LINES_WIDTH_MAX + 1]; // UVs for baked anti-aliased lines
3446
3446
3447
3447
// [Internal] Font builder
@@ -3472,10 +3472,10 @@ struct ImFont
3472
3472
ImFontGlyph* FallbackGlyph; // 4-8 // out // = FindGlyph(FontFallbackChar)
3473
3473
3474
3474
// [Internal] Members: Cold ~32/40 bytes
3475
-
// Conceptually ConfigData[] is the list of font sources merged to create this font.
3475
+
// Conceptually Sources[] is the list of font sources merged to create this font.
3476
3476
ImFontAtlas* ContainerAtlas; // 4-8 // out // What we has been loaded into
3477
-
constImFontConfig* ConfigData; // 4-8 // in // Pointer within ContainerAtlas->ConfigData to ConfigDataCount instances
3478
-
shortConfigDataCount;// 2 // in // Number of ImFontConfig involved in creating this font. Usually 1, or >1 when merging multiple font sources into one ImFont.
3477
+
ImFontConfig* Sources; // 4-8 // in // Pointer within ContainerAtlas->Sources[], to SourcesCount instances
3478
+
shortSourcesCount; // 2 // in // Number of ImFontConfig involved in creating this font. Usually 1, or >1 when merging multiple font sources into one ImFont.
3479
3479
short EllipsisCharCount; // 1 // out // 1 or 3
3480
3480
ImWchar EllipsisChar; // 2-4 // out // Character used for ellipsis rendering ('...').
3481
3481
ImWchar FallbackChar; // 2-4 // out // Character used if a glyph isn't found (U+FFFD, '?')
0 commit comments