Hello evreybody,
I created the following texture on my textures folder in \myaddon\textures:
in DXT5, size 64x64, with alpha chanel
But I have this result on the screen:
I don't understand.
this is my code in control.lua
Lua Code:
local monsterDiff = container.monsterDiff or WINDOW_MANAGER:CreateControl(nil,container,CT_TEXTURE)
monsterDiff:SetDimensions(64,64)
monsterDiff:ClearAnchors()
monsterDiff:SetAnchor(TOP,name,BOTTOM,0,10)
container.monsterDiff = monsterDiff
local iconCFG = self.textures
nameplate.monsterDiff:SetHidden(false)
nameplate.monsterDiff:SetTexture(iconCFG.defaultboss[normal])
nameplate.monsterDiff:SetColor(240,100,0,1)
and code in textures.lua
Lua Code:
defaultboss = {
normal = Myaddon.name .. '/textures/bossicon1.dds',
}
Do you have an idea?
Thank's you.