Releases
v1.38
Added DragFloat(), DragInt() widget, click and drag to adjust value with given step. Hold SHIFT/ALT to speed-up/slow-down. Double-click or CTRL+click to input text. Passing min >= max makes the widget unbounded.
Added DragFloat2(), DragFloat3(), DragFloat4(), DragInt2(), DragInt3(), DragInt4() helper variants.
Added ShowMetricsWindow() which is mainly useful to debug ImGui internals. Added IO.MetricsRenderVertices counter.
Added ResetMouseDragDelta() for iterative dragging operations.
Added ImFontAtlas::AddFontFromCompressedTTF() helper + binary_to_compressed_c.cpp tool to compress a file and create a .c array from it.
Added PushId() GetId() variants that takes string range to avoid user making unnecessary copies.
Added IsItemVisible().
Renamed IsClipped() to IsRectClipped(). Kept inline redirection function (will obsolete).
Renamed ImDrawList::AddArc() to ImDrawList::AddArcFast().
Fixed IsRectClipped() incorrectly returning false when log is enabled.
Slider: visual fix in the unlikely that style.GrabMinSize is larger than a slider.
SliderFloat: removed support for unbound slider (using FLT_MAX), caused various inconsistency. Use InputFloat()/DragFloat().
ColorEdit4: hide components prefix if there's no space for them.
Combo: adding frame padding inside the combo box.
Columns: mouse dragging uses absolute mouse coordinates.Fixed dragging left-most column of an auto-resizable window. #125
Selectable: render highlight into AutoFitPadding region but do not extend it, fixing visual gap.
Focus: Allow SetWindowFocus(NULL) to remove focus.
Focus: Clicking on void (outside an ImGui windows) loses keyboard-focus so application can use TAB.
Popup: Fixed hovering over a popup's child (popups disable hovering on other windows but not their childs) #197
Fixed active widget not releasing its active state while being clipped.
Fixed user-facing version of IsItemHovered() ignoring overlapping windows.
Fixed label vertical alignment for InputInt2(), InputInt3(), InputInt4().
Fixed new collapsed auto-resizing window with saved .ini settings not calculating their initial width #176
Fixed Begin() returning true on collapsed windows that had loaded settings #176
Fixed style.DisplaySafeAreaPadding handling from being applied on window prior to them auto-fitting.
ShowTestWindow(): added examples for DragFloat, DragInt and only custom label embedded in format strings.
ShowTestWindow(): fixed "manipulating titles" example not doing the right thing, broken in ff35d24
Examples: OpenGL/GLFW: Fixed modifier key state setting in GLFW callbacks.
Examples: OpenGL/GLFW: Added glBindTexture(0) in OpenGL fixed pipeline examples. Save restore current program and texture in the OpenGL3 example.
Examples: DirectX11: Removed unnecessary vertices conversion and CUSTOMVERTEX types.
Comments, fixes, tweaks.
You can’t perform that action at this time.