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="IMBA_OptionsButton.lua"/>

        <Frame name="IMBA_OptionsButton" parent="Minimap" frameStrata="MEDIUM" enableMouse="true" hidden="false">
                <Size>
                        <AbsDimension x="29" y="32"/>
                </Size>
                <Anchors>
                        <Anchor point="TOPLEFT" relativeTo="Minimap" relativePoint="RIGHT">
                                <Offset>
                                        <AbsDimension x="2" y="0"/>
                                </Offset>
                        </Anchor>
                </Anchors>
                <Frames>
                        <Button name="IMBA_OptionButton">
                                <Size>
                                        <AbsDimension x="32" y="32"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="-15" y="5"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnLoad>
                                                this:SetFrameLevel(5);
                                                this:RegisterForClicks("LeftButtonUp", "RightButtonUp");
                                        </OnLoad>
                                        <OnClick>
                                                IMBA_OptionButton_OnClick(arg1);
                                        </OnClick>
                                        <OnEnter>
                                                GameTooltip:SetOwner(this, "ANCHOR_LEFT");
                                                if ( IMBA_SavedVariables.LockedWindows ) then
                                                        GameTooltip:SetText("IMBA Mod Options\nRight-click to unlock frames");
                                                else
                                                        GameTooltip:SetText("IMBA Mod Options\nRight-click to lock frames");
                                                end
                                        </OnEnter>
                                        <OnLeave>
                                                GameTooltip:Hide();
                                        </OnLeave>
                                </Scripts>
                                <Layers>
                                        <Layer level="ARTWORK">
                                                <Texture name="$parentTexture" file="Interface\AddOns\IMBA\textures\icon"/>
                                        </Layer>
                                </Layers>
                                <HighlightTexture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight"/>
                        </Button>
                </Frames>
        </Frame>
</Ui>

Generated by GNU Enscript 1.6.5.90.