vanilla-wow-addons – Rev 1
?pathlinks?
<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/">
<CheckButton name="DiscordLib_CheckBoxTemplate" inherits="UICheckButtonTemplate" frameStrata="HIGH" virtual="true">
<Size><AbsDimension x="24" y="24"/></Size>
<Layers>
<Layer level="ARTWORK">
<FontString name="$parent_Label" inherits="GameFontNormal">
<Color r="1.0" g="1.0" b="1.0"/>
<Anchors>
<Anchor point="LEFT" relativeTo="$parent" relativePoint="RIGHT">
<Offset><AbsDimension x="5" y="1"/></Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
</CheckButton>
<Button name="DiscordLib_ColorPickerTemplate" inherits="DiscordLib_TooltipBackdropTemplate" frameStrata="HIGH" virtual="true">
<Size><AbsDimension x="25" y="25"/></Size>
<Layers>
<Layer level="ARTWORK">
<FontString name="$parent_Label" inherits="GameFontNormal">
<Color r="1.0" g="1.0" b="1.0"/>
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT">
<Offset><AbsDimension x="5" y="0"/></Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
</Button>
<Slider name="DL_OptionsSliderTemplate" orientation="HORIZONTAL" virtual="true" enableMouse="true">
<Size>
<AbsDimension x="128" y="17"/>
</Size>
<HitRectInsets>
<AbsInset left="0" right="0" top="-10" bottom="-10"/>
</HitRectInsets>
<Backdrop bgFile="Interface\Buttons\UI-SliderBar-Background" edgeFile="Interface\Buttons\UI-SliderBar-Border" tile="true">
<EdgeSize>
<AbsValue val="8"/>
</EdgeSize>
<TileSize>
<AbsValue val="8"/>
</TileSize>
<BackgroundInsets>
<AbsInset left="3" right="3" top="6" bottom="6"/>
</BackgroundInsets>
</Backdrop>
<Layers>
<Layer level="ARTWORK">
<FontString name="$parentText" inherits="GameFontNormalSmall">
<Anchors>
<Anchor point="BOTTOM" relativePoint="TOP"/>
</Anchors>
</FontString>
<FontString name="$parentLow" inherits="GameFontHighlightSmall" text="LOW">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="2" y="3"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentHigh" inherits="GameFontHighlightSmall" text="HIGH">
<Anchors>
<Anchor point="TOPRIGHT" relativePoint="BOTTOMRIGHT">
<Offset>
<AbsDimension x="-2" y="3"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<ThumbTexture name="$parentThumb" file="Interface\Buttons\UI-SliderBar-Button-Horizontal">
<Size>
<AbsDimension x="32" y="32"/>
</Size>
</ThumbTexture>
</Slider>
<Slider name="DiscordLib_SliderTemplate" inherits="DL_OptionsSliderTemplate" virtual="true" frameStrata="HIGH">
<Size><AbsDimension x="130" y="20"/></Size>
<Scripts>
<OnUpdate>
if (not this.minmaxset) then
this.minmaxset = 1;
local min, max = this:GetMinMaxValues();
getglobal(this:GetName().."Low"):SetText(min);
getglobal(this:GetName().."High"):SetText(max);
end
</OnUpdate>
</Scripts>
<Layers>
<Layer level="ARTWORK">
<FontString name="$parent_Label" inherits="GameFontNormal">
<Color r="1.0" g="1.0" b="1.0"/>
<Anchors>
<Anchor point="BOTTOM" relativePoint="TOP"/>
</Anchors>
</FontString>
</Layer>
</Layers>
</Slider>
<EditBox name="DiscordLib_SliderEditBoxTemplate" letters="4" autoFocus="false" inherits="InputBoxTemplate" justifyH="CENTER" frameStrata="HIGH" virtual="true">
<Size><AbsDimension x="40" y="20"/></Size>
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT">
<Offset><AbsDimension x="5" y="0"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this:SetTextColor(1,1,0);
</OnLoad>
<OnEscapePressed>
this:SetText(this:GetParent():GetValue());
this:ClearFocus();
</OnEscapePressed>
</Scripts>
</EditBox>
<EditBox name="DiscordLib_EditBoxTemplate" letters="1000" autoFocus="false" inherits="InputBoxTemplate" virtual="true" frameStrata="HIGH">
<Scripts>
<OnEscapePressed>
if (this.prevvalue) then
this:SetText(this.prevvalue);
else
this:SetText("");
end
this:ClearFocus();
</OnEscapePressed>
</Scripts>
<Layers>
<Layer level="ARTWORK">
<FontString name="$parent_Label" inherits="GameFontNormal">
<Color r="1.0" g="1.0" b="1.0"/>
<Anchors>
<Anchor point="RIGHT" relativePoint="LEFT">
<Offset><AbsDimension x="-5" y="0"/></Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
</EditBox>
<Button name="DiscordLib_MenuOptionTemplate" virtual="true">
<Size><AbsDimension x="170" y="15"/></Size>
<HighlightTexture name = "$parentHighlight" alphaMode="ADD" file="Interface\QuestFrame\UI-QuestTitleHighlight"/>
<Layers>
<Layer level="ARTWORK">
<FontString inherits="GameFontNormal" name="$parent_Text">
<Color r="1.0" g="1.0" b="1.0"/>
<Anchors><Anchor point="LEFT"/></Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnEnter>
if (this.desc) then
GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
GameTooltip:SetText(this.desc, 1, 1, 1, 1, 1);
end
this:GetParent().timer = nil;
</OnEnter>
<OnLeave>
GameTooltip:Hide();
</OnLeave>
</Scripts>
</Button>
<Button name="DiscordLib_MenuControlTemplate" inherits="DiscordLib_TooltipBackdropTemplate" virtual="true" frameStrata="HIGH">
<Frames>
<Button name="$parent_Button">
<Size><AbsDimension x="32" y="32"/></Size>
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT">
<Offset><AbsDimension x="-29" y="-1"/></Offset>
</Anchor>
</Anchors>
<HitRectInsets>
<AbsInset left="6" right="6" top="7" bottom="7"/>
</HitRectInsets>
<Scripts>
<OnClick>
DL_Show_Menu(1);
</OnClick>
</Scripts>
<NormalTexture file="Interface\MainMenuBar\UI-MainMenu-ScrollDownButton-Up"/>
<PushedTexture file="Interface\MainMenuBar\UI-MainMenu-ScrollDownButton-Down"/>
<DisabledTexture file="Interface\Buttons\UI-ScrollBar-ScrollDownButton-Disabled"/>
<HighlightTexture alphaMode="ADD" file="Interface\MainMenuBar\UI-MainMenu-ScrollDownButton-Highlight"/>
</Button>
</Frames>
<Layers>
<Layer level="ARTWORK">
<FontString name="$parent_Label" inherits="GameFontNormal">
<Color r="1.0" g="1.0" b="1.0"/>
<Anchors>
<Anchor point="RIGHT" relativePoint="LEFT">
<Offset><AbsDimension x="-5" y="0"/></Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parent_Setting" inherits="GameFontNormal">
<Color r="1.0" g="1.0" b="0.0"/>
<Anchors>
<Anchor point="LEFT">
<Offset><AbsDimension x="3" y="0"/></Offset>
</Anchor>
<Anchor point="RIGHT">
<Offset><AbsDimension x="-20" y="0"/></Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnClick>
DL_Show_Menu();
</OnClick>
</Scripts>
</Button>
<Frame name="DiscordLib_EditMenuControlTemplate" virtual="true" frameStrata="HIGH">
<Frames>
<Button name="$parent_Button">
<Size><AbsDimension x="36" y="36"/></Size>
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT">
<Offset><AbsDimension x="-17" y="-1"/></Offset>
</Anchor>
</Anchors>
<HitRectInsets>
<AbsInset left="6" right="6" top="7" bottom="7"/>
</HitRectInsets>
<Scripts>
<OnClick>
DL_Show_Menu(1);
</OnClick>
</Scripts>
<NormalTexture file="Interface\MainMenuBar\UI-MainMenu-ScrollDownButton-Up"/>
<PushedTexture file="Interface\MainMenuBar\UI-MainMenu-ScrollDownButton-Down"/>
<DisabledTexture file="Interface\Buttons\UI-ScrollBar-ScrollDownButton-Disabled"/>
<HighlightTexture alphaMode="ADD" file="Interface\MainMenuBar\UI-MainMenu-ScrollDownButton-Highlight"/>
</Button>
<EditBox name="$parent_Setting" letters="1000" autoFocus="false" inherits="InputBoxTemplate" frameStrata="HIGH">
<Size><AbsDimension x="100" y="22"/></Size>
<Anchors>
<Anchor point="LEFT">
<Offset><AbsDimension x="0" y="0"/></Offset>
</Anchor>
<Anchor point="RIGHT">
<Offset><AbsDimension x="0" y="0"/></Offset>
</Anchor>
</Anchors>
<FontString inherits="ChatFontNormal" font="Fonts\ARIALN.TTF">
<Color r="1" g="1" b="0"/>
<FontHeight>
<AbsValue val="12"/>
</FontHeight>
</FontString>
<Scripts>
<OnEscapePressed>
if (this:GetParent().prevvalue) then
this:SetText(this:GetParent().prevvalue);
else
this:SetText("");
end
this:ClearFocus();
</OnEscapePressed>
<OnEnterPressed>
if (this:GetParent().editFunc) then
this:GetParent().editFunc();
end
</OnEnterPressed>
</Scripts>
</EditBox>
</Frames>
<Layers>
<Layer level="ARTWORK">
<FontString name="$parent_Label" inherits="GameFontNormal">
<Color r="1.0" g="1.0" b="1.0"/>
<Anchors>
<Anchor point="RIGHT" relativePoint="LEFT">
<Offset><AbsDimension x="-5" y="0"/></Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
</Frame>
<Button name="DL_NudgeTemplate" inherits="UIPanelButtonTemplate" virtual="true">
<Size><AbsDimension x="20" y="20"/></Size>
<Scripts>
<OnLoad>
DL_NudgeButton_OnLoad();
</OnLoad>
<OnMouseDown>
if (arg1 == "MiddleButton") then
this.movingframe = true;
end
</OnMouseDown>
</Scripts>
</Button>
<ScrollFrame name="DL_ScrollFrameTemplate" inherits="FauxScrollFrameTemplate" virtual="true">
<Size><AbsDimension x="210" y="410"/></Size>
<Frames>
<Frame name="$parent_OuterBorder" inherits="DiscordLib_TooltipBackdropTemplate" frameStrata="HIGH">
<Size><AbsDimension x="246" y="446"/></Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset><AbsDimension x="-5" y="29"/></Offset>
</Anchor>
<Anchor point="BOTTOMRIGHT">
<Offset><AbsDimension x="31" y="-7"/></Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="OVERLAY">
<FontString name="$parent_Header" inherits="GameFontNormal">
<Anchors>
<Anchor point="TOP">
<Offset><AbsDimension x="0" y="-8"/></Offset>
</Anchor>
</Anchors>
</FontString>
<Texture name="$parent_TopBorder">
<Size><AbsDimension x="206" y="2"/></Size>
<Color r=".4" g="0" b="0"/>
<Anchors>
<Anchor point="TOPLEFT">
<Offset><AbsDimension x="5" y="-25"/></Offset>
</Anchor>
<Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT">
<Offset><AbsDimension x="-5" y="-27"/></Offset>
</Anchor>
</Anchors>
</Texture>
<Texture name="$parent_BarLeftBorder">
<Size><AbsDimension x="2" y="200"/></Size>
<Color r=".4" g="0" b="0"/>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
<Offset><AbsDimension x="-31" y="-25"/></Offset>
</Anchor>
<Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT">
<Offset><AbsDimension x="-30" y="4"/></Offset>
</Anchor>
</Anchors>
</Texture>
<Texture name="$parent_UpBorder">
<Size><AbsDimension x="30" y="1"/></Size>
<Color r=".4" g="0" b="0"/>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
<Offset><AbsDimension x="-31" y="-45"/></Offset>
</Anchor>
<Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT">
<Offset><AbsDimension x="-5" y="-46"/></Offset>
</Anchor>
</Anchors>
</Texture>
<Texture name="$parent_DownBorder">
<Size><AbsDimension x="30" y="1"/></Size>
<Color r=".4" g="0" b="0"/>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="BOTTOMRIGHT">
<Offset><AbsDimension x="-31" y="25"/></Offset>
</Anchor>
<Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT">
<Offset><AbsDimension x="-5" y="24"/></Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>
this:SetBackdropColor(0, 0, 0, 0);
this:SetBackdropBorderColor(1, 0, 0);
</OnLoad>
</Scripts>
</Frame>
</Frames>
<Layers>
<Layer level="ARTWORK">
<Texture name="$parent_Background">
<Color r="0" g="0" b="0"/>
<Anchors>
<Anchor point="TOPLEFT">
<Offset><AbsDimension x="0" y="24"/></Offset>
</Anchor>
<Anchor point="BOTTOMRIGHT">
<Offset><AbsDimension x="26" y="-2"/></Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
</Layers>
</ScrollFrame>
<CheckButton name="DL_ScrollButtonTemplate" virtual="true">
<Size><AbsDimension x="200" y="20"/></Size>
<HighlightTexture name = "$parentHighlight" alphaMode="ADD" file="Interface\QuestFrame\UI-QuestTitleHighlight"/>
<CheckedTexture name = "$parentChecked" alphaMode="ADD" file="Interface\AddOns\DiscordLibrary\PlainBackdrop"/>
<Layers>
<Layer level="OVERLAY">
<FontString name="$parentText" font="Fonts\ARIALN.TTF" justifyH="LEFT" justifyV="CENTER">
<Color r="1" g="1" b="1"/>
<FontHeight>
<AbsValue val="12"/>
</FontHeight>
<Shadow>
<Offset>
<AbsDimension x="1" y="-1"/>
</Offset>
<Color r="0" g="0" b="0"/>
</Shadow>
<Anchors>
<Anchor point="TOPLEFT"/>
<Anchor point="BOTTOMRIGHT"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnEnter>
this:GetParent().timer = nil;
if (this.desc) then
GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
GameTooltip:SetText(this.desc, 1, 1, 1, 1, 1);
end
</OnEnter>
<OnLeave>
GameTooltip:Hide();
</OnLeave>
</Scripts>
</CheckButton>
<CheckButton name="DL_TabButtonTemplate" virtual="true">
<Size><AbsDimension x="100" y="24"/></Size>
<Layers>
<Layer level="BORDER">
<Texture name="$parent_Border">
<Color r="1" g="1" b="1"/>
<Anchors>
<Anchor point="TOPLEFT">
<Offset><AbsDimension x="-2" y="2"/></Offset>
</Anchor>
<Anchor point="BOTTOMRIGHT">
<Offset><AbsDimension x="2" y="-2"/></Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
<Layer level="ARTWORK">
<Texture name="$parent_Background">
<Color r="1" g="1" b="1"/>
<Anchors>
<Anchor point="TOPLEFT"/>
<Anchor point="BOTTOMRIGHT"/>
</Anchors>
</Texture>
</Layer>
<Layer level="OVERLAY">
<FontString name="$parent_Text" inherits="GameFontNormal">
<Color r="1" g="1" b="0"/>
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnEnter>
getglobal(this:GetName().."_Background"):SetVertexColor(1, 1, 0);
getglobal(this:GetName().."_Text"):SetTextColor(1, 0, 0);
</OnEnter>
<OnLeave>
if (not this:GetChecked()) then
getglobal(this:GetName().."_Background"):SetVertexColor(0, 0, 0);
getglobal(this:GetName().."_Text"):SetTextColor(1, 1, 0);
end
</OnLeave>
<OnClick>
DL_TabButton_OnClick();
</OnClick>
</Scripts>
</CheckButton>
<Button name="DL_ScrollMenuTemplate" inherits="DiscordLib_TooltipBackdropTemplate" hidden="true" frameStrata="DIALOG" virtual="true">
<Size><AbsDimension x="246" y="225"/></Size>
<Frames>
<ScrollFrame name="$parent_ScrollFrame" inherits="DL_ScrollFrameTemplate">
<Size><AbsDimension x="200" y="210"/></Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset><AbsDimension x="15" y="-8"/></Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
getglobal(this:GetName().."_OuterBorder"):SetBackdropBorderColor(0, 0, 0, 0);
getglobal(this:GetName().."_OuterBorder_TopBorder"):Hide();
getglobal(this:GetName().."_Background"):Hide();
</OnLoad>
<OnVerticalScroll>
FauxScrollFrame_OnVerticalScroll(20, this:GetParent().updateFunc);
</OnVerticalScroll>
</Scripts>
</ScrollFrame>
<CheckButton name="$parent_Button1" inherits="DL_ScrollButtonTemplate" id="1" frameStrata="DIALOG">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parent_ScrollFrame">
<Offset><AbsDimension x="5" y="-5"/></Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="$parent_Button2" inherits="DL_ScrollButtonTemplate" id="2" frameStrata="DIALOG"/>
<CheckButton name="$parent_Button3" inherits="DL_ScrollButtonTemplate" id="3" frameStrata="DIALOG"/>
<CheckButton name="$parent_Button4" inherits="DL_ScrollButtonTemplate" id="4" frameStrata="DIALOG"/>
<CheckButton name="$parent_Button5" inherits="DL_ScrollButtonTemplate" id="5" frameStrata="DIALOG"/>
<CheckButton name="$parent_Button6" inherits="DL_ScrollButtonTemplate" id="6" frameStrata="DIALOG"/>
<CheckButton name="$parent_Button7" inherits="DL_ScrollButtonTemplate" id="7" frameStrata="DIALOG"/>
<CheckButton name="$parent_Button8" inherits="DL_ScrollButtonTemplate" id="8" frameStrata="DIALOG"/>
<CheckButton name="$parent_Button9" inherits="DL_ScrollButtonTemplate" id="9" frameStrata="DIALOG"/>
<CheckButton name="$parent_Button10" inherits="DL_ScrollButtonTemplate" id="10" frameStrata="DIALOG"/>
</Frames>
<Scripts>
<OnLoad>
this:EnableMouseWheel(false);
</OnLoad>
<OnHide>
this.timer = nil;
if (this.addedoptions) then
for i in this.addedoptions do
getglobal(this.table)[i] = nil;
end
end
</OnHide>
<OnUpdate>
DL_Menu_Timeout(arg1);
</OnUpdate>
</Scripts>
</Button>
<Button name="DL_DropMenuTemplate" inherits="DiscordLib_TooltipBackdropTemplate" hidden="true" frameStrata="DIALOG" virtual="true">
<Size><AbsDimension x="10" y="10"/></Size>
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
<Frames>
<Button name="$parent_Option1" inherits="DiscordLib_MenuOptionTemplate">
<Anchors>
<Anchor point="TOPLEFT">
<Offset><AbsDimension x="10" y="-10"/></Offset>
</Anchor>
</Anchors>
</Button>
<Button name="$parent_Option2" inherits="DiscordLib_MenuOptionTemplate"/>
<Button name="$parent_Option3" inherits="DiscordLib_MenuOptionTemplate"/>
<Button name="$parent_Option4" inherits="DiscordLib_MenuOptionTemplate"/>
<Button name="$parent_Option5" inherits="DiscordLib_MenuOptionTemplate"/>
<Button name="$parent_Option6" inherits="DiscordLib_MenuOptionTemplate"/>
<Button name="$parent_Option7" inherits="DiscordLib_MenuOptionTemplate"/>
<Button name="$parent_Option8" inherits="DiscordLib_MenuOptionTemplate"/>
<Button name="$parent_Option9" inherits="DiscordLib_MenuOptionTemplate"/>
<Button name="$parent_Option10" inherits="DiscordLib_MenuOptionTemplate"/>
<Button name="$parent_Option11" inherits="DiscordLib_MenuOptionTemplate"/>
<Button name="$parent_Option12" inherits="DiscordLib_MenuOptionTemplate"/>
<Button name="$parent_Option13" inherits="DiscordLib_MenuOptionTemplate"/>
<Button name="$parent_Option14" inherits="DiscordLib_MenuOptionTemplate"/>
<Button name="$parent_Option15" inherits="DiscordLib_MenuOptionTemplate"/>
<Button name="$parent_Option16" inherits="DiscordLib_MenuOptionTemplate"/>
<Button name="$parent_Option17" inherits="DiscordLib_MenuOptionTemplate"/>
<Button name="$parent_Option18" inherits="DiscordLib_MenuOptionTemplate"/>
<Button name="$parent_Option19" inherits="DiscordLib_MenuOptionTemplate"/>
<Button name="$parent_Option20" inherits="DiscordLib_MenuOptionTemplate"/>
<Button name="$parent_Option21" inherits="DiscordLib_MenuOptionTemplate"/>
<Button name="$parent_Option22" inherits="DiscordLib_MenuOptionTemplate"/>
<Button name="$parent_Option23" inherits="DiscordLib_MenuOptionTemplate"/>
<Button name="$parent_Option24" inherits="DiscordLib_MenuOptionTemplate"/>
<Button name="$parent_Option25" inherits="DiscordLib_MenuOptionTemplate"/>
<Button name="$parent_Option26" inherits="DiscordLib_MenuOptionTemplate"/>
<Button name="$parent_Option27" inherits="DiscordLib_MenuOptionTemplate"/>
<Button name="$parent_Option28" inherits="DiscordLib_MenuOptionTemplate"/>
<Button name="$parent_Option29" inherits="DiscordLib_MenuOptionTemplate"/>
<Button name="$parent_Option30" inherits="DiscordLib_MenuOptionTemplate"/>
<Button name="$parent_Option31" inherits="DiscordLib_MenuOptionTemplate"/>
<Button name="$parent_Option32" inherits="DiscordLib_MenuOptionTemplate"/>
<Button name="$parent_Option33" inherits="DiscordLib_MenuOptionTemplate"/>
<Button name="$parent_Option34" inherits="DiscordLib_MenuOptionTemplate"/>
<Button name="$parent_Option35" inherits="DiscordLib_MenuOptionTemplate"/>
<Button name="$parent_Option36" inherits="DiscordLib_MenuOptionTemplate"/>
<Button name="$parent_Option37" inherits="DiscordLib_MenuOptionTemplate"/>
<Button name="$parent_Option38" inherits="DiscordLib_MenuOptionTemplate"/>
<Button name="$parent_Option39" inherits="DiscordLib_MenuOptionTemplate"/>
<Button name="$parent_Option40" inherits="DiscordLib_MenuOptionTemplate"/>
<Button name="$parent_Option41" inherits="DiscordLib_MenuOptionTemplate"/>
<Button name="$parent_Option42" inherits="DiscordLib_MenuOptionTemplate"/>
<Button name="$parent_Option43" inherits="DiscordLib_MenuOptionTemplate"/>
<Button name="$parent_Option44" inherits="DiscordLib_MenuOptionTemplate"/>
<Button name="$parent_Option45" inherits="DiscordLib_MenuOptionTemplate"/>
<Button name="$parent_Option46" inherits="DiscordLib_MenuOptionTemplate"/>
<Button name="$parent_Option47" inherits="DiscordLib_MenuOptionTemplate"/>
<Button name="$parent_Option48" inherits="DiscordLib_MenuOptionTemplate"/>
<Button name="$parent_Option49" inherits="DiscordLib_MenuOptionTemplate"/>
<Button name="$parent_Option50" inherits="DiscordLib_MenuOptionTemplate"/>
</Frames>
<Scripts>
<OnLoad>
this:SetBackdropColor(.2,.2,.2);
this.count = 50;
</OnLoad>
<OnEnter>
this.timer = nil;
</OnEnter>
<OnLeave>
this.timer = .5;
</OnLeave>
<OnHide>
this.timer = nil;
if (this.addedoptions) then
for i in this.addedoptions do
getglobal(this.table)[i] = nil;
end
end
</OnHide>
<OnUpdate>
DL_Menu_Timeout(arg1);
</OnUpdate>
</Scripts>
</Button>
<ScrollFrame name="DL_MultiLineEditboxTemplate" inherits="UIPanelScrollFrameTemplate" frameStrata="HIGH" virtual="true">
<Size><AbsDimension x="337" y="510"/></Size>
<Frames>
<Frame name="$parent_Background" inherits="DiscordLib_TooltipBackdropTemplate" frameStrata="MEDIUM">
<Size><AbsDimension x="10" y="10"/></Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset><AbsDimension x="-7" y="7"/></Offset>
</Anchor>
<Anchor point="BOTTOMRIGHT">
<Offset><AbsDimension x="28" y="-6"/></Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="OVERLAY">
<Texture>
<Size><AbsDimension x="2" y="200"/></Size>
<Color r=".4" g="0" b="0"/>
<Anchors>
<Anchor point="TOPRIGHT">
<Offset><AbsDimension x="-24" y="-4"/></Offset>
</Anchor>
<Anchor point="BOTTOMRIGHT">
<Offset><AbsDimension x="-22" y="4"/></Offset>
</Anchor>
</Anchors>
</Texture>
<Texture>
<Size><AbsDimension x="20" y="2"/></Size>
<Color r=".4" g="0" b="0"/>
<Anchors>
<Anchor point="TOPRIGHT">
<Offset><AbsDimension x="-4" y="-23"/></Offset>
</Anchor>
</Anchors>
</Texture>
<Texture>
<Size><AbsDimension x="20" y="2"/></Size>
<Color r=".4" g="0" b="0"/>
<Anchors>
<Anchor point="BOTTOMRIGHT">
<Offset><AbsDimension x="-4" y="23"/></Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>
this:SetBackdropColor(0, 0, 0);
this:SetBackdropBorderColor(1, 0, 0);
</OnLoad>
</Scripts>
</Frame>
<Button name="$parent_FocusButton" frameStrata="HIGH">
<Size><AbsDimension x="337" y="510"/></Size>
<Anchors>
<Anchor point="TOPLEFT"/>
<Anchor point="BOTTOMRIGHT"/>
</Anchors>
<Scripts>
<OnLoad>
this:SetFrameLevel(this:GetParent():GetFrameLevel() + 1);
</OnLoad>
<OnClick>
getglobal(this:GetParent():GetName().."_Text"):SetFocus();
this:Hide();
</OnClick>
</Scripts>
</Button>
</Frames>
<ScrollChild>
<EditBox name="$parent_Text" multiLine="true" letters="50000" autoFocus="false" enableMouse="true" frameStrata="HIGH">
<Size><AbsDimension x="337" y="510"/></Size>
<Scripts>
<OnLoad>
this:SetHeight(this:GetParent():GetHeight());
this:SetWidth(this:GetParent():GetWidth());
</OnLoad>
<OnTextChanged>
local scrollBar = getglobal(this:GetParent():GetName().."ScrollBar")
this:GetParent():UpdateScrollChildRect();
local min, max = scrollBar:GetMinMaxValues();
if ( max > 0 and (this.max ~= max) ) then
this.max = max;
scrollBar:SetValue(max);
end
if (this:GetParent().textChanged) then
this:GetParent().textChanged();
end
</OnTextChanged>
<OnEscapePressed>
this:ClearFocus();
getglobal(this:GetParent():GetName().."_FocusButton"):Show();
</OnEscapePressed>
<OnHide>
getglobal(this:GetParent():GetName().."_FocusButton"):Show();
</OnHide>
</Scripts>
<FontString font="Fonts\ARIALN.TTF">
<Color r="1" g="1" b="1"/>
<FontHeight>
<AbsValue val="12"/>
</FontHeight>
</FontString>
</EditBox>
</ScrollChild>
</ScrollFrame>
</Ui>
Generated by GNU Enscript 1.6.5.90.