Compare with Previous | Blame | View Log
<!-- edited with XMLSpy v2007 (http://www.altova.com) by jon (n/a) --> <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/ W:\WORLDO~1\BLIZZA~1\FrameXML\UI.xsd"> <Button name="ACP_AddonListEntryTemplate" virtual="true"> <Size> <AbsDimension x="520" y="16"/> </Size> <Layers> <Layer level="BACKGROUND"> <FontString name="$parentTitle" inherits="GameFontNormal" justifyH="LEFT"> <Size> <AbsDimension x="200" y="12"/> </Size> <Anchors> <Anchor point="LEFT"> <Offset> <AbsDimension x="42" y="0"/> </Offset> </Anchor> </Anchors> </FontString> <FontString name="$parentStatus" inherits="GameFontNormalSmall" justifyH="LEFT"> <Size> <AbsDimension x="160" y="12"/> </Size> <Anchors> <Anchor point="LEFT" relativeTo="$parentTitle" relativePoint="RIGHT"> <Offset> <AbsDimension x="30" y="0"/> </Offset> </Anchor> </Anchors> </FontString> <FontString name="$parentHeader" inherits="GameFontHighlight"> <Anchors> <Anchor point="LEFT"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> </FontString> </Layer> </Layers> <Frames> <Button name="$parentCollapse" hidden="true"> <Size> <AbsDimension x="16" y="16"/> </Size> <Anchors> <Anchor point="RIGHT" relativePoint="LEFT"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> <Scripts> <OnClick> ACP:Collapse_OnClick(self:GetParent()) </OnClick> </Scripts> <NormalTexture name="$parentIcon"/> <HighlightTexture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight"/> </Button> <Button name="$parentSecurity"> <Size> <AbsDimension x="16" y="16"/> </Size> <Anchors> <Anchor point="RIGHT" relativePoint="LEFT"> <Offset> <AbsDimension x="2" y="0"/> </Offset> </Anchor> </Anchors> <Scripts> <OnClick> ACP:Security_OnClick(self:GetParent().addon) </OnClick> <OnEnter> ACP:ShowSecurityTooltip(self) </OnEnter> <OnLeave> GameTooltip:Hide() </OnLeave> </Scripts> <NormalTexture name="$parentIcon" file="Interface\Glues\CharacterSelect\Glues-AddOn-Icons"/> </Button> <Button name="$parentLoadNow" inherits="UIPanelButtonTemplate" text="Load"> <Size> <AbsDimension x="80" y="16"/> </Size> <Anchors> <Anchor point="LEFT" relativeTo="$parentStatus" relativePoint="RIGHT"> <Offset> <AbsDimension x="2" y="0"/> </Offset> </Anchor> </Anchors> <Scripts> <OnClick> ACP:AddonList_LoadNow(self:GetParent().addon); </OnClick> </Scripts> </Button> <CheckButton name="$parentEnabled"> <Size> <AbsDimension x="32" y="32"/> </Size> <Anchors> <Anchor point="LEFT"> <Offset> <AbsDimension x="5" y="0"/> </Offset> </Anchor> </Anchors> <Scripts> <OnEnter> ACP:ShowHintTooltip(self, self.addon) </OnEnter> <OnLeave> GameTooltip:Hide() </OnLeave> <OnClick> ACP:AddonList_Enable(self:GetParent().addon, self:GetChecked(), IsShiftKeyDown(), IsControlKeyDown(), self:GetParent().category); </OnClick> </Scripts> <NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/> <PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/> <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/> <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/> <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/> </CheckButton> </Frames> <Scripts> <OnEnter> ACP:ShowTooltip(self, self.addon) </OnEnter> <OnLeave> GameTooltip:Hide() </OnLeave> </Scripts> </Button> <Button name="GameMenuButtonAddOns" inherits="GameMenuButtonTemplate" text="AddOns" parent="GameMenuFrame"> <Anchors> <Anchor point="TOP" relativeTo="GameMenuButtonMacros" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-1"/> </Offset> </Anchor> </Anchors> <Scripts> <!--<OnLoad> GameMenuButtonLogout:SetPoint("TOP",self:GetName(),"BOTTOM",0,-1); GameMenuFrame:SetHeight(GameMenuFrame:GetHeight()+25); </OnLoad>--> <OnShow> GameMenuFrame:SetHeight(GameMenuFrame:GetHeight()+25); if (GameMenuButtonKeybindings:IsShown()) then self:SetPoint("TOP", GameMenuButtonKeybindings, "BOTTOM", 0, -1); end; GameMenuButtonMacros:SetPoint("TOP",self:GetName(),"BOTTOM",0,-1); </OnShow> <OnHide> GameMenuFrame:SetHeight(GameMenuFrame:GetHeight()-25); </OnHide> <OnClick> PlaySound("igMainMenuOption"); HideUIPanel(GameMenuFrame); ShowUIPanel(ACP_AddonList); </OnClick> </Scripts> </Button> <Frame name="ACP_AddonList" hidden="true" toplevel="true" enableMouse="true" enableKeyboard="false"> <Size> <AbsDimension x="640" y="512"/> </Size> <Anchors> <Anchor point="CENTER"/> </Anchors> <HitRectInsets> <AbsInset left="0" right="44" top="0" bottom="13"/> </HitRectInsets> <Frames> <Button name="$parentCloseButton" inherits="UIPanelCloseButton"> <Anchors> <Anchor point="TOPRIGHT"> <Offset> <AbsDimension x="-42" y="-3"/> </Offset> </Anchor> </Anchors> </Button> <Button name="$parentSortDropDown" inherits="UIDropDownMenuTemplate"> <Anchors> <Anchor point="TOPLEFT"> <Offset> <AbsDimension x="280" y="-22"/> </Offset> </Anchor> </Anchors> <Scripts> <OnShow> ACP:SortDropDown_OnShow(self) </OnShow> </Scripts> </Button> <Button name="$parentDisableAll" inherits="UIPanelButtonTemplate" text="Disable All"> <Size> <AbsDimension x="80" y="24"/> </Size> <Anchors> <Anchor point="BOTTOMLEFT"> <Offset> <AbsDimension x="90" y="20"/> </Offset> </Anchor> </Anchors> <Scripts> <OnClick> ACP:DisableAll_OnClick(self) </OnClick> </Scripts> </Button> <Button name="$parentEnableAll" inherits="UIPanelButtonTemplate" text="Enable All"> <Size> <AbsDimension x="80" y="24"/> </Size> <Anchors> <Anchor point="BOTTOMLEFT"> <Offset> <AbsDimension x="175" y="20"/> </Offset> </Anchor> </Anchors> <Scripts> <OnClick> EnableAllAddOns() ACP:AddonList_OnShow(self) </OnClick> </Scripts> </Button> <Button name="$parentCollapseAll"> <Size> <AbsDimension x="16" y="16"/> </Size> <Anchors> <Anchor point="TOPLEFT" relativePoint="TOPLEFT"> <Offset> <AbsDimension x="20" y="-35"/> </Offset> </Anchor> </Anchors> <Scripts> <OnClick> ACP:CollapseAll_OnClick(self) </OnClick> </Scripts> <NormalTexture name="$parentIcon" file="Interface\Minimap\UI-Minimap-ZoomOutButton-Up"/> <HighlightTexture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight"/> </Button> <Button name="$parentSetButton" inherits="UIPanelButtonTemplate" text="Sets"> <Size> <AbsDimension x="40" y="24"/> </Size> <Anchors> <Anchor point="BOTTOMLEFT"> <Offset> <AbsDimension x="20" y="20"/> </Offset> </Anchor> </Anchors> <Scripts> <OnClick> ACP:SetButton_OnClick(self); </OnClick> </Scripts> </Button> <CheckButton name="$parent_NoRecurse"> <Size> <AbsDimension x="32" y="32"/> </Size> <Anchors> <Anchor point="LEFT" relativeTo="$parentEnableAll" relativePoint="RIGHT"> <Offset> <AbsDimension x="5" y="0"/> </Offset> </Anchor> </Anchors> <Layers> <Layer level="ARTWORK"> <FontString name="$parentText" inherits="GameFontHighlightSmall" text="Recurse"> <Anchors> <Anchor point="LEFT" relativePoint="RIGHT"> <Offset> <AbsDimension x="2" y="0"/> </Offset> </Anchor> </Anchors> </FontString> </Layer> </Layers> <Scripts> <OnClick> ACP:ToggleRecursion(self:GetChecked()); </OnClick> </Scripts> <NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/> <PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/> <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/> <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/> <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/> </CheckButton> <Button name="$parent_ReloadUI" inherits="UIPanelButtonTemplate" text="ReloadUI"> <Size> <AbsDimension x="80" y="25"/> </Size> <Anchors> <Anchor point="BOTTOMRIGHT"> <Offset> <AbsDimension x="-160" y="20"/> </Offset> </Anchor> </Anchors> <Scripts> <OnClick> ReloadUI(); </OnClick> </Scripts> </Button> <Button name="$parentBottomClose" inherits="UIPanelButtonTemplate" text="Close"> <Size> <AbsDimension x="80" y="24"/> </Size> <Anchors> <Anchor point="BOTTOMRIGHT"> <Offset> <AbsDimension x="-50" y="20"/> </Offset> </Anchor> </Anchors> <Scripts> <OnClick> HideUIPanel(ACP_AddonList); </OnClick> </Scripts> </Button> <Button name="$parentEntry1" inherits="ACP_AddonListEntryTemplate" id="1"> <Anchors> <Anchor point="TOPLEFT"> <Offset> <AbsDimension x="37" y="-62"/> </Offset> </Anchor> </Anchors> </Button> <Button name="$parentEntry2" inherits="ACP_AddonListEntryTemplate" id="2"> <Anchors> <Anchor point="TOP" relativeTo="$parentEntry1" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-4"/> </Offset> </Anchor> </Anchors> </Button> <Button name="$parentEntry3" inherits="ACP_AddonListEntryTemplate" id="3"> <Anchors> <Anchor point="TOP" relativeTo="$parentEntry2" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-4"/> </Offset> </Anchor> </Anchors> </Button> <Button name="$parentEntry4" inherits="ACP_AddonListEntryTemplate" id="4"> <Anchors> <Anchor point="TOP" relativeTo="$parentEntry3" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-4"/> </Offset> </Anchor> </Anchors> </Button> <Button name="$parentEntry5" inherits="ACP_AddonListEntryTemplate" id="5"> <Anchors> <Anchor point="TOP" relativeTo="$parentEntry4" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-4"/> </Offset> </Anchor> </Anchors> </Button> <Button name="$parentEntry6" inherits="ACP_AddonListEntryTemplate" id="6"> <Anchors> <Anchor point="TOP" relativeTo="$parentEntry5" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-4"/> </Offset> </Anchor> </Anchors> </Button> <Button name="$parentEntry7" inherits="ACP_AddonListEntryTemplate" id="7"> <Anchors> <Anchor point="TOP" relativeTo="$parentEntry6" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-4"/> </Offset> </Anchor> </Anchors> </Button> <Button name="$parentEntry8" inherits="ACP_AddonListEntryTemplate" id="8"> <Anchors> <Anchor point="TOP" relativeTo="$parentEntry7" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-4"/> </Offset> </Anchor> </Anchors> </Button> <Button name="$parentEntry9" inherits="ACP_AddonListEntryTemplate" id="9"> <Anchors> <Anchor point="TOP" relativeTo="$parentEntry8" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-4"/> </Offset> </Anchor> </Anchors> </Button> <Button name="$parentEntry10" inherits="ACP_AddonListEntryTemplate" id="10"> <Anchors> <Anchor point="TOP" relativeTo="$parentEntry9" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-4"/> </Offset> </Anchor> </Anchors> </Button> <Button name="$parentEntry11" inherits="ACP_AddonListEntryTemplate" id="11"> <Anchors> <Anchor point="TOP" relativeTo="$parentEntry10" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-4"/> </Offset> </Anchor> </Anchors> </Button> <Button name="$parentEntry12" inherits="ACP_AddonListEntryTemplate" id="12"> <Anchors> <Anchor point="TOP" relativeTo="$parentEntry11" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-4"/> </Offset> </Anchor> </Anchors> </Button> <Button name="$parentEntry13" inherits="ACP_AddonListEntryTemplate" id="13"> <Anchors> <Anchor point="TOP" relativeTo="$parentEntry12" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-4"/> </Offset> </Anchor> </Anchors> </Button> <Button name="$parentEntry14" inherits="ACP_AddonListEntryTemplate" id="14"> <Anchors> <Anchor point="TOP" relativeTo="$parentEntry13" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-4"/> </Offset> </Anchor> </Anchors> </Button> <Button name="$parentEntry15" inherits="ACP_AddonListEntryTemplate" id="15"> <Anchors> <Anchor point="TOP" relativeTo="$parentEntry14" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-4"/> </Offset> </Anchor> </Anchors> </Button> <Button name="$parentEntry16" inherits="ACP_AddonListEntryTemplate" id="16"> <Anchors> <Anchor point="TOP" relativeTo="$parentEntry15" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-4"/> </Offset> </Anchor> </Anchors> </Button> <Button name="$parentEntry17" inherits="ACP_AddonListEntryTemplate" id="17"> <Anchors> <Anchor point="TOP" relativeTo="$parentEntry16" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-4"/> </Offset> </Anchor> </Anchors> </Button> <Button name="$parentEntry18" inherits="ACP_AddonListEntryTemplate" id="18"> <Anchors> <Anchor point="TOP" relativeTo="$parentEntry17" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-4"/> </Offset> </Anchor> </Anchors> </Button> <Button name="$parentEntry19" inherits="ACP_AddonListEntryTemplate" id="19"> <Anchors> <Anchor point="TOP" relativeTo="$parentEntry18" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-4"/> </Offset> </Anchor> </Anchors> </Button> <Button name="$parentEntry20" inherits="ACP_AddonListEntryTemplate" id="20"> <Anchors> <Anchor point="TOP" relativeTo="$parentEntry19" relativePoint="BOTTOM"> <Offset> <AbsDimension x="0" y="-4"/> </Offset> </Anchor> </Anchors> </Button> <ScrollFrame name="$parent_ScrollFrame" inherits="FauxScrollFrameTemplate"> <Size> <AbsDimension x="510" y="410"/> </Size> <Anchors> <Anchor point="TOPLEFT"> <Offset> <AbsDimension x="49" y="-53"/> </Offset> </Anchor> </Anchors> <Layers> <Layer level="BACKGROUND"> <Texture name="$parentTop" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar"> <Size> <AbsDimension x="31" y="256"/> </Size> <Anchors> <!-- <AbsDimension x="-2" y="-4"/> --> <Anchor point="TOPLEFT" relativePoint="TOPRIGHT"> <Offset> <AbsDimension x="-2" y="5"/> </Offset> </Anchor> </Anchors> <TexCoords left="0" right="0.484375" top="0" bottom="1.0"/> </Texture> <Texture name="$parentBottom" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar"> <Size> <AbsDimension x="31" y="106"/> </Size> <Anchors> <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT"> <Offset> <AbsDimension x="-2" y="-2"/> </Offset> </Anchor> </Anchors> <TexCoords left="0.515625" right="1.0" top="0" bottom="0.4140625"/> </Texture> <Texture name="$parentMiddle" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar"> <Size> <AbsDimension x="31" y="60"/> </Size> <Anchors> <Anchor point="TOP" relativeTo="$parentTop" relativePoint="BOTTOM"/> <Anchor point="BOTTOM" relativeTo="$parentBottom" relativePoint="TOP"/> </Anchors> <TexCoords left="0" right="0.484375" top=".75" bottom="1.0"/> </Texture> </Layer> </Layers> <Scripts> <OnVerticalScroll> FauxScrollFrame_OnVerticalScroll(self, offset, ACP_LINEHEIGHT, function() ACP:AddonList_OnShow() end); </OnVerticalScroll> </Scripts> </ScrollFrame> </Frames> <Layers> <Layer level="BACKGROUND"> <Texture file="Interface\HelpFrame\HelpFrame-TopLeft"> <Size> <AbsDimension x="256" y="256"/> </Size> <Anchors> <Anchor point="TOPLEFT"/> </Anchors> </Texture> <Texture file="Interface\HelpFrame\HelpFrame-Top"> <Size> <AbsDimension x="256" y="256"/> </Size> <Anchors> <Anchor point="TOPLEFT"> <Offset> <AbsDimension x="256" y="0"/> </Offset> </Anchor> </Anchors> </Texture> <Texture file="Interface\HelpFrame\HelpFrame-TopRight"> <Size> <AbsDimension x="128" y="256"/> </Size> <Anchors> <Anchor point="TOPRIGHT"/> </Anchors> </Texture> <Texture file="Interface\HelpFrame\HelpFrame-BotLeft"> <Size> <AbsDimension x="256" y="256"/> </Size> <Anchors> <Anchor point="BOTTOMLEFT"/> </Anchors> </Texture> <Texture file="Interface\HelpFrame\HelpFrame-Bottom"> <Size> <AbsDimension x="256" y="256"/> </Size> <Anchors> <Anchor point="BOTTOMLEFT"> <Offset> <AbsDimension x="256" y="0"/> </Offset> </Anchor> </Anchors> </Texture> <Texture file="Interface\HelpFrame\HelpFrame-BotRight"> <Size> <AbsDimension x="128" y="256"/> </Size> <Anchors> <Anchor point="BOTTOMRIGHT"/> </Anchors> </Texture> </Layer> <Layer level="ARTWORK"> <Texture name="$parentHeader" file="Interface\DialogFrame\UI-DialogBox-Header"> <Size> <AbsDimension x="536" y="64"/> </Size> <Anchors> <Anchor point="TOP"> <Offset> <AbsDimension x="-12" y="12"/> </Offset> </Anchor> </Anchors> </Texture> <FontString name="$parentHeaderTitle" inherits="GameFontNormal" text="ADDON_LIST"> <Anchors> <Anchor point="TOP" relativeTo="$parentHeader"> <Offset> <AbsDimension x="0" y="-14"/> </Offset> </Anchor> </Anchors> </FontString> </Layer> </Layers> <Scripts> <OnLoad> ACP:OnLoad(self) </OnLoad> <OnEvent> ACP:OnEvent(self, event, ...) </OnEvent> <OnShow> ACP:AddonList_OnShow(self) </OnShow> <!--<OnKeyDown>--> <!--ACP:OnKeyDown(self, key);--> <!--</OnKeyDown>--> </Scripts> </Frame> </Ui>