|
2 | 2 | // **DO NOT EDIT DIRECTLY**
|
3 | 3 | // https://github.com/dearimgui/dear_bindings
|
4 | 4 |
|
5 |
| -// dear imgui, v1.91.6 WIP |
| 5 | +// dear imgui, v1.91.6 |
6 | 6 | // (headers)
|
7 | 7 |
|
8 | 8 | // Help:
|
|
32 | 32 |
|
33 | 33 | // Library Version
|
34 | 34 | // (Integer encoded as XYYZZ for use in #if preprocessor conditionals, e.g. '#if IMGUI_VERSION_NUM >= 12345')
|
35 |
| -#define IMGUI_VERSION "1.91.6 WIP" |
36 |
| -#define IMGUI_VERSION_NUM 19154 |
| 35 | +#define IMGUI_VERSION "1.91.6" |
| 36 | +#define IMGUI_VERSION_NUM 19160 |
37 | 37 | #define IMGUI_HAS_TABLE
|
38 | 38 | #define IMGUI_HAS_VIEWPORT // Viewport WIP branch
|
39 | 39 | #define IMGUI_HAS_DOCK // Docking WIP branch
|
@@ -3562,24 +3562,24 @@ CIMGUI_API bool ImFontAtlas_GetMouseCursorTexData(ImFontAtlas*
|
3562 | 3562 | // ImFontAtlas automatically loads a default embedded font for you when you call GetTexDataAsAlpha8() or GetTexDataAsRGBA32().
|
3563 | 3563 | struct ImFont_t
|
3564 | 3564 | {
|
3565 |
| - // Members: Hot ~20/24 bytes (for CalcTextSize) |
| 3565 | + // [Internal] Members: Hot ~20/24 bytes (for CalcTextSize) |
3566 | 3566 | ImVector_float IndexAdvanceX; // 12-16 // out // // Sparse. Glyphs->AdvanceX in a directly indexable way (cache-friendly for CalcTextSize functions which only this info, and are often bottleneck in large UI).
|
3567 | 3567 | float FallbackAdvanceX; // 4 // out // = FallbackGlyph->AdvanceX
|
3568 | 3568 | float FontSize; // 4 // in // // Height of characters/line, set during loading (don't change after loading)
|
3569 | 3569 |
|
3570 |
| - // Members: Hot ~28/40 bytes (for CalcTextSize + render loop) |
| 3570 | + // [Internal] Members: Hot ~28/40 bytes (for RenderText loop) |
3571 | 3571 | ImVector_ImWchar IndexLookup; // 12-16 // out // // Sparse. Index glyphs by Unicode code-point.
|
3572 | 3572 | ImVector_ImFontGlyph Glyphs; // 12-16 // out // // All glyphs.
|
3573 | 3573 | const ImFontGlyph* FallbackGlyph; // 4-8 // out // = FindGlyph(FontFallbackChar)
|
3574 | 3574 |
|
3575 |
| - // Members: Cold ~32/40 bytes |
| 3575 | + // [Internal] Members: Cold ~32/40 bytes |
3576 | 3576 | // Conceptually ConfigData[] is the list of font sources merged to create this font.
|
3577 | 3577 | ImFontAtlas* ContainerAtlas; // 4-8 // out // // What we has been loaded into
|
3578 | 3578 | const ImFontConfig* ConfigData; // 4-8 // in // // Pointer within ContainerAtlas->ConfigData to ConfigDataCount instances
|
3579 | 3579 | short ConfigDataCount; // 2 // in // ~ 1 // Number of ImFontConfig involved in creating this font. Bigger than 1 when merging multiple font sources into one ImFont.
|
3580 |
| - ImWchar FallbackChar; // 2 // out // = FFFD/'?' // Character used if a glyph isn't found. |
3581 |
| - ImWchar EllipsisChar; // 2 // out // = '...'/'.'// Character used for ellipsis rendering. |
3582 | 3580 | short EllipsisCharCount; // 1 // out // 1 or 3
|
| 3581 | + ImWchar EllipsisChar; // 2-4 // out // = '...'/'.'// Character used for ellipsis rendering. |
| 3582 | + ImWchar FallbackChar; // 2-4 // out // = FFFD/'?' // Character used if a glyph isn't found. |
3583 | 3583 | float EllipsisWidth; // 4 // out // Width
|
3584 | 3584 | float EllipsisCharStep; // 4 // out // Step between characters when EllipsisCount > 0
|
3585 | 3585 | bool DirtyLookupTables; // 1 // out //
|
|
0 commit comments