Hi,
i ve started to code an addon today, my first addon and dev in lua x)
And i ve few problems with the xml part.
Code:
<GuiXml>
<Controls>
<TopLevelControl name="MyAddOnUI" mouseEnabled="true" movable="true" clampedToScreen="true" >
<Anchor point="TOPLEFT" offsetX="10" offsetY="50" />
<OnMoveStop>
MyAddOn.OnMoveStop( self )
</OnMoveStop>
<OnUpdate>
MyAddOn.Update()
</OnUpdate>
<Controls>
<Backdrop name="$(parent)BG" inherits="ZO_DefaultBackdrop" centerColor="000000" alpha="0.8" >
<AnchorFill />
<Edge edgeSize="2" />
</Backdrop>
<Label name="$(parent)Window" font="ZoFontAnnounceSmall"
verticalAlignment="CENTER" text="MyAddOn"
horizontalAlignment="CENTER" alpha="0.85" >
<AnchorFill />
</Label>
</Controls>
</TopLevelControl>
</Controls>
</GuiXml>
First, i ve a problem with padding of the backdrop, where i tryed to use a <ResizeToFitPadding />, after the <AnchorFill />, but still with this horrible thing :
http://i60.tinypic.com/33113bb.jpg
In a second step, i want to use a dds and modifiy the texture of the windows, but i didnt succed.
Moreover, can we draw a circle ? or would i draw a square then fill it with a circle dds ?