Used to XML, trying to get the hang of doing it all .lua
Code:
function CFM_CreateConfig()
-- Create config frame
local f = CreateFrame("Frame", "CFM_Config", UIParent)
f:SetWidth(100)
f:SetHeight(100)
f:SetPoint("Center")
f:SetBackdrop({
bgFile = "Interface\DialogFrame\UI-DialogBox-Background",
edgeFile = "Interface\DialogFrame\UI-DialogBox-Border",
tile = "true",
tileSize = 32,
edgeSize = 32,
insets = {left = 11, right = 12, top = 12, bottom = 11}
})
f:SetBackdropColor(0,0,0,1)
end
Results in no frame, either mod called or /script called.