Originally Posted by p3lim
Lua Code:
Mixin(yourFrame, BackdropTemplateMixin)
|
One question about this, can I also adapt it so that I have a table with all frames where I needed the backdrop template and add it here automatically with a for-loop?
Something like that?
Lua Code:
AddOn.BackdropFrames = {
"frame1",
"frame2",
}
for i = 1, getn(AddOn.BackdropFrames) do
local BackdropFrames = AddOn.BackdropFrames[i]
if BackdropFrames then
Mixin(BackdropFrames, BackdropTemplateMixin)
end
end