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

        <Frame name="IMBA_MinimapMarkers" parent="UIParent" enableMouse="true" movable="true" hidden="true" frameStrata="HIGH">
                <Size>
                        <AbsDimension x="170" y="120"/>
                </Size>
                <Anchors>
                        <Anchor point="CENTER"/>
                </Anchors>
                <Backdrop name="$parentBackdrop" bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
                        <EdgeSize>
                                <AbsValue val="16"/>
                        </EdgeSize>
                        <TileSize>
                                <AbsValue val="16"/>
                        </TileSize>
                        <BackgroundInsets>
                                <AbsInset left="5" right="5" top="5" bottom="5"/>
                        </BackgroundInsets>
                </Backdrop>
                <Frames>
                        <Frame name="$parent_Title" inherits="IMBA_MainTitleTemplate">
                                <Anchors>
                                        <Anchor point="TOP">
                                                <Offset>
                                                        <AbsDimension x="-8" y="-8"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Frame>
                        <Frame name="$parent_RaidMarker1" inherits="IMBA_IconTemplateLarge">
                                <Anchors>
                                        <Anchor point="TOP">
                                                <Offset>
                                                        <AbsDimension x="-57" y="-26"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnMouseDown>
                                                IMBA_SetRaidMarker=true;
                                                IMBA_UseRaidMarker=1;
                                        </OnMouseDown>
                                </Scripts>
                        </Frame>
                        <Frame name="$parent_RaidMarker2" inherits="IMBA_IconTemplateLarge">
                                <Anchors>
                                        <Anchor point="TOP">
                                                <Offset>
                                                        <AbsDimension x="-19" y="-26"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnMouseDown>
                                                IMBA_SetRaidMarker=true;
                                                IMBA_UseRaidMarker=2;
                                        </OnMouseDown>
                                </Scripts>
                        </Frame>
                        <Frame name="$parent_RaidMarker3" inherits="IMBA_IconTemplateLarge">
                                <Anchors>
                                        <Anchor point="TOP">
                                                <Offset>
                                                        <AbsDimension x="19" y="-26"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnMouseDown>
                                                IMBA_SetRaidMarker=true;
                                                IMBA_UseRaidMarker=3;
                                        </OnMouseDown>
                                </Scripts>
                        </Frame>
                        <Frame name="$parent_RaidMarker4" inherits="IMBA_IconTemplateLarge">
                                <Anchors>
                                        <Anchor point="TOP">
                                                <Offset>
                                                        <AbsDimension x="57" y="-26"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnMouseDown>
                                                IMBA_SetRaidMarker=true;
                                                IMBA_UseRaidMarker=4;
                                        </OnMouseDown>
                                </Scripts>
                        </Frame>
                        <Frame name="$parent_RaidMarker5" inherits="IMBA_IconTemplateLarge">
                                <Anchors>
                                        <Anchor point="TOP" relativeTo="$parent_RaidMarker1" relativePoint="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="0" y="-6"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnMouseDown>
                                                IMBA_SetRaidMarker=true;
                                                IMBA_UseRaidMarker=5;
                                        </OnMouseDown>
                                </Scripts>
                        </Frame>
                        <Frame name="$parent_RaidMarker6" inherits="IMBA_IconTemplateLarge">
                                <Anchors>
                                        <Anchor point="TOP" relativeTo="$parent_RaidMarker2" relativePoint="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="0" y="-6"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnMouseDown>
                                                IMBA_SetRaidMarker=true;
                                                IMBA_UseRaidMarker=6;
                                        </OnMouseDown>
                                </Scripts>
                        </Frame>
                        <Frame name="$parent_RaidMarker7" inherits="IMBA_IconTemplateLarge">
                                <Anchors>
                                        <Anchor point="TOP" relativeTo="$parent_RaidMarker3" relativePoint="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="0" y="-6"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnMouseDown>
                                                IMBA_SetRaidMarker=true;
                                                IMBA_UseRaidMarker=7;
                                        </OnMouseDown>
                                </Scripts>
                        </Frame>
                        <Frame name="$parent_RaidMarker8" inherits="IMBA_IconTemplateLarge">
                                <Anchors>
                                        <Anchor point="TOP" relativeTo="$parent_RaidMarker4" relativePoint="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="0" y="-6"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnMouseDown>
                                                IMBA_SetRaidMarker=true;
                                                IMBA_UseRaidMarker=8;
                                        </OnMouseDown>
                                </Scripts>
                        </Frame>
                        <Frame name="$parent_ClearMarkers" inherits="IMBA_TitleTemplate">
                                <Anchors>
                                        <Anchor point="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="0" y="8"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnMouseDown>
                                                IMBA_Minimap_ClearMarkers();
                                        </OnMouseDown>
                                </Scripts>
                        </Frame>
                        <Frame name="$parent_Close" enableMouse="true">
                                <Size>
                                        <AbsDimension x="24" y="24"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPRIGHT">
                                                <Offset>
                                                        <AbsDimension x="0" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer level="OVERLAY">
                                                <Texture name="$parent_Image" file="Interface\AddOns\IMBA\textures\close.blp">
                                                        <Size>
                                                                <AbsDimension x="32" y="32"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="TOPRIGHT"/>
                                                        </Anchors>
                                                </Texture>
                                        </Layer>
                                </Layers>
                                <Scripts>
                                        <OnLoad>
                                                this:SetBackdropBorderColor(1, 1, 1, 1);
                                                this:SetBackdropColor(0.0,0.0,0.0,0);
                                        </OnLoad>
                                        <OnMouseDown>
                                                IMBA_MinimapMarkers:Hide();
                                        </OnMouseDown>
                                </Scripts>
                        </Frame>
                        
                </Frames>
                <Scripts>
                        <OnLoad>
                                IMBA_MinimapMarkers_OnLoad();
                        </OnLoad>
                        <OnMouseUp>
                         if ( this.isMoving ) then
                          this:StopMovingOrSizing();
                          this.isMoving = false;
                         end
                        </OnMouseUp>
                        <OnMouseDown>
                         if ( ( ( not this.isLocked ) or ( this.isLocked == 0 ) ) and ( arg1 == "LeftButton" ) ) then
                          this:StartMoving();
                          this.isMoving = true;
                         end
                        </OnMouseDown>
                        <OnHide>
                         if ( this.isMoving ) then
                          this:StopMovingOrSizing();
                          this.isMoving = false;
                         end
                        </OnHide>
                </Scripts>
        </Frame>
</Ui>

Generated by GNU Enscript 1.6.5.90.