<!-- MoonWell -->
<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="AddonList.lua"/>
	<Button name="AddonListButtonTemplate" virtual="true">
		<ButtonText>
			<Anchors>
				<Anchor point="CENTER">
					<Offset>
						<AbsDimension x="0" y="2"/>
					</Offset>
				</Anchor>
			</Anchors>
		</ButtonText>
		<NormalFont style="GlueFontNormal"/>
		<HighlightFont style="GlueFontHighlight"/>
		<NormalTexture inherits="GluePanelButtonUpTexture">
			<TexCoords left="0.025" right="0.535" top="0" bottom="0.75"/>
		</NormalTexture>
		<PushedTexture inherits="GluePanelButtonDownTexture">
			<TexCoords left="0.025" right="0.535" top="0" bottom="0.75"/>
		</PushedTexture>
		<HighlightTexture inherits="GluePanelButtonHighlightTexture">
			<TexCoords left="0.025" right="0.535" top="0" bottom="0.75"/>
		</HighlightTexture>
	</Button>
	<Button name="AddonListEntryTemplate" virtual="true">
		<Size>
			<AbsDimension x="520" y="16"/>
		</Size>
		<Layers>
			<Layer level="BACKGROUND">
				<FontString name="$parentTitle" inherits="GlueFontNormal" justifyH="LEFT">
					<Size>
						<AbsDimension x="220" y="12"/>
					</Size>
					<Anchors>
						<Anchor point="LEFT">
							<Offset>
								<AbsDimension x="42" y="0"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				<FontString name="$parentStatus" inherits="GlueFontNormalSmall" justifyH="LEFT">
					<Size>
						<AbsDimension x="220" y="12"/>
					</Size>
					<Anchors>
						<Anchor point="LEFT" relativeTo="$parentTitle" relativePoint="RIGHT">
							<Offset>
								<AbsDimension x="30" y="0"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
		<Frames>
			<Button name="$parentSecurity" hidden="true">
				<Size>
					<AbsDimension x="16" y="16"/>
				</Size>
				<Anchors>
					<Anchor point="RIGHT" relativePoint="LEFT">
						<Offset>
							<AbsDimension x="2" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnEnter>
						GlueTooltip_SetOwner(self);
						GlueTooltip_SetText(self.tooltip);
					</OnEnter>
					<OnLeave>
						GlueTooltip:Hide();
					</OnLeave>
				</Scripts>
				<NormalTexture name="$parentIcon" file="Interface\Glues\CharacterSelect\Glues-AddOn-Icons"/>
			</Button>
			<CheckButton name="$parentEnabled">
				<Size>
					<AbsDimension x="22" y="22"/>
				</Size>
				<Anchors>
					<Anchor point="LEFT">
						<Offset>
							<AbsDimension x="5" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<HitRectInsets>
					<AbsInset left="0" right="0" top="0" bottom="8"/>
				</HitRectInsets>
				<Scripts>
					<OnClick>
						AddonList_Enable(self:GetParent():GetID(), self:GetChecked());
					</OnClick>
					<OnEnter>
						if ( self.tooltip ) then
							GlueTooltip_SetOwner(self);
							GlueTooltip_SetText(self.tooltip);
						end
					</OnEnter>
					<OnLeave>
						GlueTooltip:Hide();
					</OnLeave>
				</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 name="$parentCheckedTexture" file="Interface\Buttons\UI-CheckBox-Check"/>
				<DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/>
			</CheckButton>
			<Button name="$parentURL">
				<Size>
					<AbsDimension x="16" y="16"/>
				</Size>
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentTitle" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						AddonList.selectedID = AddonList.offset + self:GetID();
						AddonDialog_Show("CONFIRM_LAUNCH_ADDON_URL", self.url);
					</OnClick>
					<OnEnter>
						GlueTooltip_SetOwner(self);
						GlueTooltip_SetText(self.tooltip);
					</OnEnter>
					<OnLeave>
						GlueTooltip:Hide();
					</OnLeave>
				</Scripts>
				<NormalTexture name="$parentNormalTexture" file="Interface\Buttons\UI-GuildButton-PublicNote-Up"/>
				<HighlightTexture name="$parentHighlightTexture" file="Interface\Buttons\UI-GuildButton-PublicNote-Up" alphaMode="ADD"/>
			</Button>
			<Button name="$parentUpdate">
				<Size>
					<AbsDimension x="16" y="16"/>
				</Size>
				<Anchors>
					<Anchor point="RIGHT" relativeTo="$parentURL" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						AddonList.selectedID = AddonList.offset + self:GetParent():GetID();
						AddonDialog_Show("CONFIRM_LAUNCH_ADDON_URL", self.url);
					</OnClick>
					<OnEnter>
						GlueTooltip_SetOwner(self);
						GlueTooltip_SetText(self.tooltip);
					</OnEnter>
					<OnLeave>
						GlueTooltip:Hide();
					</OnLeave>
				</Scripts>
				<NormalTexture name="$parentIcon" file="Interface\Glues\CharacterSelect\Glues-AddOn-Icons"/>
				<HighlightTexture name="$parentIconHighlight" file="Interface\Glues\CharacterSelect\Glues-AddOn-Icons" alphaMode="ADD"/>
			</Button>
		</Frames>
		<Scripts>
			<OnLoad>
				AddonList_SetSecurityIcon(_G[self:GetName().."UpdateIcon"], 4);
				AddonList_SetSecurityIcon(_G[self:GetName().."UpdateIconHighlight"], 4);
			</OnLoad>
			<OnEnter>
				AddonTooltip:SetPoint("TOPRIGHT", self, "TOPLEFT", -14, 0);
				AddonTooltip_Update(self);
				AddonTooltip:Show();
			</OnEnter>
			<OnLeave>
				AddonTooltip:Hide();
			</OnLeave>
		</Scripts>
	</Button>
	<Frame name="AddonList" toplevel="true" parent="GlueParent" setAllPoints="true" enableMouse="true" enableKeyboard="true" frameStrata="DIALOG" hidden="true">
		<Layers>
			<Layer level="BACKGROUND">
				<Texture setAllPoints="true">
					<Color a="0.75" r="0" g="0" b="0"/>
				</Texture>
			</Layer>
		</Layers>
		<Frames>
			<Frame name="AddonListBackground">
				<Size>
					<AbsDimension x="640" y="512"/>
				</Size>
				<Anchors>
					<Anchor point="CENTER">
						<Offset>
							<AbsDimension x="24" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<HitRectInsets>
					<AbsInset left="0" right="44" top="0" bottom="13"/>
				</HitRectInsets>
				<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\tooltips\ui-tooltip-border-maw" tile="true">
					<BackgroundInsets left="4" right="4" top="4" bottom="4"/>
					<TileSize val="16"/>
					<EdgeSize val="16"/>
					<Color r="0" g="0" b="0" a="1"/>
				</Backdrop>
				<Layers>
					<Layer level="ARTWORK">
						<Texture name="AddonListHeader" file="Interface\DialogFrame\UI-DialogBox-Header" hidden="true">
							<Size>
								<AbsDimension x="256" y="64"/>
							</Size>
							<Anchors>
								<Anchor point="TOP">
									<Offset>
										<AbsDimension x="-22" y="12"/>
									</Offset>
								</Anchor>
							</Anchors>
						</Texture>
						<FontString inherits="GlueFontNormalSmall" text="ADDON_LIST">
							<Anchors>
								<Anchor point="TOP">
									<Offset>
										<AbsDimension x="0" y="-20"/>
									</Offset>
								</Anchor>
						</Anchors>
						</FontString>
					</Layer>
				</Layers>
				<Frames>
					<Frame name="AddonCharacterDropDown" inherits="GlueDropDownMenuTemplate">
    					<Size x="150" y="24"/>
    					<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" 
              					edgeFile="Interface\Tooltips\ui-tooltip-border-mawBlack" 
              					tile="true">
        					<EdgeSize val="12"/>
        					<BackgroundInsets left="3" right="3" top="3" bottom="3"/>
        					<Color r="0" g="0" b="0" a="1"/>
    					</Backdrop>
    					<Anchors>
        					<Anchor point="TOPLEFT">
            					<Offset>
                					<AbsDimension x="30" y="-38"/>
            					</Offset>
        					</Anchor>
    					</Anchors>
    					<Layers>
        					<Layer level="OVERLAY">
            					<FontString inherits="GlueFontNormalSmall" text="CONFIGURE_MODS_FOR">
                					<Anchors>
                    					<Anchor point="LEFT">
                        					<Offset>
                            					<AbsDimension x="-4" y="25"/>
                        					</Offset>
                    					</Anchor>
                					</Anchors>
            					</FontString>
        					</Layer>
    					</Layers>
    					<Scripts>
        					<OnLoad>
            					GlueDropDownMenu_Initialize(self, AddonListCharacterDropDown_Initialize);
            					GlueDropDownMenu_SetSelectedValue(self, ALL);
            
            					local btn = _G[self:GetName().."Button"];
            					btn:ClearAllPoints();
            					btn:SetPoint("RIGHT", self, "RIGHT", -40, 0);
            					btn:SetSize(14, 14);
            					btn:SetNormalTexture("Interface\\ChatFrame\\UI-ChatIcon-ScrollDown-Up");
								
            					local text = _G[self:GetName().."Text"];
            					text:ClearAllPoints();
            					text:SetPoint("LEFT", self, "LEFT", 8, 1);
            					text:SetPoint("RIGHT", btn, "LEFT", -15, -2);
								
            					_G[self:GetName().."Left"]:Hide();
            					_G[self:GetName().."Middle"]:Hide();
           						_G[self:GetName().."Right"]:Hide();
        					</OnLoad>
    					</Scripts>
					</Frame>
					<Button name="AddonListCloseButton" inherits="GlueCloseButton">
    					<Anchors>
        					<Anchor point="TOPRIGHT">
            					<Offset>
                					<AbsDimension x="-15" y="-15"/>
            					</Offset>
        					</Anchor>
    					</Anchors>
    					<Scripts>
        					<OnClick>
            					AddonList_OnCancel();
        					</OnClick>
    					</Scripts>
					</Button>
					<CheckButton name="AddonListForceLoad">
						<Size>
							<AbsDimension x="22" y="22"/>
						</Size>
						<Anchors>
							<Anchor point="TOP">
								<Offset>
									<AbsDimension x="50" y="-42"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Layers>
							<Layer level="ARTWORK">
								<FontString inherits="GlueFontNormalSmall" text="ADDON_FORCE_LOAD">
									<Anchors>
										<Anchor point="LEFT">
											<Offset>
												<AbsDimension x="36" y="0"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
							</Layer>
						</Layers>
						<Scripts>
							<OnShow>
									if ( IsAddonVersionCheckEnabled() ) then
									self:SetChecked(0);
								else
									self:SetChecked(1);
								end
							</OnShow>
							<OnClick>
								if ( self:GetChecked() ) then
									SetAddonVersionCheck(0);
								else
									SetAddonVersionCheck(1);
								end
								AddonList_Update();
							</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="AddonListEntry1" inherits="AddonListEntryTemplate" id="1">
						<Anchors>
							<Anchor point="TOPLEFT">
								<Offset>
									<AbsDimension x="37" y="-80"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="AddonListEntry2" inherits="AddonListEntryTemplate" id="2">
						<Anchors>
							<Anchor point="TOP" relativeTo="AddonListEntry1" relativePoint="BOTTOM">
								<Offset>
									<AbsDimension x="0" y="-4"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="AddonListEntry3" inherits="AddonListEntryTemplate" id="3">
						<Anchors>
							<Anchor point="TOP" relativeTo="AddonListEntry2" relativePoint="BOTTOM">
								<Offset>
									<AbsDimension x="0" y="-4"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="AddonListEntry4" inherits="AddonListEntryTemplate" id="4">
						<Anchors>
							<Anchor point="TOP" relativeTo="AddonListEntry3" relativePoint="BOTTOM">
								<Offset>
									<AbsDimension x="0" y="-4"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="AddonListEntry5" inherits="AddonListEntryTemplate" id="5">
						<Anchors>
							<Anchor point="TOP" relativeTo="AddonListEntry4" relativePoint="BOTTOM">
								<Offset>
									<AbsDimension x="0" y="-4"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="AddonListEntry6" inherits="AddonListEntryTemplate" id="6">
						<Anchors>
							<Anchor point="TOP" relativeTo="AddonListEntry5" relativePoint="BOTTOM">
								<Offset>
									<AbsDimension x="0" y="-4"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="AddonListEntry7" inherits="AddonListEntryTemplate" id="7">
						<Anchors>
							<Anchor point="TOP" relativeTo="AddonListEntry6" relativePoint="BOTTOM">
								<Offset>
									<AbsDimension x="0" y="-4"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="AddonListEntry8" inherits="AddonListEntryTemplate" id="8">
						<Anchors>
							<Anchor point="TOP" relativeTo="AddonListEntry7" relativePoint="BOTTOM">
								<Offset>
									<AbsDimension x="0" y="-4"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="AddonListEntry9" inherits="AddonListEntryTemplate" id="9">
						<Anchors>
							<Anchor point="TOP" relativeTo="AddonListEntry8" relativePoint="BOTTOM">
								<Offset>
									<AbsDimension x="0" y="-4"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="AddonListEntry10" inherits="AddonListEntryTemplate" id="10">
						<Anchors>
							<Anchor point="TOP" relativeTo="AddonListEntry9" relativePoint="BOTTOM">
								<Offset>
									<AbsDimension x="0" y="-4"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="AddonListEntry11" inherits="AddonListEntryTemplate" id="11">
						<Anchors>
							<Anchor point="TOP" relativeTo="AddonListEntry10" relativePoint="BOTTOM">
								<Offset>
									<AbsDimension x="0" y="-4"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="AddonListEntry12" inherits="AddonListEntryTemplate" id="12">
						<Anchors>
							<Anchor point="TOP" relativeTo="AddonListEntry11" relativePoint="BOTTOM">
								<Offset>
									<AbsDimension x="0" y="-4"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="AddonListEntry13" inherits="AddonListEntryTemplate" id="13">
						<Anchors>
							<Anchor point="TOP" relativeTo="AddonListEntry12" relativePoint="BOTTOM">
								<Offset>
									<AbsDimension x="0" y="-4"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="AddonListEntry14" inherits="AddonListEntryTemplate" id="14">
						<Anchors>
							<Anchor point="TOP" relativeTo="AddonListEntry13" relativePoint="BOTTOM">
								<Offset>
									<AbsDimension x="0" y="-4"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="AddonListEntry15" inherits="AddonListEntryTemplate" id="15">
						<Anchors>
							<Anchor point="TOP" relativeTo="AddonListEntry14" relativePoint="BOTTOM">
								<Offset>
									<AbsDimension x="0" y="-4"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="AddonListEntry16" inherits="AddonListEntryTemplate" id="16">
						<Anchors>
							<Anchor point="TOP" relativeTo="AddonListEntry15" relativePoint="BOTTOM">
								<Offset>
									<AbsDimension x="0" y="-4"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="AddonListEntry17" inherits="AddonListEntryTemplate" id="17">
						<Anchors>
							<Anchor point="TOP" relativeTo="AddonListEntry16" relativePoint="BOTTOM">
								<Offset>
									<AbsDimension x="0" y="-4"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="AddonListEntry18" inherits="AddonListEntryTemplate" id="18">
						<Anchors>
							<Anchor point="TOP" relativeTo="AddonListEntry17" relativePoint="BOTTOM">
								<Offset>
									<AbsDimension x="0" y="-4"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="AddonListEntry19" inherits="AddonListEntryTemplate" id="19">
						<Anchors>
							<Anchor point="TOP" relativeTo="AddonListEntry18" relativePoint="BOTTOM">
								<Offset>
									<AbsDimension x="0" y="-4"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<ScrollFrame name="AddonListScrollFrame" inherits="GlueScrollFrameTemplate">
						<Size>
							<AbsDimension x="510" y="390"/>
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT">
								<Offset>
									<AbsDimension x="49" y="-73"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Layers>
							<Layer level="BACKGROUND">
								<Texture name="$parentScrollBarTop" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
									<Size>
										<AbsDimension x="31" y="256"/>
									</Size>
									<Anchors>
										<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="$parentScrollBarBottom" 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="$parentScrollBarMiddle" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
									<Size>
										<AbsDimension x="31" y="60"/>
									</Size>
									<Anchors>
										<Anchor point="TOP" relativeTo="$parentScrollBarTop" relativePoint="BOTTOM"/>
										<Anchor point="BOTTOM" relativeTo="$parentScrollBarBottom" relativePoint="TOP"/>
									</Anchors>
									<TexCoords left="0" right="0.484375" top=".75" bottom="1.0"/>
								</Texture>
							</Layer>
						</Layers>
						<Scripts>
							<OnVerticalScroll>
								AddonListScrollFrame_OnVerticalScroll(self, offset);
							</OnVerticalScroll>
						</Scripts>
						<ScrollChild>
							<Frame name="AddonListScrollFrameScrollChildFrame">
								<Size>
									<AbsDimension x="510" y="395"/>
								</Size>
							</Frame>
						</ScrollChild>
					</ScrollFrame>
					<Button name="AddonListDisableAllButton" inherits="AddonListButtonTemplate" text="DISABLE_ALL_ADDONS">
						<Size>
							<AbsDimension x="160" y="45"/>
						</Size>
						<Anchors>
							<Anchor point="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="16" y="13"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnClick>
								local character = GlueDropDownMenu_GetSelectedValue(AddonCharacterDropDown);
								if ( character == ALL ) then
									character = nil;
								end
								DisableAllAddOns(character);
								AddonList_Update();
							</OnClick>
						</Scripts>
					</Button>
					<Button name="AddonListEnableAllButton" inherits="AddonListButtonTemplate" text="ENABLE_ALL_ADDONS">
						<Size>
							<AbsDimension x="160" y="45"/>
						</Size>
						<Anchors>
							<Anchor point="LEFT" relativeTo="AddonListDisableAllButton" relativePoint="RIGHT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnClick>
								local character = GlueDropDownMenu_GetSelectedValue(AddonCharacterDropDown);
								if ( character == ALL ) then
									character = nil;
								end
								EnableAllAddOns(character);
								AddonList_Update();
							</OnClick>
						</Scripts>
					</Button>
					<Button name="AddonListCancelButton" inherits="GlueDialogButtonTemplate" text="CANCEL">
						<Size>
							<AbsDimension x="125" y="45"/>
						</Size>
						<Anchors>
							<Anchor point="BOTTOMRIGHT">
								<Offset>
									<AbsDimension x="-10" y="13"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnClick>
								AddonList_OnCancel();
							</OnClick>
						</Scripts>
					</Button>
					<Button name="AddonListOkButton" inherits="GlueDialogButtonTemplate" text="OKAY">
						<Size>
							<AbsDimension x="125" y="45"/>
						</Size>
						<Anchors>
							<Anchor point="RIGHT" relativeTo="AddonListCancelButton" relativePoint="LEFT">
								<Offset>
									<AbsDimension x="8" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnClick>
								AddonList_OnOk();
							</OnClick>
						</Scripts>
					</Button>
				</Frames>
			</Frame>
		</Frames>
		<Scripts>
			<OnLoad>
				AddonList_OnLoad(self);
			</OnLoad>
			<OnKeyDown>
				AddonList_OnKeyDown(key);
			</OnKeyDown>
			<OnShow>
				AddonList_OnShow();
			</OnShow>
		</Scripts>
	</Frame>
	<Frame name="AddonTooltip" frameStrata="TOOLTIP" hidden="true">
		<Size>
			<AbsDimension x="220" y="0"/>
		</Size>
		<Anchors>
			<Anchor point="TOPRIGHT" relativeTo="AddonListBackground" relativePoint="TOPLEFT">
				<Offset>
					<AbsDimension x="6" y="-4"/>
				</Offset>
			</Anchor>
		</Anchors>
		<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\tooltips\ui-tooltip-border-maw" tile="true">
			<EdgeSize>
				<AbsValue val="16"/>
			</EdgeSize>
			<TileSize>
				<AbsValue val="16"/>
			</TileSize>
			<BackgroundInsets>
				<AbsInset left="5" right="5" top="5" bottom="5"/>
			</BackgroundInsets>
		</Backdrop>
		<Layers>
			<Layer level="ARTWORK">
				<FontString name="$parentTitle" inherits="GlueFontNormal" justifyH="LEFT">
					<Size>
						<AbsDimension x="200" y="0"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="10" y="-10"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				<FontString name="$parentNotes" inherits="GlueFontNormalSmall" justifyH="LEFT">
					<Size>
						<AbsDimension x="200" y="0"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="$parentTitle" relativePoint="BOTTOMLEFT">
							<Offset>
								<AbsDimension x="0" y="-2"/>
							</Offset>
						</Anchor>
					</Anchors>
					<Color r="1.0" g="1.0" b="1.0"/>
				</FontString>
				<FontString name="$parentDeps" inherits="GlueFontNormalSmall" justifyH="LEFT">
					<Size>
						<AbsDimension x="200" y="0"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="$parentNotes" relativePoint="BOTTOMLEFT">
							<Offset>
								<AbsDimension x="0" y="-2"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
		<Scripts>
			<OnLoad>
				self:SetBackdropBorderColor(1.0, 1.0, 1.0);
				self:SetBackdropColor(0.09, 0.09, 0.19 );
			</OnLoad>
		</Scripts>
	</Frame>
	<Button name="AddonDialogButtonTemplate" virtual="true">
		<Size>
			<AbsDimension x="200" y="40"/>
		</Size>
		<Scripts>
			<OnClick>
				AddonDialog_OnClick(self:GetID());
			</OnClick>
		</Scripts>
		<ButtonText>
			<Anchors>
				<Anchor point="CENTER">
					<Offset>
						<AbsDimension x="0" y="2"/>
					</Offset>
				</Anchor>
			</Anchors>
		</ButtonText>
		<NormalFont style="GlueFontNormal"/>
		<HighlightFont style="GlueFontHighlight"/>
		<NormalTexture inherits="GluePanelButtonUpTexture"/>
		<PushedTexture inherits="GluePanelButtonDownTexture"/>
		<DisabledTexture inherits="GluePanelButtonDisabledTexture"/>
		<HighlightTexture inherits="GluePanelButtonHighlightTexture"/>
	</Button>
	<Frame name="AddonDialog" toplevel="true" parent="GlueParent" setAllPoints="true" enableMouse="true" enableKeyboard="true" frameStrata="DIALOG" hidden="true">
		<Frames>
			<Frame name="AddonDialogBackground">
				<Size>
					<AbsDimension x="512" y="256"/>
				</Size>
				<Anchors>
					<Anchor point="CENTER">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\tooltips\ui-tooltip-border-maw" tile="true">
					<BackgroundInsets>
						<AbsInset left="11" right="12" top="12" bottom="11"/>
					</BackgroundInsets>
					<TileSize>
						<AbsValue val="32"/>
					</TileSize>
					<EdgeSize>
						<AbsValue val="32"/>
					</EdgeSize>
				</Backdrop>
				<Layers>
					<Layer level="ARTWORK">
						<FontString name="AddonDialogText" inherits="GlueFontNormalLarge">
							<Size>
								<AbsDimension x="440" y="0"/>
							</Size>
							<Anchors>
								<Anchor point="TOP">
									<Offset>
										<AbsDimension x="0" y="-16"/>
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
					</Layer>
				</Layers>
				<Frames>
					<Button name="AddonDialogButton1" inherits="AddonDialogButtonTemplate" id="1"/>
					<Button name="AddonDialogButton2" inherits="AddonDialogButtonTemplate" id="2"/>
				</Frames>
			</Frame>
		</Frames>
		<Scripts>
			<OnShow>
				self:Raise();
			</OnShow>
			<OnKeyDown>
				AddonDialog_OnKeyDown(key);
			</OnKeyDown>
		</Scripts>
	</Frame>
</Ui>
