XML : Button bliver ik vist
Min button knap bliver ik vist :( En der kan se hvad der kan være galt?<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/
C:\Projects\WoW\Bin\Interface\FrameXML\UI.xsd">
<Script file="FNinterface.lua" />
<Frame name="FNinterfaceFrame" frameStrata="HIGH" toplevel="true" enableMouse="true" movable="true" parent="UIParent" hidden="true">
<Size>
<AbsDimension x="250" y="110"/>
</Size>
<Anchors>
<Anchor point="TOP"/>
</Anchors>
<Backdrop name="$parentBackdrop" bgFile="Interface\TutorialFrame\TutorialFrameBackground" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
<EdgeSize>
<AbsValue val="16"/>
</EdgeSize>
<TileSize>
<AbsValue val="32"/>
</TileSize>
<BackgroundInsets>
<AbsInset left="5" right="5" top="5" bottom="5"/>
</BackgroundInsets>
</Backdrop>
<Button name="FNInterfaceGPSButton" inherits="UIPanelButtonTemplate" text="Hent positions">
<Size>
<AbsDimension x="100" y="19"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT">
<Offset>
<AbsDimension x="98" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts><OnClick>
GPSClick();
</OnClick></Scripts>
</Button>
<Layers>
<Layer level="BACKGROUND">
<FontString name="FNinterfaceText" inherits="GameFontNormal" wraponspaces="true">
<Size>
<AbsDimension x="240" y="12"/>
</Size>
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="0" y="-10"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
<Layer level="BACKGROUND">
<FontString name="FNinterfaceText2" inherits="GameFontNormal" wraponspaces="true">
<Size>
<AbsDimension x="240" y="12"/>
</Size>
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="0" y="-80"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnLoad>
FNinterface_OnLoad();
</OnLoad>
<OnDragStart>
FNinterface_OnDragStart();
</OnDragStart>
<OnDragStop>
FNinterface_OnDragStop();
</OnDragStop>
<OnMouseUp>
FNinterface_OnDragStop();
</OnMouseUp>
</Scripts>
</Frame>
</Ui>