this declares the texture to be used
Code:
<TextureInfo item="dj_pw.tga">
<Size>
<CX>256</CX>
<CY>256</CY>
</Size>
</TextureInfo>
this calls for the location in the texture and the size to be used
Code:
<Ui2DAnimation item="dj_Window">
<Frames>
<Texture>dj_pw.tga</Texture>
<Location>
<X>0</X>
<Y>0</Y>
</Location>
<Size>
<CX>6</CX>
<CY>6</CY>
</Size>
<Hotspot>
<X>0</X>
<Y>0</Y>
</Hotspot>
</Frames>
</Ui2DAnimation>
this is the code you use to actually appear in your UI, it can be used to call for custom buttons, and custom just about everything.
Code:
<StaticAnimation item="dj_Static">
<ScreenID>dj_static</ScreenID>
<RelativePosition>true</RelativePosition>
<Location>
<X>0</X>
<Y>0</Y>
</Location>
<Size>
<CX>6</CX>
<CY>6</CY>
</Size>
<Animation>dj_Window</Animation>
</StaticAnimation>