Port XML templates to Lua, update AceGUI/AceConfig, fix $parent nil frame issues on our game version

This commit is contained in:
NoM0Re
2025-07-29 18:02:22 +02:00
committed by GitHub
parent dce683db43
commit 9d0cc562b9
48 changed files with 1235 additions and 1128 deletions
@@ -309,11 +309,11 @@ local backdrop = {
}
local function Constructor()
local frame = CreateFrame("Frame", nil, UIParent)
local widgetNum = AceGUI:GetNextWidgetNum(Type)
local frame = CreateFrame("Frame", ("%s%Frame"):format(Type, widgetNum), UIParent)
frame:Hide()
frame:SetScript("OnShow", OnFrameShow);
local widgetNum = AceGUI:GetNextWidgetNum(Type)
local label = frame:CreateFontString(nil, "OVERLAY", "GameFontNormalSmall")
label:SetPoint("TOPLEFT", frame, "TOPLEFT", 0, -4)