FrameXML/DebugUI.xml

Referred to by HOWTO: Create simple pop-up dialog boxes.

&lt;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"&gt; &lt;!-- This script turns on verbose messages in the FrameXML log --&gt; &lt;Script&gt; FrameXML_Debug(1); &lt;/Script&gt; &lt;!-- This button allows you to hot reload the UI at runtime --&gt; &lt;Button name="ReloadButton" parent="UIParent"&gt; &lt;Size&gt; &lt;AbsDimension x="128" y="32"/&gt; &lt;/Size&gt; &lt;Anchors&gt; &lt;Anchor point="BOTTOMRIGHT"&gt; &lt;Offset&gt; &lt;AbsDimension x="-8" y="64"/&gt; &lt;/Offset&gt; &lt;/Anchor&gt; &lt;/Anchors&gt; &lt;Scripts&gt; &lt;OnClick&gt; ReloadUI; &lt;/OnClick&gt; &lt;/Scripts&gt; &lt;NormalTexture inherits="DialogButtonNormalTexture"/&gt; &lt;PushedTexture inherits="DialogButtonPushedTexture"/&gt; &lt;HighlightTexture inherits="DialogButtonHighlightTexture"/&gt; &lt;NormalText inherits="DialogButtonNormalText" text="Reload"/&gt; &lt;HighlightText inherits="DialogButtonHighlightText" text="Reload"/&gt; &lt;/Button&gt; &lt;/Ui&gt;