vanilla-wow-addons – Rev 1

Subversion Repositories:
Rev:
<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">
<Script file="LevelWiz.lua" />
        <Frame name="LevelWizFrame" toplevel="true" enableMouse="true" movable="true" parent="UIParent">
                <Size>
                        <AbsDimension x="208" y="25"/>
                </Size>
                <Anchors>
                        <Anchor point="CENTER"/>
                </Anchors>
                <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="false">
                        <BackgroundInsets>
                                <AbsInset left="5" right="5" top="5" bottom="5"/>
                        </BackgroundInsets>
                        <TileSize>
                                <AbsValue val="16"/>
                        </TileSize>
                        <EdgeSize>
                                <AbsValue val="16"/>
                        </EdgeSize>
                </Backdrop>
                <Layers>
                <Layer level="ARTWORK">
                                <FontString name="LevelWizText" inherits="GameFontNormal" >
                                        <Size>
                                                <AbsDimension x="208" y="21"/>                                  </Size>
                                        <Anchors>
                                        <Anchor point="TOPLEFT"/>
                                        </Anchors>
                                </FontString>
                        </Layer>
                </Layers>
                <Frames>
                        <Button name="LevelWizClose">
                                <Size>
                                        <AbsDimension x="25" y="25"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="RIGHT">
                                                <Offset>
                                                        <AbsDimension x="19" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="false">
                                        <BackgroundInsets>
                                                <AbsInset left="5" right="5" top="5" bottom="5"/>
                                        </BackgroundInsets>
                                        <TileSize>
                                                <AbsValue val="16"/>
                                        </TileSize>
                                        <EdgeSize>
                                                <AbsValue val="16"/>
                                        </EdgeSize>
                                </Backdrop>
                                <Scripts>
                                <OnClick>
                                        CloseClick();
                                </OnClick>
                                </Scripts>
                                <NormalTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Up"/>
                                <PushedTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Down"/>
                                <HighlightTexture alphaMode="ADD" file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight"/>
                        </Button>
                </Frames>
                <Scripts>
                        <OnLoad>
                                LevelWiz_OnLoad();
                        </OnLoad>
                        <OnEvent>
                                LevelWiz_OnEvent();
                        </OnEvent>
                        <OnDragStart>
                                LevelWiz_OnDragStart();
                        </OnDragStart>
                        <OnDragStop>
                                LevelWiz_OnDragStop();
                        </OnDragStop>
                        <OnEnter>
                                LevelWiz_Info();                                
                        </OnEnter>
                        <OnLeave>
                                GameTooltip:Hide()
                        </OnLeave>
                        <OnMouseUp>
                                LevelWiz_OnDragStop();
                        </OnMouseUp>
                        <OnUpdate>
                                LevelWiz_OnUpdate();
                        </OnUpdate>

                </Scripts>
        </Frame>
</Ui>