режим предателя + UI референсы и DragonUI
This commit is contained in:
@@ -0,0 +1,174 @@
|
||||
<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="ChatFrame.lua"/>
|
||||
<ScrollingMessageFrame name="ChatFrameTemplate" frameStrata="BACKGROUND" toplevel="true" displayDuration="120.0" maxLines="128" hidden="true" virtual="true">
|
||||
<Scripts>
|
||||
<OnLoad>
|
||||
ChatFrame_OnLoad(self);
|
||||
</OnLoad>
|
||||
<OnEvent>
|
||||
ChatFrame_OnEvent(self, event, ...);
|
||||
</OnEvent>
|
||||
<OnUpdate>
|
||||
ChatFrame_OnUpdate(self, elapsed);
|
||||
</OnUpdate>
|
||||
<OnHyperlinkClick>
|
||||
ChatFrame_OnHyperlinkShow(self, link, text, button);
|
||||
</OnHyperlinkClick>
|
||||
</Scripts>
|
||||
<FontString inherits="ChatFontNormal" justifyH="LEFT" indented="true" nonspacewrap="true"/>
|
||||
</ScrollingMessageFrame>
|
||||
<EditBox name="ChatFrameEditBoxTemplate" autoFocus="false" ignoreArrows="true" frameStrata="DIALOG" toplevel="true" historyLines="32" letters="255" hidden="true" virtual="true">
|
||||
<Layers>
|
||||
<Layer level="BACKGROUND">
|
||||
<Texture name="$parentLeft" file="Interface\ChatFrame\UI-ChatInputBorder-Left2">
|
||||
<Size>
|
||||
<AbsDimension x="32" y="32"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="LEFT"/>
|
||||
</Anchors>
|
||||
</Texture>
|
||||
<Texture name="$parentRight" file="Interface\ChatFrame\UI-ChatInputBorder-Right2">
|
||||
<Size>
|
||||
<AbsDimension x="32" y="32"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="RIGHT"/>
|
||||
</Anchors>
|
||||
</Texture>
|
||||
<Texture name="$parentMid" file="Interface\ChatFrame\UI-ChatInputBorder-Mid2" horizTile="true">
|
||||
<Size>
|
||||
<AbsDimension x="0" y="32"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativeTo="$parentLeft" relativePoint="TOPRIGHT">
|
||||
<Offset>
|
||||
<AbsDimension x="0" y="0"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
<Anchor point="TOPRIGHT" relativeTo="$parentRight" relativePoint="TOPLEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="0" y="0"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</Texture>
|
||||
</Layer>
|
||||
<Layer level="BORDER">
|
||||
<Texture name="$parentFocusLeft" file="Interface\ChatFrame\UI-ChatInputBorderFocus-Left" hidden="true" parentKey="focusLeft">
|
||||
<Size>
|
||||
<AbsDimension x="32" y="32"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="LEFT"/>
|
||||
</Anchors>
|
||||
</Texture>
|
||||
<Texture name="$parentFocusRight" file="Interface\ChatFrame\UI-ChatInputBorderFocus-Right" hidden="true" parentKey="focusRight">
|
||||
<Size>
|
||||
<AbsDimension x="32" y="32"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="RIGHT"/>
|
||||
</Anchors>
|
||||
</Texture>
|
||||
<Texture name="$parentFocusMid" file="Interface\ChatFrame\UI-ChatInputBorderFocus-Mid" horizTile="true" hidden="true" parentKey="focusMid">
|
||||
<Size>
|
||||
<AbsDimension x="0" y="32"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativeTo="$parentFocusLeft" relativePoint="TOPRIGHT">
|
||||
<Offset>
|
||||
<AbsDimension x="0" y="0"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
<Anchor point="TOPRIGHT" relativeTo="$parentFocusRight" relativePoint="TOPLEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="0" y="0"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</Texture>
|
||||
</Layer>
|
||||
<Layer level="ARTWORK">
|
||||
<FontString name="$parentHeader" inherits="ChatFontNormal" parentKey="header">
|
||||
<Anchors>
|
||||
<Anchor point="LEFT">
|
||||
<Offset>
|
||||
<AbsDimension x="15" y="0"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
</FontString>
|
||||
</Layer>
|
||||
</Layers>
|
||||
<Frames>
|
||||
<Button name="$parentLanguage" hidden="true">
|
||||
<Size>
|
||||
<AbsDimension x="32" y="32"/>
|
||||
</Size>
|
||||
<Anchors>
|
||||
<Anchor point="LEFT" relativePoint="RIGHT">
|
||||
<Offset>
|
||||
<AbsDimension x="-8" y="0"/>
|
||||
</Offset>
|
||||
</Anchor>
|
||||
</Anchors>
|
||||
<Scripts>
|
||||
<OnClick>
|
||||
self:GetParent():ToggleInputLanguage();
|
||||
</OnClick>
|
||||
</Scripts>
|
||||
<NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
|
||||
<NormalFont style="DialogButtonNormalText"/>
|
||||
</Button>
|
||||
</Frames>
|
||||
<Scripts>
|
||||
<OnLoad>
|
||||
ChatEdit_OnLoad(self);
|
||||
</OnLoad>
|
||||
<OnEvent>
|
||||
ChatEdit_OnEvent(self, event, ...);
|
||||
</OnEvent>
|
||||
<OnShow>
|
||||
ChatEdit_OnShow(self);
|
||||
</OnShow>
|
||||
<OnHide>
|
||||
ChatEdit_OnHide(self);
|
||||
</OnHide>
|
||||
<OnEditFocusGained>
|
||||
ChatEdit_OnEditFocusGained(self);
|
||||
</OnEditFocusGained>
|
||||
<OnEditFocusLost>
|
||||
ChatEdit_OnEditFocusLost(self);
|
||||
</OnEditFocusLost>
|
||||
<OnUpdate>
|
||||
ChatEdit_OnUpdate(self, elapsed);
|
||||
</OnUpdate>
|
||||
<OnEnterPressed>
|
||||
ChatEdit_OnEnterPressed(self);
|
||||
</OnEnterPressed>
|
||||
<OnEscapePressed>
|
||||
ChatEdit_OnEscapePressed(self);
|
||||
</OnEscapePressed>
|
||||
<OnSpacePressed>
|
||||
ChatEdit_OnSpacePressed(self);
|
||||
</OnSpacePressed>
|
||||
<OnTabPressed>
|
||||
ChatEdit_OnTabPressed(self);
|
||||
</OnTabPressed>
|
||||
<OnTextChanged>
|
||||
ChatEdit_OnTextChanged(self, userInput);
|
||||
</OnTextChanged>
|
||||
<OnTextSet>
|
||||
ChatEdit_OnTextSet(self);
|
||||
</OnTextSet>
|
||||
<OnInputLanguageChanged>
|
||||
ChatEdit_OnInputLanguageChanged(self, language);
|
||||
</OnInputLanguageChanged>
|
||||
</Scripts>
|
||||
<FontString inherits="ChatFontNormal" bytes="256"/>
|
||||
</EditBox>
|
||||
<Frame name="ChatChannelDropDown" inherits="UIDropDownMenuTemplate"/>
|
||||
<Frame name="ChatBNPlayerDropDown" inherits="UIDropDownMenuTemplate"/>
|
||||
</Ui>
|
||||
Reference in New Issue
Block a user