Fandom

WoWWiki

FrameXML/DebugUI.xml

< FrameXML

104,635pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

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

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

Also on Fandom

Random Wiki