vanilla-wow-addons – Rev 1
?pathlinks?
<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/">
<Script file="Inspector.lua"/>
<Frame name="InspectorButtonFrame" parent="TargetFrame" enableMouse="true" hidden="false" frameStrata="HIGH">
<Size>
<AbsDimension x="32" y="32"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="TargetFrame" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="115" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Frames>
<Button name="InspectorButton">
<Size>
<AbsDimension x="32" y="32"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<NormalTexture file="Interface\AddOns\Inspector\InspectorButton-UpNew"/>
<PushedTexture file="Interface\AddOns\Inspector\InspectorButton-DownNew"/>
<HighlightTexture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight"/>
<Scripts>
<OnClick>
InspectorCheckInspect();
</OnClick>
</Scripts>
</Button>
</Frames>
<Scripts>
<OnLoad>
this:RegisterEvent("VARIABLES_LOADED");
this:RegisterEvent("PLAYER_TARGET_CHANGED");
</OnLoad>
<OnEvent>
checkEvents( event );
</OnEvent>
</Scripts>
</Frame>
</Ui>