Originally Posted by Ailae
Couldn't you create a function that creates the frame and then call on that function every time you create such a frame?
Lua Code:
-- Creates an ordinary frame, just more awesome function CreateAwesomeFrame(name) local f = CreateFrame("Frame", name, UIParent) f:SetSize(128, 128) -- this is the really awesome bit f:SetBackdrop({ bgFile = "Interface\\ChatFrame\\ChatFrameBackground", insets = {top = 0, left = 0, bottom = 0, right = 0}, }) f:SetBackdropColor(1, 1, 1, 0) f:SetPoint("CENTER") return f end local AwesomeFrame = CreateAwesomeFrame()
|
Imma try that when i get home!
Ill tell you if it works