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

        <CheckButton name="LoadIToptCheckButtonTemplate" virtual="true" inherits="OptionsCheckButtonTemplate">
                <Size>
                        <AbsDimension x="18" y="18"/>
                </Size>
                <Scripts>
                        <OnClick>
                                LoadITLive_SetSelection(this:GetParent():GetID(), this:GetChecked());
                        </OnClick>
                </Scripts>
        </CheckButton>
        <CheckButton name="LoadITEditCheckButtonTemplate" virtual="true" inherits="OptionsCheckButtonTemplate">
                <Size>
                        <AbsDimension x="18" y="18"/>
                </Size>
                <Scripts>
                        <OnClick>
                                LoadITEdit_SetCheck(this:GetParent():GetID(), this:GetChecked());
                        </OnClick>
                </Scripts>
        </CheckButton>
        <Button name="LoadITHighlightButtonTemplate" virtual="true">
                <NormalText inherits="GameFontHighlight"/>
                <DisabledText inherits="GameFontDisable"/>
                <HighlightText inherits="GameFontHighlight"/>
                <NormalTexture inherits="UIPanelButtonHighlightTexture"/>
                <PushedTexture inherits="UIPanelButtonHighlightTexture"/>
                <DisabledTexture inherits="UIPanelButtonDisabledTexture"/>
                <HighlightTexture inherits="UIPanelButtonHighlightTexture"/>
        </Button>
        <Button name="LoadITLiveButtonTemplate" virtual="true">
                <Size>
                        <AbsDimension x="298" y="17"/>
                </Size>
                <Frames>
                        <CheckButton name="$parentEnabled" inherits="LoadIToptCheckButtonTemplate">
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="20" y="-3"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <HitRectInsets>
                                        <AbsInset left="0" right="0" top="0" bottom="0"/>
                                </HitRectInsets>
                                <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD">
                                        <Size>
                                                <AbsDimension x="298" y="17"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOP">
                                                        <Offset>
                                                                <AbsDimension x="125" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </HighlightTexture>
                        </CheckButton>
                </Frames>
                <Layers>
                        <Layer level="ARTWORK">
                                <FontString name="$parentLoD" inherits="GameFontHighlightSmall" justifyH="LEFT">
                                        <Size>
                                                <AbsDimension x="30" y="14"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="55" y="-3"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="$parentName" inherits="GameFontHighlightSmall" justifyH="LEFT">
                                        <Size>
                                                <AbsDimension x="248" y="14"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativeTo="$parentLoD" relativePoint="TOPRIGHT">
                                                        <Offset>
                                                                <AbsDimension x="0" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                        </Layer>
                </Layers>
                <Scripts>
                        <OnClick>
                                LoadITLiveButton_OnClick();
                                PlaySound("igMainMenuOptionCheckBoxOn");
                        </OnClick>
                </Scripts>
                <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD">
                        <Size>
                                <AbsDimension x="298" y="17"/>
                        </Size>
                        <Anchors>
                                <Anchor point="TOP">
                                        <Offset>
                                                <AbsDimension x="5" y="-3"/>
                                        </Offset>
                                </Anchor>
                        </Anchors>
                </HighlightTexture>
        </Button>
        <Button name="LoadITProfileButtonTemplate" virtual="true">
                <Size>
                        <AbsDimension x="298" y="17"/>
                </Size>
                <Frames>
                        <Button name="$parentRemoveButton">
                                <Size>
                                        <AbsDimension x="32" y="32"/>
                                </Size>
                                <HitRectInsets>
                                        <AbsInset left="5" right="8" top="-5" bottom="7"/>
                                </HitRectInsets>
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="3" y="3"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                LoadITopt_ProfileRemove(this:GetParent():GetID());
                                        </OnClick>
                                </Scripts>
                                <NormalTexture file="Interface\Buttons\CancelButton-Up"/>
                                <PushedTexture file="Interface\Buttons\CancelButton-Down"/>
                                <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD">
                                        <Size>
                                                <AbsDimension x="298" y="16"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="2" y="-6"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </HighlightTexture>
                        </Button>
                        <Button name="$parentLoadButton">
                                <Size>
                                        <AbsDimension x="22" y="22"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="42" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                LoadITopt_ProfileLoad(this:GetParent():GetID());
                                        </OnClick>
                                </Scripts>
                                <NormalTexture file="Interface\Buttons\UI-RotationLeft-Button-Up"/>
                                <PushedTexture file="Interface\Buttons\UI-RotationLeft-Button-Down"/>
                                <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD">
                                        <Size>
                                                <AbsDimension x="298" y="16"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="-37" y="-3"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </HighlightTexture>
                        </Button>
                </Frames>
                <Layers>
                        <Layer level="ARTWORK">
                                <FontString name="$parentName" inherits="GameFontHighlightSmall" justifyH="LEFT">
                                        <Size>
                                                <AbsDimension x="248" y="14"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="83" y="-3"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                        </Layer>
                </Layers>
                <Scripts>
                        <OnClick>
                                LoadITProfileButton_OnClick();
                                PlaySound("igMainMenuOptionCheckBoxOn");
                        </OnClick>
                </Scripts>
                <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD">
                        <Size>
                                <AbsDimension x="298" y="16"/>
                        </Size>
                        <Anchors>
                                <Anchor point="TOP">
                                        <Offset>
                                                <AbsDimension x="5" y="-3"/>
                                        </Offset>
                                </Anchor>
                        </Anchors>
                </HighlightTexture>
        </Button>
        <Button name="LoadITEditButtonTemplate" virtual="true">
                <Size>
                        <AbsDimension x="298" y="17"/>
                </Size>
                <Frames>
                        <CheckButton name="$parentEnabled" inherits="LoadITEditCheckButtonTemplate">
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="20" y="-3"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <HitRectInsets>
                                        <AbsInset left="0" right="0" top="0" bottom="0"/>
                                </HitRectInsets>
                                <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD">
                                        <Size>
                                                <AbsDimension x="298" y="17"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOP">
                                                        <Offset>
                                                                <AbsDimension x="125" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </HighlightTexture>
                        </CheckButton>
                        <Button name="$parentRemoveButton">
                                <Size>
                                        <AbsDimension x="22" y="22"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="52" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                LoadITEdit_Remove(this:GetParent():GetID());
                                        </OnClick>
                                </Scripts>
                                <NormalTexture file="Interface\Buttons\UI-RotationLeft-Button-Up"/>
                                <PushedTexture file="Interface\Buttons\UI-RotationLeft-Button-Down"/>
                                <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD">
                                        <Size>
                                                <AbsDimension x="298" y="16"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="-37" y="-3"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </HighlightTexture>
                        </Button>
                </Frames>
                <Layers>
                        <Layer level="ARTWORK">
                                <FontString name="$parentLoD" inherits="GameFontHighlightSmall" justifyH="LEFT">
                                        <Size>
                                                <AbsDimension x="30" y="14"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="55" y="-3"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="$parentName" inherits="GameFontHighlightSmall" justifyH="LEFT">
                                        <Size>
                                                <AbsDimension x="248" y="14"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativeTo="$parentLoD" relativePoint="TOPRIGHT">
                                                        <Offset>
                                                                <AbsDimension x="0" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                        </Layer>
                </Layers>
                <Scripts>
                        <OnClick>
                                LoadITEditButton_OnClick();
                                PlaySound("igMainMenuOptionCheckBoxOn");
                        </OnClick>
                </Scripts>
                <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD">
                        <Size>
                                <AbsDimension x="298" y="17"/>
                        </Size>
                        <Anchors>
                                <Anchor point="TOP">
                                        <Offset>
                                                <AbsDimension x="5" y="-3"/>
                                        </Offset>
                                </Anchor>
                        </Anchors>
                </HighlightTexture>
        </Button>
        <Button name="LoadITmenuFrameTabTemplate" inherits="CharacterFrameTabButtonTemplate" virtual="true">
                <Scripts>
                        <OnClick>
                                LoadIToptTab_OnClick(this:GetID());
                        </OnClick>
                </Scripts>
        </Button>
        <Frame name="LoadITmenuFrame" toplevel="true" movable="true" parent="UIParent" hidden="true">
                <Size>
                        <AbsDimension x="384" y="512"/>
                </Size>
                <Anchor point="CENTER" relativeTo="UIParent" relativePoint="CENTER">
                        <Offset>
                                <AbsDimension x="0" y="0"/>
                        </Offset>
                </Anchor>
                <HitRectInsets>
                        <AbsInset left="0" right="30" top="0" bottom="45"/>
                </HitRectInsets>
                <Layers>
                        <Layer level="BACKGROUND">
                        <Texture file="Interface\FriendsFrame\FriendsFrameScrollIcon">
                                <Size>
                                        <AbsDimension x="60" y="60"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="7" y="-6"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Texture>
                        <Texture file="Interface\PaperDollInfoFrame\UI-Character-General-TopLeft">
                                <Size>
                                        <AbsDimension x="256" y="256"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Texture>

                        <Texture file="Interface\PaperDollInfoFrame\UI-Character-General-TopRight">
                                <Size>
                                        <AbsDimension x="128" y="256"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPRIGHT">
                                                <Offset>
                                                        <AbsDimension x="0" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Texture>

                        <Texture file="Interface\PaperDollInfoFrame\UI-Character-General-BottomLeft">
                                <Size>
                                        <AbsDimension x="256" y="256"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Texture>

                        <Texture file="Interface\PaperDollInfoFrame\UI-Character-General-BottomRight">
                                <Size>
                                        <AbsDimension x="128" y="256"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="BOTTOMRIGHT">
                                                <Offset>
                                                        <AbsDimension x="0" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Texture>

                        <FontString name="QQQmapTitleText" inherits="GameFontHighlight" text="LOADITOPT_VERSION">
                                <Size>
                                    <AbsDimension x="300" y="14"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOP" relativeTo="LoadITmenuFrame" relativePoint="TOP">
                                                <Offset>
                                                        <AbsDimension x="4" y="-17"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Color r="1.0" g=".82" b="0.0"/>
                        </FontString>
                        </Layer>
                </Layers>

                <Frames>
                        <Button name="$parentCloseButton" inherits="UIPanelCloseButton">
                                <Anchors>
                                        <Anchor point="TOPRIGHT">
                                                <Offset>
                                                        <AbsDimension x="-30" y="-8"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnLoad>
                                                this:SetFrameLevel(this:GetFrameLevel() + 4);
                                        </OnLoad>
                                </Scripts>
                        </Button>
                        <Button name="LoadITmenuFrameTab1" inherits="LoadITmenuFrameTabTemplate" id="1" text="LOADIT_TAB_1">
                                <Anchors>
                                        <Anchor point="CENTER" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="50" y="61"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="LoadITmenuFrameTab2" inherits="LoadITmenuFrameTabTemplate" id="2" text="LOADIT_TAB_2">
                                <Anchors>
                                   <Anchor point="LEFT" relativeTo="LoadITmenuFrameTab1" relativePoint="RIGHT">
                                                <Offset>
                                                        <AbsDimension x="-15" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>                       
                        <Button name="LoadITmenuFrameTab3" inherits="LoadITmenuFrameTabTemplate" id="3" text="LOADIT_TAB_3">
                                <Anchors>
                                   <Anchor point="LEFT" relativeTo="LoadITmenuFrameTab2" relativePoint="RIGHT">
                                                <Offset>
                                                        <AbsDimension x="-15" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="LoadITmenuFrameTab4" inherits="LoadITmenuFrameTabTemplate" id="4" text="LOADIT_TAB_4">
                                <Anchors>
                                   <Anchor point="LEFT" relativeTo="LoadITmenuFrameTab3" relativePoint="RIGHT">
                                                <Offset>
                                                        <AbsDimension x="-15" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="LoadITmenuFrameTab5" inherits="LoadITmenuFrameTabTemplate" id="4" text="LOADIT_TAB_5">
                                <Anchors>
                                   <Anchor point="LEFT" relativeTo="LoadITmenuFrameTab4" relativePoint="RIGHT">
                                                <Offset>
                                                        <AbsDimension x="-15" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Frame name="LoadITLiveFrame" setAllPoints="true" hidden="false">
                                <Frames>
                                        <Button name="LoadITLiveFrameColumnHeader1" inherits="WhoFrameColumnHeaderTemplate" text="Enable">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="20" y="-70"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnLoad>
                                                                WhoFrameColumn_SetWidth(45);
                                                                this.sortType = "enabled";
                                                        </OnLoad>
                                                        <OnClick>
                                                        </OnClick>
                                                </Scripts>
                                        </Button>
                                        <Button name="LoadITLiveFrameColumnHeader2" inherits="WhoFrameColumnHeaderTemplate" text="LD">
                                                <Anchors>
                                                        <Anchor point="LEFT" relativeTo="LoadITLiveFrameColumnHeader1" relativePoint="RIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="-2" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnLoad>
                                                                WhoFrameColumn_SetWidth(30);
                                                                this.sortType = "LoD";
                                                        </OnLoad>
                                                        <OnClick>
                                                        </OnClick>
                                                </Scripts>
                                        </Button>
                                        <Button name="LoadITLiveFrameColumnHeader3" inherits="WhoFrameColumnHeaderTemplate" text="Name">
                                                <Anchors>
                                                        <Anchor point="LEFT" relativeTo="LoadITLiveFrameColumnHeader2" relativePoint="RIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="-2" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnLoad>
                                                                WhoFrameColumn_SetWidth(252);
                                                                this.sortType = "name";
                                                        </OnLoad>
                                                        <OnClick>
                                                        </OnClick>
                                                </Scripts>
                                        </Button>
                                        <Button name="LoadITReloadUIButton" inherits="UIPanelButtonTemplate" text=''>
                                                <Anchors>
                                                        <Anchor point="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="-47" y="-42"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Size>
                                                        <AbsDimension x="190" y="22"/>
                                                </Size>
                                                <Scripts>
                                                        <OnShow>
                                                                if (LoadITcf.BTReloadUI) then
                                                                        this:SetText('Reload Modules and UI');
                                                                else
                                                                        this:SetText('Disabled: see options');
                                                                end
                                                        </OnShow>
                                                        <OnClick>
                                                                if (LoadITcf.BTReloadUI) then
                                                                        ReloadUI();
                                                                end
                                                                </OnClick>
                                                </Scripts>
                                        </Button>
                                        <Button name="LoadITLoadAddonButton" inherits="UIPanelButtonTemplate" text="Load Addon">
                                                <Size>
                                                        <AbsDimension x="110" y="22"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="30" y="92"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                LoadIT_Load(LoadITLiveFrame.SelectedIndex);
                                                        </OnClick>
                                                </Scripts>
                                        </Button>
                                        <Button name="LoadITAddonInfoButton" inherits="UIPanelButtonTemplate" text="Info">
                                                <Size>
                                                        <AbsDimension x="60" y="22"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="LoadITLoadAddonButton" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="8" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnEnter>
                                                                GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
                                                                if (LoadITLiveFrame.SelectedIndex) then
                                                                        LoadIT_AddonTooltip(LoadITLiveFrame.SelectedIndex);
                                                                else
                                                                        GameTooltip:SetText("Select an addon and hover\nhere to view details.", 0.5, 0.5, 0.5, 1);
                                                                end
                                                                GameTooltip:Show();
                                                        </OnEnter>
                                                        <OnLeave>
                                                                GameTooltip:Hide();
                                                        </OnLeave>
                                                </Scripts>
                                        </Button>
                                        <Button name="$parentCheckAllButton" inherits="UIPanelButtonTemplate" text="Check All">
                                                <Size>
                                                        <AbsDimension x="110" y="22"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="BOTTOMRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="-55" y="82"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                LoadITLive_ToggleAll(1);
                                                        </OnClick>
                                                </Scripts>
                                        </Button>
                                        <Button name="$parentUnCheckAllButton" inherits="UIPanelButtonTemplate" text="Uncheck All">
                                                <Size>
                                                        <AbsDimension x="110" y="22"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="BOTTOMRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="-55" y="102"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                LoadITLive_ToggleAll(0);
                                                        </OnClick>
                                                </Scripts>
                                        </Button>

                                        <Button name="LoadITLiveButton1" inherits="LoadITLiveButtonTemplate" id="1">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="LoadITLiveFrame">
                                                                <Offset>
                                                                        <AbsDimension x="15" y="-95"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="LoadITLiveButton2" inherits="LoadITLiveButtonTemplate" id="2">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="LoadITLiveButton1" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="LoadITLiveButton3" inherits="LoadITLiveButtonTemplate" id="3">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="LoadITLiveButton2" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="LoadITLiveButton4" inherits="LoadITLiveButtonTemplate" id="4">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="LoadITLiveButton3" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="LoadITLiveButton5" inherits="LoadITLiveButtonTemplate" id="5">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="LoadITLiveButton4" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="LoadITLiveButton6" inherits="LoadITLiveButtonTemplate" id="6">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="LoadITLiveButton5" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="LoadITLiveButton7" inherits="LoadITLiveButtonTemplate" id="7">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="LoadITLiveButton6" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="LoadITLiveButton8" inherits="LoadITLiveButtonTemplate" id="8">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="LoadITLiveButton7" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="LoadITLiveButton9" inherits="LoadITLiveButtonTemplate" id="9">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="LoadITLiveButton8" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="LoadITLiveButton10" inherits="LoadITLiveButtonTemplate" id="10">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="LoadITLiveButton9" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="LoadITLiveButton11" inherits="LoadITLiveButtonTemplate" id="11">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="LoadITLiveButton10" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="LoadITLiveButton12" inherits="LoadITLiveButtonTemplate" id="12">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="LoadITLiveButton11" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="LoadITLiveButton13" inherits="LoadITLiveButtonTemplate" id="13">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="LoadITLiveButton12" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="LoadITLiveButton14" inherits="LoadITLiveButtonTemplate" id="14">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="LoadITLiveButton13" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="LoadITLiveButton15" inherits="LoadITLiveButtonTemplate" id="15">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="LoadITLiveButton14" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="LoadITLiveButton16" inherits="LoadITLiveButtonTemplate" id="16">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="LoadITLiveButton15" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="LoadITLiveButton17" inherits="LoadITLiveButtonTemplate" id="17">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="LoadITLiveButton16" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <ScrollFrame name="LoadITLiveScrollFrame" inherits="FauxScrollFrameTemplate">
                                                <Size>
                                                        <AbsDimension x="296" y="289"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOPRIGHT" relativeTo="LoadITLiveFrame" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="-67" y="-96"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnVerticalScroll>
                                                                FauxScrollFrame_OnVerticalScroll(LOADIT_SCROLL_HEIGHT, LoadITLive_OnUpdate);
                                                        </OnVerticalScroll>
                                                </Scripts>
                                                <Layers>
                                                        <Layer level="BACKGROUND">
                                                                <Texture name="LoadITLiveListScrollBarTop">
                                                                        <Size>
                                                                                <AbsDimension x="31" y="256"/>
                                                                        </Size>
                                                                        <Anchors>
                                                                                <Anchor point="TOP" relativeTo="LoadITLiveScrollFrameScrollBarScrollUpButton">
                                                                                        <Offset>
                                                                                                <AbsDimension x="0" y="5"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                        </Anchors>
                                                                        <TexCoords left="0" right="0.484375" top="0" bottom="1.0"/>
                                                                </Texture>
                                                                <Texture>
                                                                        <Size>
                                                                                <AbsDimension x="31" y="106"/>
                                                                        </Size>
                                                                        <Anchors>
                                                                                <Anchor point="BOTTOM" relativeTo="$parentScrollBarScrollDownButton">
                                                                                        <Offset>
                                                                                                <AbsDimension x="0" y="-2"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                        </Anchors>
                                                                        <TexCoords left="0.515625" right="1.0" top="0" bottom="0.4140625"/>
                                                                </Texture>
                                                        </Layer>
                                                </Layers>
                                        </ScrollFrame>
                                </Frames>
                        </Frame>

                        <Frame name="LoadITProfileFrame" setAllPoints="true" hidden="true">
                                <Frames>
                                        <Button name="LoadITProfileFrameColumnHeader1" inherits="WhoFrameColumnHeaderTemplate" text="Del">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="20" y="-70"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnLoad>
                                                                WhoFrameColumn_SetWidth(30);
                                                                this.sortType = "Del";
                                                        </OnLoad>
                                                        <OnClick>
                                                        </OnClick>
                                                </Scripts>
                                        </Button>
                                        <Button name="LoadITProfileFrameColumnHeader2" inherits="WhoFrameColumnHeaderTemplate" text="Load">
                                                <Anchors>
                                                        <Anchor point="LEFT" relativeTo="LoadITProfileFrameColumnHeader1" relativePoint="RIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="-2" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnLoad>
                                                                WhoFrameColumn_SetWidth(45);
                                                                this.sortType = "Load";
                                                        </OnLoad>
                                                        <OnClick>
                                                        </OnClick>
                                                </Scripts>
                                        </Button>
                                        <Button name="LoadITProfileFrameColumnHeader3" inherits="WhoFrameColumnHeaderTemplate" text="Name">
                                                <Anchors>
                                                        <Anchor point="LEFT" relativeTo="LoadITProfileFrameColumnHeader2" relativePoint="RIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="-2" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnLoad>
                                                                WhoFrameColumn_SetWidth(252);
                                                                this.sortType = "name";
                                                        </OnLoad>
                                                        <OnClick>
                                                        </OnClick>
                                                </Scripts>
                                        </Button>
                                        <Button name="DDProfiles" inherits="UIDropDownMenuTemplate">
                                                <Anchors>
                                                        <Anchor point="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="-35" y="-38"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Size>
                                                        <AbsDimension x="190" y="22"/>
                                                </Size>
                                                <Scripts>
                                                        <OnLoad>
                                                                DDProfiles_OnLoad();
                                                        </OnLoad>
                                                        <OnShow>
                                                                DDProfiles_OnShow();
                                                        </OnShow>
                                                </Scripts>
                                        </Button>
