Currently I'm just practicing and trying to build a very simple addon called ZBar. I will later anchor it to the bottom center of the screen. this addon is just supposed to add an image that can be moved around on the screen currently. It's a custom image and I've converted it to tga using power of 2 like I've read, (tga img size is 512x512). I'm not sure why the addon isn't currently showing up. I'm still very new to coding and I'm learning wows API I came from building a few addons for Elder Scrolls Online. Any way here is the current code I have and I've attached the addon I've built so far below.
Toc File
Lua Code:
## Interface: 60000
## Title: ZBar
## Notes: A simple skin addon that allows you to place your ui into it.
## Author: Zireko
## Version: 1.0
ZBar.xml
Xml File
Lua Code:
<Ui xmlns="http://www.blizzard.com/wow/ui/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.blizzard.com/wow/ui/
..\..\FrameXML\UI.xsd">
<frame name="barAWindow" parent="UIParent" moveable="true">
<Size x="800" y="300"/>
<Anchors>
<Anchor point="CENTER">
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture file="ZBar\ZBarImgs\barA.tga" setAllPoints="true"/>
</Layer>
</Layers>
<Scripts>
<OnMouseDown>
self:StartMoving()
</OnMouseDown>
<OnMouseUp>
self:StopMoving()
</OnMouseUp>
</Scripts>
</frame>
</Ui>
My question for my code is simply "What am I missing and why do I need it?" please explain in full detail so I may learn more thoroughly.