I'm having quite some hard time using my own images in an Addon I'm making for the first time, and I have follow the steps above to create my own tga files as well as using known wow compatible third-party tga files.
However, my addon only loads a green background when I try to set such images as the background for a frame.
0
I'm having quite some hard time using my own images in an Addon I'm making for the first time, and I have follow the steps above to create my own tga files as well as using known wow compatible third-party tga files.
However, my addon only loads a green background when I try to set such images as the background for a frame.
LUA:
mainFrame = CreateFrame("Frame", "mainFrame", UIParent);
mainFrame:SetSize(64, 64);
mainFrame:SetPoint("CENTER");
mainFrame:SetBackdrop( {
bgFile = "Interface/AddOns/AddonName/Resources/paw.tga",
insets = { left = 0, right = 0, top = 0, bottom = 0 }
});
If any one of you at all can tip me in on how to fix this issue I would be very grateful.
Cheers.