vanilla-wow-addons – Rev 1
?pathlinks?
<Ui>
<EditBox name="tradeDispenserWhisperBoxTemplate" inherits="UIEditBoxTemplate" letters="256" historyLines="0" autoFocus="false" virtual="true">
<Size> <AbsDimension x="526" y="16"/> </Size>
<Layers>
<Layer level="BACKGROUND">
<Texture name="$parentLeft" file="Interface\ClassTrainerFrame\UI-ClassTrainer-FilterBorder">
<Size><AbsDimension x="12" y="29"/> </Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset><AbsDimension x="-11" y="2"/></Offset>
</Anchor>
</Anchors>
<TexCoords left="0" right="0.09375" top="0" bottom="1.0"/>
</Texture>
<Texture name="$parentMiddle" file="Interface\ClassTrainerFrame\UI-ClassTrainer-FilterBorder">
<Size><AbsDimension x="526" y="29"/></Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"/>
</Anchors>
<TexCoords left="0.09375" right="0.90625" top="0" bottom="1.0"/>
</Texture>
<Texture name="$parentRight" file="Interface\ClassTrainerFrame\UI-ClassTrainer-FilterBorder">
<Size><AbsDimension x="12" y="29"/> </Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentMiddle" relativePoint="RIGHT"/>
</Anchors>
<TexCoords left="0.90625" right="1.0" top="0" bottom="1.0"/>
</Texture>
</Layer>
<Layer level="ARTWORK">
<FontString name="$parentLbL" inherits="GameFontNormalSmall" text="Message-Type:">
<Anchors>
<Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="LEFT">
<Offset><AbsDimension x="-130" y="4"/></Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<FontString inherits="GameFontHighlight"/>
<Scripts>
<OnShow>
this:ClearFocus();
getglobal(this:GetName().."LbL"):SetText(tD_Loc.whisper[this:GetID()].short..":");
if (tD_GlobalDatas.whisper) then
this:SetText(tD_GlobalDatas.whisper[this:GetID()]);
else
this:SetText("Config-Datas not loaded - please refresh this Frame");
end
this:SetMaxLetters(256);
this:SetTextColor(1,1,1);
</OnShow>
<OnEscapePressed>
this:ClearFocus()
</OnEscapePressed>
<OnEnterPressed>
this:ClearFocus();
</OnEnterPressed>
<OnTextChanged>
tD_GlobalDatas.whisper[this:GetID()]=this:GetText();
</OnTextChanged>
</Scripts>
</EditBox>
<Frame name="tradeDispenserMessages" parent="UIParent" hidden="true" enableMouse="true" movable="true"> <!-- SHOWs some BUTTONS on the screen -->
<Size> <AbsDimension x="720" y="350"/> </Size>
<Anchors>
<Anchor point="CENTER">
<Offset><AbsDimension x="0" y="0"/></Offset>
</Anchor>
</Anchors>
<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
<BackgroundInsets>
<AbsInset left="11" right="12" top="12" bottom="11"/>
</BackgroundInsets>
<TileSize> <AbsValue val="32"/> </TileSize>
<EdgeSize> <AbsValue val="32"/> </EdgeSize>
</Backdrop>
<Frames>
<EditBox name="$parentWhisperText1" id="1" inherits="tradeDispenserWhisperBoxTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
<Offset><AbsDimension x="160" y="-15"/></Offset>
</Anchor>
</Anchors>
</EditBox>
<EditBox name="$parentWhisperText2" id="2" inherits="tradeDispenserWhisperBoxTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentWhisperText1" relativePoint="BOTTOMLEFT">
<Offset><AbsDimension x="0" y="-10"/></Offset>
</Anchor>
</Anchors>
</EditBox>
<EditBox name="$parentWhisperText3" id="3" inherits="tradeDispenserWhisperBoxTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentWhisperText2" relativePoint="BOTTOMLEFT">
<Offset><AbsDimension x="0" y="-10"/></Offset>
</Anchor>
</Anchors>
</EditBox>
<EditBox name="$parentWhisperText4" id="4" inherits="tradeDispenserWhisperBoxTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentWhisperText3" relativePoint="BOTTOMLEFT">
<Offset><AbsDimension x="0" y="-10"/></Offset>
</Anchor>
</Anchors>
</EditBox>
<EditBox name="$parentWhisperText5" id="5" inherits="tradeDispenserWhisperBoxTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentWhisperText4" relativePoint="BOTTOMLEFT">
<Offset><AbsDimension x="0" y="-10"/></Offset>
</Anchor>
</Anchors>
</EditBox>
<EditBox name="$parentWhisperText6" id="6" inherits="tradeDispenserWhisperBoxTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentWhisperText5" relativePoint="BOTTOMLEFT">
<Offset><AbsDimension x="0" y="-10"/></Offset>
</Anchor>
</Anchors>
</EditBox>
<EditBox name="$parentWhisperText7" id="7" inherits="tradeDispenserWhisperBoxTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentWhisperText6" relativePoint="BOTTOMLEFT">
<Offset><AbsDimension x="0" y="-10"/></Offset>
</Anchor>
</Anchors>
</EditBox>
<EditBox name="$parentWhisperText8" id="8" inherits="tradeDispenserWhisperBoxTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentWhisperText7" relativePoint="BOTTOMLEFT">
<Offset><AbsDimension x="0" y="-10"/></Offset>
</Anchor>
</Anchors>
</EditBox>
<EditBox name="$parentWhisperText9" id="9" inherits="tradeDispenserWhisperBoxTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentWhisperText8" relativePoint="BOTTOMLEFT">
<Offset><AbsDimension x="0" y="-10"/></Offset>
</Anchor>
</Anchors>
</EditBox>
<EditBox name="$parentWhisperText10" id="10" inherits="tradeDispenserWhisperBoxTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentWhisperText9" relativePoint="BOTTOMLEFT">
<Offset><AbsDimension x="0" y="-10"/></Offset>
</Anchor>
</Anchors>
</EditBox>
<EditBox name="$parentWhisperText11" id="11" inherits="tradeDispenserWhisperBoxTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentWhisperText10" relativePoint="BOTTOMLEFT">
<Offset><AbsDimension x="0" y="-10"/></Offset>
</Anchor>
</Anchors>
</EditBox>
<Button name="$parentCloseBtn" inherits="UIPanelButtonTemplate" hidden="false" text="Close">
<Size>
<AbsDimension x="97" y="26"/>
</Size>
<Anchors>
<Anchor point="BOTTOM" relativePoint="BOTTOM" relativeTo="$parent">
<Offset>
<AbsDimension x="-60" y="15"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this:SetText(tD_Loc.buttons.hide);
</OnLoad>
<OnClick>
tradeDispenserPlaySound(this)
tradeDispenserMessages:Hide();
tD_Temp.isVisible = true;
tradeDispenserUpdate();
</OnClick>
</Scripts>
</Button>
<Button name="$parentResetBtn" inherits="UIPanelButtonTemplate" hidden="false" text="reset">
<Size>
<AbsDimension x="97" y="26"/>
</Size>
<Anchors>
<Anchor point="BOTTOM" relativePoint="BOTTOM" relativeTo="$parent">
<Offset>
<AbsDimension x="60" y="15"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this:SetText(tD_Loc.buttons.reset);
</OnLoad>
<OnClick>
tradeDispenserPlaySound(this)
local i;
for i=1,11 do
getglobal("tradeDispenserMessagesWhisperText"..i):SetText(tD_Loc.whisper[i].default);
end
</OnClick>
</Scripts>
</Button>
</Frames>
<Scripts>
<OnLoad> this:Raise(); </OnLoad>
<OnMouseDown> this:StartMoving(); </OnMouseDown>
<OnMouseUp> this:StopMovingOrSizing();</OnMouseUp>
<OnDragStop> this:StopMovingOrSizing();</OnDragStop>
</Scripts>
</Frame>
</Ui>
Generated by GNU Enscript 1.6.5.90.