Noita Dear ImGui 1.17.0
The mod now uses ImGui version 1.90.2 WIP internally, upgraded from version 1.89.3 WIP.
Note! There are some breaking changes in this release. They should be minor and I don't think any mod is affected. Let me know if a mod does break, so I can try to help fix it or add a workaround in a future release.
Added:
ImGui.ListClipper.IncludeItemsByIndex(item_index)ImGui.Style.TabBarBorderSizeImGui.Style.TableAngledHeadersAngleImGui.Style.SeparatorTextBorderSizeImGui.Style.SeparatorTextAlign_xImGui.Style.SeparatorTextAlign_yImGui.Style.SeparatorTextPadding_xImGui.Style.SeparatorTextPadding_yImGui.Style.DockingSeparatorSizeImGui.StyleVar.TabBarBorderSizeImGui.StyleVar.SeparatorTextBorderSizeImGui.StyleVar.SeparatorTextAlignImGui.StyleVar.SeparatorTextPaddingImGui.StyleVar.DockingSeparatorSizeImGui.ComboFlags.WidthFitPreviewImGui.TreeNodeFlags.SpanAllColumnsImGui.TabItemFlags.NoAssumedClosureImGui.TableFlags.HighlightHoveredColumnImGui.TableColumnFlags.AngledHeaderTableAngledHeadersRow()ImGui.HoveredFlags.DockHierarchyImGui.HoveredFlags.AllowWhenOverlappedByItemImGui.HoveredFlags.AllowWhenOverlappedByWindowImGui.HoveredFlags.RootAndChildWindowsImGui.HoveredFlags.ForTooltipImGui.HoveredFlags.StationaryImGui.HoveredFlags.DelayNoneImGui.HoveredFlags.DelayShortImGui.HoveredFlags.DelayNormalImGui.HoveredFlags.NoSharedDelaySetNextItemAllowOverlap()BeginItemTooltip()GetWindowDockID()SetNextWindowDockID(dock_id, cond)DockBuilder*functions. Experimental, may change or be removed in later versions. Check if these arenilbefore trying to call these.ImGui.SeparatorText(text)ImGui.Key.[F13-F24,AppBack,AppForward]
Breaking changes:
BeginChildnow takes aChildFlagsenum as the 4th argument instead of a boolean.- If a mod calls
load_imguiwith a version below 1.17.0, then it will receive an overload that does still take a boolean argument.
- If a mod calls
BeginItemTooltip() now returns a boolean instead of nil, and you must only call EndTooltip() if it returns true. I believe currently it always returns true, so old code will keep working but this may change in a future version of imgui.
-- OLD: BAD BAD
imgui.BeginTooltip()
imgui.Text("Test")
imgui.EndTooltip()
-- New: Good
if imgui.BeginTooltip() then
imgui.Text("Test")
imgui.EndTooltip()
end
-- New: Good, and compatible with version of Noita Dear ImGui below and above 1.17.0
if imgui.BeginTooltip() ~= false then
imgui.Text("Test")
imgui.EndTooltip()
endRenames:
ImGui.ListClipper.ForceDisplayRangeByIndices->ImGui.ListClipper.IncludeItemsByIndexImGui.SelectableFlags.AllowItemOverlap->AllowOverlapImGui.TreeNodeFlags.AllowItemOverlap->AllowOverlapImGui.PushAllowKeyboardFocus->ImGui.PushTabStopImGui.PopAllowKeyboardFocus->ImGui.PopTabStop
Removed:
ImGui.WindowFlags.AlwaysUseWindowPaddingImGui.HoveredFlags.AllowWhenOverlappedSetItemAllowOverlap()