Hi Folks,
i started write my first addon some days ago and i'm getting now an real strange problem.
I want to use an texture frame to show an "Close" Button. If i use an texture from another addon (for example SetTexture("LuaPad", "close.png")) it works fine. If i copy the image to my addon folder (for testing only
) and change it to SetTexture("MyAddon", "close.png") or (SetTexture("MyAddon", "Textures/close.png")) the image will not displayed anymore. I have tried the root folder of my addon and an subfolder like "Textures". But nothing works.
I'm verry confused now and i have no idea whats the problem.
The code can found @ Pastebin
here.
The complete addon can be found
here.
I have installed the LuaPad Addon for testing purposes ingame.
Can someone help me with that?