From e051302b2300452eaf241b23409999b6972cffe2 Mon Sep 17 00:00:00 2001 From: 4DBug <4DBug@github.com> Date: Thu, 8 Oct 2026 17:00:00 -0500 Subject: [PATCH] Rename 'ImGui Sincerely' to 'Dear ImGui' --- build/ImGui.luau | 48 ++++++++++++++-------------- imgui.lua | 14 ++++---- imgui_demo.lua | 14 ++++---- imgui_draw.lua | 2 +- imgui_h.lua | 2 +- imgui_internal.lua | 2 +- imgui_tables.lua | 2 +- imgui_widgets.lua | 4 +-- imstb_rectpack.lua | 2 +- imstb_textedit.lua | 2 +- imstb_truetype.lua | 2 +- imstd_minstdio.lua | 2 +- tools/test/scripts/t_composite.luau | 2 +- tools/test/scripts/t_drag.luau | 6 ++-- tools/test/scripts/t_style_leak.luau | 4 +-- 15 files changed, 54 insertions(+), 54 deletions(-) diff --git a/build/ImGui.luau b/build/ImGui.luau index 703bc51..d803b4c 100644 --- a/build/ImGui.luau +++ b/build/ImGui.luau @@ -9,7 +9,7 @@ function IM_INCLUDE(name) end __FILES['imgui.lua'] = function() ---- ImGui Sincerely WIP +--- Dear ImGui WIP -- (Core Code) --- Flags: @@ -101,7 +101,7 @@ IM_INCLUDE"imgui_tables.lua" do --[[ [SECTION] imgui_dragdrop (was imgui_dragdrop.lua) ]] ---- ImGui Sincerely +--- Dear ImGui -- Drag and drop: 1:1 port of imgui.cpp [SECTION] DRAG AND DROP (docking branch) -- Payload `Data` is any Lua value (no copy is made). `data_size` is optional and only kept for API parity. @@ -391,7 +391,7 @@ function ImGui.PayloadIsDataType(payload, t) return ImGuiPayload_IsDataType(payl end --[[ [SECTION] imgui_dragdrop (was imgui_dragdrop.lua) ]] do --[[ [SECTION] imgui_docking (was imgui_docking.lua) ]] ---- ImGui Sincerely +--- Dear ImGui -- Docking: 1:1 port of imgui.cpp [SECTION] DOCKING (docking branch, 1.93 WIP) -- -- Port notes: @@ -4301,7 +4301,7 @@ local function ImGuiLocEntry(key, text) end local GLocalizationEntriesEnUS = { - ImGuiLocEntry(ImGuiLocKey.VersionStr, "ImGui Sincerely WIP"), + ImGuiLocEntry(ImGuiLocKey.VersionStr, "Dear ImGui WIP"), ImGuiLocEntry(ImGuiLocKey.TableSizeOne, "Size column to fit###SizeOne"), ImGuiLocEntry(ImGuiLocKey.TableSizeAllFit, "Size all columns to fit###SizeAll"), ImGuiLocEntry(ImGuiLocKey.TableSizeAllDefault, "Size all columns to default###SizeAll"), @@ -17511,7 +17511,7 @@ function ImGui.ShowDebugLogWindow(p_open) ImGui.SetNextWindowSize(ImVec2(0.0, ImGui.GetFontSize() * 12.0), ImGuiCond.FirstUseEver) end local visible - p_open, visible = ImGui.Begin("ImGui Sincerely Debug Log", p_open) + p_open, visible = ImGui.Begin("Dear ImGui Debug Log", p_open) if not visible or ImGui.GetCurrentWindow().BeginCount > 1 then ImGui.End() return p_open @@ -17671,7 +17671,7 @@ function ImGui.ShowIDStackToolWindow(p_open) ImGui.SetNextWindowSize(ImVec2(0.0, ImGui.GetFontSize() * 8.0), ImGuiCond.FirstUseEver) end local visible - p_open, visible = ImGui.Begin("ImGui Sincerely ID Stack Tool", p_open) + p_open, visible = ImGui.Begin("Dear ImGui ID Stack Tool", p_open) if not visible or ImGui.GetCurrentWindow().BeginCount > 1 then ImGui.End() return p_open @@ -18146,7 +18146,7 @@ function ImGui.ShowMetricsWindow(p_open) if cfg.ShowIDStackTool then cfg.ShowIDStackTool = ImGui.ShowIDStackToolWindow(cfg.ShowIDStackTool) end local visible - p_open, visible = ImGui.Begin("ImGui Sincerely Metrics/Debugger", p_open) + p_open, visible = ImGui.Begin("Dear ImGui Metrics/Debugger", p_open) if not visible or ImGui.GetCurrentWindow().BeginCount > 1 then ImGui.End() return p_open @@ -18472,7 +18472,7 @@ __FILES['imgui_demo.lua'] = function() -- dear imgui demo (Luau port of imgui_demo.cpp). Optional: the library never calls into this file. do --[[ imgui_demo.lua ]] ---- ImGui Sincerely WIP +--- Dear ImGui WIP -- (Demo Code) Port of imgui_demo.cpp (docking branch) -- This file: shared demo helpers, ShowDemoWindow(), DemoWindowMenuBar(), DemoWindowWidgets() dispatcher, example tree/image viewer helpers. -- Other parts (all global functions, loaded from the same bundle): @@ -18907,7 +18907,7 @@ local function DemoWindowMenuBar(data) ImGui.SetItemTooltip("Requires io.ConfigDebugIsDebuggerPresent=true to be set.\n\nWe otherwise disable some extra features to avoid casual users crashing the application.") end _, data.ShowStyleEditor = ImGui.MenuItem("Style Editor", nil, data.ShowStyleEditor) - _, data.ShowAbout = ImGui.MenuItem("About ImGui Sincerely", nil, data.ShowAbout) + _, data.ShowAbout = ImGui.MenuItem("About Dear ImGui", nil, data.ShowAbout) ImGui.EndMenu() end @@ -19169,7 +19169,7 @@ function ImGui.ShowDemoWindow(p_open) if data.ShowAbout then RunApp(ImGui.ShowAboutWindow, "ShowAbout") end if data.ShowStyleEditor then local visible - data.ShowStyleEditor, visible = ImGui.Begin("ImGui Sincerely Style Editor", data.ShowStyleEditor) + data.ShowStyleEditor, visible = ImGui.Begin("Dear ImGui Style Editor", data.ShowStyleEditor) if visible then ImGui.ShowStyleEditor() end @@ -19199,7 +19199,7 @@ function ImGui.ShowDemoWindow(p_open) -- Main body of the Demo window starts here. local visible - p_open, visible = ImGui.Begin("ImGui Sincerely Demo", p_open, window_flags) + p_open, visible = ImGui.Begin("Dear ImGui Demo", p_open, window_flags) if no_close then p_open = nil end if not visible then -- Early out if the window is collapsed, as an optimization. @@ -19216,7 +19216,7 @@ function ImGui.ShowDemoWindow(p_open) -- Menu Bar DemoWindowMenuBar(data) - ImGui.Text("ImGui Sincerely says hello! (%s) (%d)", IMGUI_VERSION or "WIP", IMGUI_VERSION_NUM or 0) + ImGui.Text("Dear ImGui says hello! (%s) (%d)", IMGUI_VERSION or "WIP", IMGUI_VERSION_NUM or 0) ImGui.Spacing() if ImGui.CollapsingHeader("Help") then @@ -19398,7 +19398,7 @@ end end --[[ imgui_demo.lua ]] do --[[ imgui_demo_2.lua ]] ---- ImGui Sincerely WIP +--- Dear ImGui WIP -- (Demo Code, part 2): DemoWindowLayout(), DemoWindowPopups(), DemoWindowTables(), DemoWindowColumns(), -- DemoWindowInputs() and all ShowExampleAppXXX() example apps. -- Port of imgui_demo.cpp (docking branch). Globals are shared with imgui_demo.lua (HelpMarker, ShowExampleMenuFile, ...) @@ -25671,7 +25671,7 @@ local _ local show_config_info = false function ImGui.ShowAboutWindow(p_open) local visible - p_open, visible = ImGui.Begin("About ImGui Sincerely", p_open, ImGuiWindowFlags.AlwaysAutoResize) + p_open, visible = ImGui.Begin("About Dear ImGui", p_open, ImGuiWindowFlags.AlwaysAutoResize) if not visible then ImGui.End(); return p_open end ImGui.Text("Dear ImGui %s (%d)", IMGUI_VERSION, IMGUI_VERSION_NUM) ImGui.TextLinkOpenURL("Homepage", "https://github.com/ocornut/imgui"); ImGui.SameLine() @@ -25754,7 +25754,7 @@ return true end __FILES['imgui_draw.lua'] = function() ---- ImGui Sincerely WIP +--- Dear ImGui WIP -- (Draw Code) FONT_ATLAS_DEFAULT_TEX_DATA_W = 122 @@ -30992,7 +30992,7 @@ return true -- [Roblox] ModuleScripts must return exactly one value end __FILES['imgui_h.lua'] = function() ---- ImGui Sincerely WIP +--- Dear ImGui WIP -- (Definitions) --- @meta @@ -40719,7 +40719,7 @@ ffff001300090013001d002700310033003d004a0054005e00680072007c00860090009a00a400ae end __FILES['imgui_internal.lua'] = function() ---- ImGui Sincerely WIP +--- Dear ImGui WIP -- (internal structures/api) --- @meta @@ -43891,7 +43891,7 @@ return true -- [Roblox] ModuleScripts must return exactly one value end __FILES['imgui_tables.lua'] = function() ---- ImGui Sincerely WIP +--- Dear ImGui WIP -- (Tables and Columns Code) -- 1:1 port of imgui_tables.cpp (docking branch, 1.93 WIP) -- @@ -48238,7 +48238,7 @@ return true -- [Roblox] ModuleScripts must return exactly one value end __FILES['imgui_widgets.lua'] = function() ---- ImGui Sincerely WIP +--- Dear ImGui WIP -- (Widgets Code) --- @type ImGuiContext? @@ -56811,7 +56811,7 @@ end do --[[ [SECTION] Widgets: BeginTabBar, EndTabBar, etc. (was imgui_tabs.lua) ]] ---- ImGui Sincerely +--- Dear ImGui -- Tab bars & tab items: 1:1 port of imgui_widgets.cpp [SECTION] Widgets: BeginTabBar/BeginTabItem (docking branch) -- -- Port notes: @@ -57979,7 +57979,7 @@ return true -- [Roblox] ModuleScripts must return exactly one value end __FILES['imstb_rectpack.lua'] = function() ---- ImGui Sincerely +--- Dear ImGui -- This is a Lua port of original `imstb_rectpack.h` -- ALL TABLES IN THIS FILE ARE 1-BASED! @@ -58425,7 +58425,7 @@ return { end __FILES['imstb_textedit.lua'] = function() ---- ImGui Sincerely +--- Dear ImGui -- This is a Lua port of original `imstb_textedit.h` -- ALL TABLES IN THIS FILE ARE 1-BASED! @@ -59666,7 +59666,7 @@ return { end __FILES['imstb_truetype.lua'] = function() ---- ImGui Sincerely +--- Dear ImGui -- This is a Lua port of original `imstb_truetype.h` --- STBTT_RASTERIZER_VERSION == 2 @@ -62134,7 +62134,7 @@ return { end __FILES['imstd_minstdio.lua'] = function() ---- ImGui Sincerely +--- Dear ImGui -- This is a minimal Lua impl of C-like sscanf, sprintf sub-set -- Supports: diff --git a/imgui.lua b/imgui.lua index dfe57ad..2c2c7b2 100644 --- a/imgui.lua +++ b/imgui.lua @@ -1,4 +1,4 @@ ---- ImGui Sincerely WIP +--- Dear ImGui WIP -- (Core Code) --- Flags: @@ -90,7 +90,7 @@ IM_INCLUDE"imgui_tables.lua" do --[[ [SECTION] imgui_dragdrop (was imgui_dragdrop.lua) ]] ---- ImGui Sincerely +--- Dear ImGui -- Drag and drop: 1:1 port of imgui.cpp [SECTION] DRAG AND DROP (docking branch) -- Payload `Data` is any Lua value (no copy is made). `data_size` is optional and only kept for API parity. @@ -380,7 +380,7 @@ function ImGui.PayloadIsDataType(payload, t) return ImGuiPayload_IsDataType(payl end --[[ [SECTION] imgui_dragdrop (was imgui_dragdrop.lua) ]] do --[[ [SECTION] imgui_docking (was imgui_docking.lua) ]] ---- ImGui Sincerely +--- Dear ImGui -- Docking: 1:1 port of imgui.cpp [SECTION] DOCKING (docking branch, 1.93 WIP) -- -- Port notes: @@ -4290,7 +4290,7 @@ local function ImGuiLocEntry(key, text) end local GLocalizationEntriesEnUS = { - ImGuiLocEntry(ImGuiLocKey.VersionStr, "ImGui Sincerely WIP"), + ImGuiLocEntry(ImGuiLocKey.VersionStr, "Dear ImGui WIP"), ImGuiLocEntry(ImGuiLocKey.TableSizeOne, "Size column to fit###SizeOne"), ImGuiLocEntry(ImGuiLocKey.TableSizeAllFit, "Size all columns to fit###SizeAll"), ImGuiLocEntry(ImGuiLocKey.TableSizeAllDefault, "Size all columns to default###SizeAll"), @@ -17500,7 +17500,7 @@ function ImGui.ShowDebugLogWindow(p_open) ImGui.SetNextWindowSize(ImVec2(0.0, ImGui.GetFontSize() * 12.0), ImGuiCond.FirstUseEver) end local visible - p_open, visible = ImGui.Begin("ImGui Sincerely Debug Log", p_open) + p_open, visible = ImGui.Begin("Dear ImGui Debug Log", p_open) if not visible or ImGui.GetCurrentWindow().BeginCount > 1 then ImGui.End() return p_open @@ -17660,7 +17660,7 @@ function ImGui.ShowIDStackToolWindow(p_open) ImGui.SetNextWindowSize(ImVec2(0.0, ImGui.GetFontSize() * 8.0), ImGuiCond.FirstUseEver) end local visible - p_open, visible = ImGui.Begin("ImGui Sincerely ID Stack Tool", p_open) + p_open, visible = ImGui.Begin("Dear ImGui ID Stack Tool", p_open) if not visible or ImGui.GetCurrentWindow().BeginCount > 1 then ImGui.End() return p_open @@ -18135,7 +18135,7 @@ function ImGui.ShowMetricsWindow(p_open) if cfg.ShowIDStackTool then cfg.ShowIDStackTool = ImGui.ShowIDStackToolWindow(cfg.ShowIDStackTool) end local visible - p_open, visible = ImGui.Begin("ImGui Sincerely Metrics/Debugger", p_open) + p_open, visible = ImGui.Begin("Dear ImGui Metrics/Debugger", p_open) if not visible or ImGui.GetCurrentWindow().BeginCount > 1 then ImGui.End() return p_open diff --git a/imgui_demo.lua b/imgui_demo.lua index 39ba351..46e49cc 100644 --- a/imgui_demo.lua +++ b/imgui_demo.lua @@ -1,7 +1,7 @@ -- dear imgui demo (Luau port of imgui_demo.cpp). Optional: the library never calls into this file. do --[[ imgui_demo.lua ]] ---- ImGui Sincerely WIP +--- Dear ImGui WIP -- (Demo Code) Port of imgui_demo.cpp (docking branch) -- This file: shared demo helpers, ShowDemoWindow(), DemoWindowMenuBar(), DemoWindowWidgets() dispatcher, example tree/image viewer helpers. -- Other parts (all global functions, loaded from the same bundle): @@ -436,7 +436,7 @@ local function DemoWindowMenuBar(data) ImGui.SetItemTooltip("Requires io.ConfigDebugIsDebuggerPresent=true to be set.\n\nWe otherwise disable some extra features to avoid casual users crashing the application.") end _, data.ShowStyleEditor = ImGui.MenuItem("Style Editor", nil, data.ShowStyleEditor) - _, data.ShowAbout = ImGui.MenuItem("About ImGui Sincerely", nil, data.ShowAbout) + _, data.ShowAbout = ImGui.MenuItem("About Dear ImGui", nil, data.ShowAbout) ImGui.EndMenu() end @@ -698,7 +698,7 @@ function ImGui.ShowDemoWindow(p_open) if data.ShowAbout then RunApp(ImGui.ShowAboutWindow, "ShowAbout") end if data.ShowStyleEditor then local visible - data.ShowStyleEditor, visible = ImGui.Begin("ImGui Sincerely Style Editor", data.ShowStyleEditor) + data.ShowStyleEditor, visible = ImGui.Begin("Dear ImGui Style Editor", data.ShowStyleEditor) if visible then ImGui.ShowStyleEditor() end @@ -728,7 +728,7 @@ function ImGui.ShowDemoWindow(p_open) -- Main body of the Demo window starts here. local visible - p_open, visible = ImGui.Begin("ImGui Sincerely Demo", p_open, window_flags) + p_open, visible = ImGui.Begin("Dear ImGui Demo", p_open, window_flags) if no_close then p_open = nil end if not visible then -- Early out if the window is collapsed, as an optimization. @@ -745,7 +745,7 @@ function ImGui.ShowDemoWindow(p_open) -- Menu Bar DemoWindowMenuBar(data) - ImGui.Text("ImGui Sincerely says hello! (%s) (%d)", IMGUI_VERSION or "WIP", IMGUI_VERSION_NUM or 0) + ImGui.Text("Dear ImGui says hello! (%s) (%d)", IMGUI_VERSION or "WIP", IMGUI_VERSION_NUM or 0) ImGui.Spacing() if ImGui.CollapsingHeader("Help") then @@ -927,7 +927,7 @@ end end --[[ imgui_demo.lua ]] do --[[ imgui_demo_2.lua ]] ---- ImGui Sincerely WIP +--- Dear ImGui WIP -- (Demo Code, part 2): DemoWindowLayout(), DemoWindowPopups(), DemoWindowTables(), DemoWindowColumns(), -- DemoWindowInputs() and all ShowExampleAppXXX() example apps. -- Port of imgui_demo.cpp (docking branch). Globals are shared with imgui_demo.lua (HelpMarker, ShowExampleMenuFile, ...) @@ -7200,7 +7200,7 @@ local _ local show_config_info = false function ImGui.ShowAboutWindow(p_open) local visible - p_open, visible = ImGui.Begin("About ImGui Sincerely", p_open, ImGuiWindowFlags.AlwaysAutoResize) + p_open, visible = ImGui.Begin("About Dear ImGui", p_open, ImGuiWindowFlags.AlwaysAutoResize) if not visible then ImGui.End(); return p_open end ImGui.Text("Dear ImGui %s (%d)", IMGUI_VERSION, IMGUI_VERSION_NUM) ImGui.TextLinkOpenURL("Homepage", "https://github.com/ocornut/imgui"); ImGui.SameLine() diff --git a/imgui_draw.lua b/imgui_draw.lua index 920cd69..962cf6c 100644 --- a/imgui_draw.lua +++ b/imgui_draw.lua @@ -1,4 +1,4 @@ ---- ImGui Sincerely WIP +--- Dear ImGui WIP -- (Draw Code) FONT_ATLAS_DEFAULT_TEX_DATA_W = 122 diff --git a/imgui_h.lua b/imgui_h.lua index 020b3b3..31ae926 100644 --- a/imgui_h.lua +++ b/imgui_h.lua @@ -1,4 +1,4 @@ ---- ImGui Sincerely WIP +--- Dear ImGui WIP -- (Definitions) --- @meta diff --git a/imgui_internal.lua b/imgui_internal.lua index d3ac145..33c16e2 100644 --- a/imgui_internal.lua +++ b/imgui_internal.lua @@ -1,4 +1,4 @@ ---- ImGui Sincerely WIP +--- Dear ImGui WIP -- (internal structures/api) --- @meta diff --git a/imgui_tables.lua b/imgui_tables.lua index 25f1c78..a7922d6 100644 --- a/imgui_tables.lua +++ b/imgui_tables.lua @@ -1,4 +1,4 @@ ---- ImGui Sincerely WIP +--- Dear ImGui WIP -- (Tables and Columns Code) -- 1:1 port of imgui_tables.cpp (docking branch, 1.93 WIP) -- diff --git a/imgui_widgets.lua b/imgui_widgets.lua index bbd44eb..2dde336 100644 --- a/imgui_widgets.lua +++ b/imgui_widgets.lua @@ -1,4 +1,4 @@ ---- ImGui Sincerely WIP +--- Dear ImGui WIP -- (Widgets Code) --- @type ImGuiContext? @@ -8571,7 +8571,7 @@ end do --[[ [SECTION] Widgets: BeginTabBar, EndTabBar, etc. (was imgui_tabs.lua) ]] ---- ImGui Sincerely +--- Dear ImGui -- Tab bars & tab items: 1:1 port of imgui_widgets.cpp [SECTION] Widgets: BeginTabBar/BeginTabItem (docking branch) -- -- Port notes: diff --git a/imstb_rectpack.lua b/imstb_rectpack.lua index 9584658..93257f1 100644 --- a/imstb_rectpack.lua +++ b/imstb_rectpack.lua @@ -1,4 +1,4 @@ ---- ImGui Sincerely +--- Dear ImGui -- This is a Lua port of original `imstb_rectpack.h` -- ALL TABLES IN THIS FILE ARE 1-BASED! diff --git a/imstb_textedit.lua b/imstb_textedit.lua index bcf7f3a..e7194c6 100644 --- a/imstb_textedit.lua +++ b/imstb_textedit.lua @@ -1,4 +1,4 @@ ---- ImGui Sincerely +--- Dear ImGui -- This is a Lua port of original `imstb_textedit.h` -- ALL TABLES IN THIS FILE ARE 1-BASED! diff --git a/imstb_truetype.lua b/imstb_truetype.lua index d352033..17c4773 100644 --- a/imstb_truetype.lua +++ b/imstb_truetype.lua @@ -1,4 +1,4 @@ ---- ImGui Sincerely +--- Dear ImGui -- This is a Lua port of original `imstb_truetype.h` --- STBTT_RASTERIZER_VERSION == 2 diff --git a/imstd_minstdio.lua b/imstd_minstdio.lua index 916bc03..7875626 100644 --- a/imstd_minstdio.lua +++ b/imstd_minstdio.lua @@ -1,4 +1,4 @@ ---- ImGui Sincerely +--- Dear ImGui -- This is a minimal Lua impl of C-like sscanf, sprintf sub-set -- Supports: diff --git a/tools/test/scripts/t_composite.luau b/tools/test/scripts/t_composite.luau index b591dab..55525f6 100644 --- a/tools/test/scripts/t_composite.luau +++ b/tools/test/scripts/t_composite.luau @@ -61,7 +61,7 @@ game:GetService("RunService").Stepped:Connect(function() G.ImGui_ImplRoblox.NewFrame() io.DeltaTime = 1 / 60 io:AddMousePosEvent(300 + (frame * 37) % 300, 100 + (frame * 53) % 500) - local dw = ImGui.FindWindowByName("ImGui Sincerely Demo") + local dw = ImGui.FindWindowByName("Dear ImGui Demo") if dw and frame % 3 == 0 then io:AddMousePosEvent(dw.Pos.x + 200, dw.Pos.y + 300); io:AddMouseWheelEvent(0, (frame % 30 < 18) and -1 or 1) end ImGui.NewFrame() ImGui.ShowDemoWindow(true) diff --git a/tools/test/scripts/t_drag.luau b/tools/test/scripts/t_drag.luau index 5891c01..05e5c72 100644 --- a/tools/test/scripts/t_drag.luau +++ b/tools/test/scripts/t_drag.luau @@ -16,10 +16,10 @@ game:GetService("RunService").Stepped:Connect(function() io.DeltaTime = 1 / 60 if MODE == "drag" then local t = math.abs((frame % 200) - 100) -- triangle wave, smooth back and forth - if frame == 5 then local w = ImGui.FindWindowByName("ImGui Sincerely Demo"); bx, by = w.Pos.x + 80, w.Pos.y + 8; io:AddMousePosEvent(bx, by) elseif frame == 6 then io:AddMouseButtonEvent(0, true) + if frame == 5 then local w = ImGui.FindWindowByName("Dear ImGui Demo"); bx, by = w.Pos.x + 80, w.Pos.y + 8; io:AddMousePosEvent(bx, by) elseif frame == 6 then io:AddMouseButtonEvent(0, true) elseif frame > 6 then io:AddMousePosEvent(bx - t * 5, by + t * 2) end elseif MODE == "scroll" then - local w = ImGui.FindWindowByName("ImGui Sincerely Demo"); if w then io:AddMousePosEvent(w.Pos.x + w.Size.x * 0.5, w.Pos.y + w.Size.y * 0.5) end + local w = ImGui.FindWindowByName("Dear ImGui Demo"); if w then io:AddMousePosEvent(w.Pos.x + w.Size.x * 0.5, w.Pos.y + w.Size.y * 0.5) end io:AddMouseWheelEvent(0, (frame % 20 < 10) and -1 or 1) else io:AddMousePosEvent(60 + (frame * 7) % 200, 80 + (frame * 5) % 200) @@ -39,7 +39,7 @@ game:GetService("RunService").Stepped:Connect(function() ImGui.Render() G.ImGui_ImplRoblox.RenderDrawData(ImGui.GetDrawData()) if frame == ARG_FRAMES - 1 and MODE == "drag" then - local w = ImGui.FindWindowByName("ImGui Sincerely Demo") + local w = ImGui.FindWindowByName("Dear ImGui Demo") assert(w.Pos.y > 25, "window was not dragged") print("DRAG OK", w.Pos.x, w.Pos.y, w.Collapsed, ImGui.GetDrawData().TotalVtxCount) end diff --git a/tools/test/scripts/t_style_leak.luau b/tools/test/scripts/t_style_leak.luau index 5682698..5bec9da 100644 --- a/tools/test/scripts/t_style_leak.luau +++ b/tools/test/scripts/t_style_leak.luau @@ -20,7 +20,7 @@ local frame = 0 RunService.Stepped:Connect(function() frame += 1 G.ImGui_ImplRoblox.NewFrame() - local w0 = ImGui.FindWindowByName("ImGui Sincerely Demo") + local w0 = ImGui.FindWindowByName("Dear ImGui Demo") if w0 and frame > 2 then local io = ImGui.GetIO() -- sweep the mouse over the window so hover-only paths (tooltips etc.) run @@ -32,7 +32,7 @@ RunService.Stepped:Connect(function() ImGui.ShowDemoWindow(true) ImGui.Begin("Hello, world!"); ImGui.Checkbox("Demo Window", true); ImGui.SliderFloat("float", 0, 0, 1); ImGui.Button("Button"); ImGui.End() ImGui.EndFrame() - local w = ImGui.FindWindowByName("ImGui Sincerely Demo") + local w = ImGui.FindWindowByName("Dear ImGui Demo") ImGui.Render() G.ImGui_ImplRoblox.RenderDrawData(ImGui.GetDrawData())