<!--
                                        <Button name="ProfileEditButton" inherits="UIPanelButtonTemplate" text="Edit">
                                                <Size>
                                                        <AbsDimension x="60" y="22"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="LoadITLoadAddonButton" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="8" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnEnter>
                                                                GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
                                                                if (LoadITProfileFrame.SelectedIndex) then
                                                                        GameTooltip:SetText('Edit Profile:  ' .. LoadITProfileFrame.SelectedName, 0.5, 0.5, 0.5, 1);
                                                                else
                                                                        GameTooltip:SetText('Select a profile, then click here to edit.', 0.5, 0.5, 0.5, 1);
                                                                end
                                                                GameTooltip:Show();
                                                        </OnEnter>
                                                        <OnLeave>
                                                                GameTooltip:Hide();
                                                        </OnLeave>
                                                </Scripts>
                                        </Button>
                                        <Button name="SaveProfileButton" inherits="UIPanelButtonTemplate" text="Save Profile">
                                                <Size>
                                                        <AbsDimension x="110" y="22"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="BOTTOMRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="-55" y="92"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
-->

                                        <Button name="LoadITProfileButton1" inherits="LoadITProfileButtonTemplate" id="1">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="LoadITProfileFrame">
                                                                <Offset>
                                                                        <AbsDimension x="15" y="-95"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="LoadITProfileButton2" inherits="LoadITProfileButtonTemplate" id="2">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="LoadITProfileButton1" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="LoadITProfileButton3" inherits="LoadITProfileButtonTemplate" id="3">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="LoadITProfileButton2" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="LoadITProfileButton4" inherits="LoadITProfileButtonTemplate" id="4">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="LoadITProfileButton3" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="LoadITProfileButton5" inherits="LoadITProfileButtonTemplate" id="5">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="LoadITProfileButton4" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="LoadITProfileButton6" inherits="LoadITProfileButtonTemplate" id="6">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="LoadITProfileButton5" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="LoadITProfileButton7" inherits="LoadITProfileButtonTemplate" id="7">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="LoadITProfileButton6" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="LoadITProfileButton8" inherits="LoadITProfileButtonTemplate" id="8">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="LoadITProfileButton7" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="LoadITProfileButton9" inherits="LoadITProfileButtonTemplate" id="9">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="LoadITProfileButton8" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="LoadITProfileButton10" inherits="LoadITProfileButtonTemplate" id="10">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="LoadITProfileButton9" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="LoadITProfileButton11" inherits="LoadITProfileButtonTemplate" id="11">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="LoadITProfileButton10" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="LoadITProfileButton12" inherits="LoadITProfileButtonTemplate" id="12">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="LoadITProfileButton11" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="LoadITProfileButton13" inherits="LoadITProfileButtonTemplate" id="13">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="LoadITProfileButton12" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="LoadITProfileButton14" inherits="LoadITProfileButtonTemplate" id="14">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="LoadITProfileButton13" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="LoadITProfileButton15" inherits="LoadITProfileButtonTemplate" id="15">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="LoadITProfileButton14" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="LoadITProfileButton16" inherits="LoadITProfileButtonTemplate" id="16">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="LoadITProfileButton15" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="LoadITProfileButton17" inherits="LoadITProfileButtonTemplate" id="17">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="LoadITProfileButton16" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <ScrollFrame name="LoadITProfileScrollFrame" inherits="FauxScrollFrameTemplate">
                                                <Size>
                                                        <AbsDimension x="296" y="289"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOPRIGHT" relativeTo="LoadITProfileFrame" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="-67" y="-96"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnVerticalScroll>
                                                                FauxScrollFrame_OnVerticalScroll(LOADIT_SCROLL_HEIGHT, LoadITProfile_OnUpdate);
                                                        </OnVerticalScroll>
                                                </Scripts>
                                                <Layers>
                                                        <Layer level="BACKGROUND">
                                                                <Texture name="LoadITProfileListScrollBarTop">
                                                                        <Size>
                                                                                <AbsDimension x="31" y="256"/>
                                                                        </Size>
                                                                        <Anchors>
                                                                                <Anchor point="TOP" relativeTo="LoadITProfileScrollFrameScrollBarScrollUpButton">
                                                                                        <Offset>
                                                                                                <AbsDimension x="0" y="5"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                        </Anchors>
                                                                        <TexCoords left="0" right="0.484375" top="0" bottom="1.0"/>
                                                                </Texture>
                                                                <Texture>
                                                                        <Size>
                                                                                <AbsDimension x="31" y="106"/>
                                                                        </Size>
                                                                        <Anchors>
                                                                                <Anchor point="BOTTOM" relativeTo="$parentScrollBarScrollDownButton">
                                                                                        <Offset>
                                                                                                <AbsDimension x="0" y="-2"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                        </Anchors>
                                                                        <TexCoords left="0.515625" right="1.0" top="0" bottom="0.4140625"/>
                                                                </Texture>
                                                        </Layer>
                                                </Layers>
                                        </ScrollFrame>
                                </Frames>
                        </Frame>

                        <Frame name="LoadITOptionsFrame" setAllPoints="true" hidden="true">
                                <Frames>
                                        <CheckButton name="CheckVerbose" inherits="OptionsCheckButtonTemplate">
                                                <Size>
                                                        <AbsDimension x="18" y="18"/>
                                                </Size>
                                                <Scripts>
                                                        <OnClick>
                                                                LoadITcf.Verbose = this:GetChecked();
                                                        </OnClick>
                                                        <OnShow>
                                                                if (LoadITcf.Verbose) then
                                                                        this:SetChecked(1);
                                                                else
                                                                        this:SetChecked(0);
                                                                end
                                                        </OnShow>
                                                </Scripts>
                                                <Anchors>
                                                        <Anchor point="TOPLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="30" y="-79"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <HitRectInsets>
                                                        <AbsInset left="0" right="0" top="0" bottom="0"/>
                                                </HitRectInsets>
                                        </CheckButton>
                                        <CheckButton name="CheckReloadUI" inherits="OptionsCheckButtonTemplate">
                                                <Size>
                                                        <AbsDimension x="18" y="18"/>
                                                </Size>
                                                <Scripts>
                                                        <OnClick>
                                                                LoadITcf.BTReloadUI = this:GetChecked();
                                                        </OnClick>
                                                        <OnShow>
                                                                if (LoadITcf.BTReloadUI) then
                                                                        this:SetChecked(1);
                                                                else
                                                                        this:SetChecked(0);
                                                                end
                                                        </OnShow>
                                                </Scripts>
                                                <Anchors>
                                                        <Anchor point="TOPLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="30" y="-99"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <HitRectInsets>
                                                        <AbsInset left="0" right="0" top="0" bottom="0"/>
                                                </HitRectInsets>
                                        </CheckButton>
                                        <CheckButton name="CheckShortcutMenu" inherits="OptionsCheckButtonTemplate">
                                                <Size>
                                                        <AbsDimension x="18" y="18"/>
                                                </Size>
                                                <Scripts>
                                                        <OnClick>
                                                                LoadITcf.ShortcutMenu = this:GetChecked();
                                                        </OnClick>
                                                        <OnShow>
                                                                if (LoadITcf.ShortcutMenu) then
                                                                        this:SetChecked(1);
                                                                else
                                                                        this:SetChecked(0);
                                                                end
                                                        </OnShow>
                                                </Scripts>
                                                <Anchors>
                                                        <Anchor point="TOPLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="30" y="-119"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <HitRectInsets>
                                                        <AbsInset left="0" right="0" top="0" bottom="0"/>
                                                </HitRectInsets>
                                        </CheckButton>
                                        <CheckButton name="CheckLockMenu" inherits="OptionsCheckButtonTemplate">
                                                <Size>
                                                        <AbsDimension x="18" y="18"/>
                                                </Size>
                                                <Scripts>
                                                        <OnClick>
                                                                LoadITcf.LockMenu = this:GetChecked();
                                                        </OnClick>
                                                        <OnShow>
                                                                if (LoadITcf.LockMenu) then
                                                                        this:SetChecked(1);
                                                                else
                                                                        this:SetChecked(0);
                                                                end
                                                        </OnShow>
                                                </Scripts>
                                                <Anchors>
                                                        <Anchor point="TOPLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="30" y="-139"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <HitRectInsets>
                                                        <AbsInset left="0" right="0" top="0" bottom="0"/>
                                                </HitRectInsets>
                                        </CheckButton>
                                </Frames>
                                <Layers>
                                        <Layer level="BACKGROUND">
                                                <FontString name="CheckVerboseN" inherits="GameFontNormalSmall" justifyH="LEFT" text="Verbose Profile Loading">
                                                        <Size>
                                                                <AbsDimension x="130" y="20"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="TOPLEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="51" y="-78"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                                <FontString name="CheckReloadN" inherits="GameFontNormalSmall" justifyH="LEFT" text="Enable Reload Button">
                                                        <Size>
                                                                <AbsDimension x="130" y="20"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="TOPLEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="51" y="-98"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                                <FontString name="CheckShortcutMenuN" inherits="GameFontNormalSmall" justifyH="LEFT" text="Use /mods to open UI">
                                                        <Size>
                                                                <AbsDimension x="130" y="20"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="TOPLEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="51" y="-118"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                                <FontString name="CheckLockMenuN" inherits="GameFontNormalSmall" justifyH="LEFT" text="Lock UI Position">
                                                        <Size>
                                                                <AbsDimension x="130" y="20"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="TOPLEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="51" y="-138"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                        </Layer>
                                </Layers>
                        </Frame>

                        <Frame name="LoadITEditFrame" setAllPoints="true" hidden="true">
                                <Frames>
                                        <Button name="LoadITEditSaveButton" inherits="UIPanelButtonGrayTemplate" text="Save Changes" hidden="true">
                                                <Size>
                                                        <AbsDimension x="110" y="22"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="30" y="82"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnLoad>
                                                                this:LockHighlight();
                                                        </OnLoad>
                                                        <OnClick>
                                                                LoadITEdit_Save();
                                                        </OnClick>
                                                </Scripts>
                                        </Button>
                                        <Button name="LoadITEditUndoButton" inherits="UIPanelButtonGrayTemplate" text="Undo Changes" hidden="true">
                                                <Size>
                                                        <AbsDimension x="110" y="22"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="30" y="102"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnLoad>
                                                                this:LockHighlight();
                                                        </OnLoad>
                                                        <OnClick>
                                                                LoadITEdit_Undo();
                                                        </OnClick>
                                                </Scripts>
                                        </Button>
                                        <Button name="EditProfileName" inherits="UIPanelButtonGrayTemplate" text='' hidden="true">
                                                <Anchors>
                                                        <Anchor point="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="-47" y="-42"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Size>
                                                        <AbsDimension x="260" y="22"/>
                                                </Size>
                                                <Scripts>
                                                        <OnLoad>
                                                                this:LockHighlight();
                                                        </OnLoad>
                                                </Scripts>
                                        </Button>
                                        <Button name="LoadITEditCheckAllButton" inherits="UIPanelButtonGrayTemplate" text="Check All" hidden="true">
                                                <Size>
                                                        <AbsDimension x="110" y="22"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="BOTTOMRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="-55" y="82"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnLoad>
                                                                this:LockHighlight();
                                                        </OnLoad>
                                                        <OnClick>
                                                                LoadITEdit_ToggleAll(1);
                                                        </OnClick>
                                                </Scripts>
                                        </Button>
                                        <Button name="LoadITEditUnCheckAllButton" inherits="UIPanelButtonGrayTemplate" text="Uncheck All" hidden="true">
                                                <Size>
                                                        <AbsDimension x="110" y="22"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="BOTTOMRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="-55" y="102"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnLoad>
                                                                this:LockHighlight();
                                                        </OnLoad>
                                                        <OnClick>
                                                                LoadITEdit_ToggleAll(0);
                                                        </OnClick>
                                                </Scripts>
                                        </Button>
                                        <Button name="LoadITEditInfoButton" inherits="UIPanelButtonGrayTemplate" text="Info" hidden="true">
                                                <Size>
                                                        <AbsDimension x="60" y="22"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="LoadITEditSaveButton" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="8" y="10"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnLoad>
                                                                this:LockHighlight();
                                                        </OnLoad>
                                                        <OnEnter>
                                                                GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
                                                                if (LoadITEditFrame.SelectedIndex) then
                                                                        local i = LoadIT_FindAddonIndex(LoadITEditFrame.SelectedName);
                                                                        if (i) then
                                                                                LoadIT_AddonTooltip(i);
                                                                        else
                                                                                GameTooltip:SetText("The selected addon is MISSING or no details are available.", 0.5, 0.5, 0.5, 1);
                                                                        end
                                                                else
                                                                        GameTooltip:SetText("Select an addon and hover\nhere to view details.", 0.5, 0.5, 0.5, 1);
                                                                end
                                                                GameTooltip:Show();
                                                        </OnEnter>
                                                        <OnLeave>
                                                                GameTooltip:Hide();
                                                        </OnLeave>
                                                </Scripts>
                                        </Button>
                                        <Button name="LoadITEditFrameColumnHeader1" inherits="WhoFrameColumnHeaderTemplate" text="Enable">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="20" y="-70"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnLoad>
                                                                WhoFrameColumn_SetWidth(45);
                                                                this.sortType = "enabled";
                                                        </OnLoad>
                                                        <OnClick>
                                                        </OnClick>
                                                </Scripts>
                                        </Button>
                                        <Button name="LoadITEditFrameColumnHeader2" inherits="WhoFrameColumnHeaderTemplate" text="Del">
                                                <Anchors>
                                                        <Anchor point="LEFT" relativeTo="LoadITEditFrameColumnHeader1" relativePoint="RIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="-2" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnLoad>
                                                                WhoFrameColumn_SetWidth(30);
                                                        </OnLoad>
                                                        <OnClick>
                                                        </OnClick>
                                                </Scripts>
                                        </Button>
                                        <Button name="LoadITEditFrameColumnHeader3" inherits="WhoFrameColumnHeaderTemplate" text="Name">
                                                <Anchors>
                                                        <Anchor point="LEFT" relativeTo="LoadITEditFrameColumnHeader2" relativePoint="RIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="-2" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnLoad>
                                                                WhoFrameColumn_SetWidth(252);
                                                                this.sortType = "name";
                                                        </OnLoad>
                                                        <OnClick>
                                                        </OnClick>
                                                </Scripts>
                                        </Button>
                                        <Button name="LoadITEditButton1" inherits="LoadITEditButtonTemplate" id="1">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="LoadITEditFrame">
                                                                <Offset>
                                                                        <AbsDimension x="15" y="-95"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="LoadITEditButton2" inherits="LoadITEditButtonTemplate" id="2">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="LoadITEditButton1" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="LoadITEditButton3" inherits="LoadITEditButtonTemplate" id="3">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="LoadITEditButton2" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="LoadITEditButton4" inherits="LoadITEditButtonTemplate" id="4">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="LoadITEditButton3" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="LoadITEditButton5" inherits="LoadITEditButtonTemplate" id="5">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="LoadITEditButton4" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="LoadITEditButton6" inherits="LoadITEditButtonTemplate" id="6">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="LoadITEditButton5" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="LoadITEditButton7" inherits="LoadITEditButtonTemplate" id="7">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="LoadITEditButton6" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="LoadITEditButton8" inherits="LoadITEditButtonTemplate" id="8">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="LoadITEditButton7" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="LoadITEditButton9" inherits="LoadITEditButtonTemplate" id="9">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="LoadITEditButton8" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="LoadITEditButton10" inherits="LoadITEditButtonTemplate" id="10">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="LoadITEditButton9" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="LoadITEditButton11" inherits="LoadITEditButtonTemplate" id="11">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="LoadITEditButton10" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="LoadITEditButton12" inherits="LoadITEditButtonTemplate" id="12">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="LoadITEditButton11" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="LoadITEditButton13" inherits="LoadITEditButtonTemplate" id="13">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="LoadITEditButton12" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="LoadITEditButton14" inherits="LoadITEditButtonTemplate" id="14">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="LoadITEditButton13" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="LoadITEditButton15" inherits="LoadITEditButtonTemplate" id="15">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="LoadITEditButton14" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="LoadITEditButton16" inherits="LoadITEditButtonTemplate" id="16">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="LoadITEditButton15" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="LoadITEditButton17" inherits="LoadITEditButtonTemplate" id="17">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="LoadITEditButton16" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <ScrollFrame name="LoadITEditScrollFrame" inherits="FauxScrollFrameTemplate">
                                                <Size>
                                                        <AbsDimension x="296" y="289"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOPRIGHT" relativeTo="LoadITEditFrame" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="-67" y="-96"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnVerticalScroll>
                                                                FauxScrollFrame_OnVerticalScroll(LOADIT_SCROLL_HEIGHT, LoadITEdit_OnUpdate);
                                                        </OnVerticalScroll>
                                                </Scripts>
                                                <Layers>
                                                        <Layer level="BACKGROUND">
                                                                <Texture name="LoadITEditListScrollBarTop">
                                                                        <Size>
                                                                                <AbsDimension x="31" y="256"/>
                                                                        </Size>
                                                                        <Anchors>
                                                                                <Anchor point="TOP" relativeTo="LoadITEditScrollFrameScrollBarScrollUpButton">
                                                                                        <Offset>
                                                                                                <AbsDimension x="0" y="5"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                        </Anchors>
                                                                        <TexCoords left="0" right="0.484375" top="0" bottom="1.0"/>
                                                                </Texture>
                                                                <Texture>
                                                                        <Size>
                                                                                <AbsDimension x="31" y="106"/>
                                                                        </Size>
                                                                        <Anchors>
                                                                                <Anchor point="BOTTOM" relativeTo="$parentScrollBarScrollDownButton">
                                                                                        <Offset>
                                                                                                <AbsDimension x="0" y="-2"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                        </Anchors>
                                                                        <TexCoords left="0.515625" right="1.0" top="0" bottom="0.4140625"/>
                                                                </Texture>
                                                        </Layer>
                                                </Layers>
                                        </ScrollFrame>
                                </Frames>

                                <Layers>
                                        <Layer level="BACKGROUND">
                                                <FontString name="LoadITEditProfileNotSelectedText" inherits="GameFontHighlightSmall" justifyH="LEFT" text="LOADIT_SELECT_PROFILE">
                                                        <Size>
                                                                <AbsDimension x="248" y="14"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="CENTER">
                                                                        <Offset>
                                                                                <AbsDimension x="0" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                        </Layer>
                                </Layers>
                        </Frame>

                </Frames>
                <Scripts>
                        <OnLoad>
                                LoadITopt_OnLoad();
                        </OnLoad>
                        <OnShow>
                                LoadITopt_OnShow();
                        </OnShow>
                        <OnHide>
                                LoadITopt_OnHide();
                        </OnHide>
--                      <OnEscapePressed>
--                              HideUIPanel(LoadITmenuFrame);
--                      </OnEscapePressed>
                        <OnMouseDown>
                                LoadITopt_OnMouseDown(arg1);
                        </OnMouseDown>
                        <OnMouseUp>
                                LoadITopt_OnMouseUp(arg1);
                        </OnMouseUp>

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