Rename 'ImGui Sincerely' to 'Dear ImGui'

This commit is contained in:
4DBug
2026-10-08 17:00:00 -05:00
parent 8421bb5475
commit e051302b23
15 changed files with 54 additions and 54 deletions
+1 -1
View File
@@ -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)
+3 -3
View File
@@ -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
+2 -2
View File
@@ -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())