Log/Capture: Fixed BeginTabItem() label not being included in a text log/capture.

Extracted tab rendering code into a RenderTextEllipsis() function.
This commit is contained in:
omar
2019-06-11 14:02:46 +02:00
parent a9b5c834b6
commit a8eb64fc54
4 changed files with 49 additions and 29 deletions

View File

@ -83,6 +83,7 @@ Other Changes:
- Style: Added style.WindowMenuButtonPosition (left/right, defaults to ImGuiDir_Left) to move the
collapsing/docking button to the other side of the title bar.
- Style: Made window close button cross slightly smaller.
- Log/Capture: Fixed BeginTabItem() label not being included in a text log/capture.
- ImDrawList: Added ImDrawCmd::VtxOffset value to support large meshes (64k+ vertices) using 16-bits indices.
The renderer back-end needs to set 'io.BackendFlags |= ImGuiBackendFlags_RendererHasVtxOffset' to enable
this, and honor the ImDrawCmd::VtxOffset field. Otherwise the value will always be zero.