📄 teamnotice.xml
字号:
<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="TeamNotice.lua"/>
<Frame name="TeamNotice" movable="true" enableMouse="true" hidden="true">
<Scripts>
<OnLoad>
TeamNotice_OnLoad();
</OnLoad>
<OnEvent>
TeamNotice_OnEvent(event);
</OnEvent>
<OnMouseDown>
if ( arg1 == "LeftButton" ) then
this:StartMoving();
end
</OnMouseDown>
<OnMouseUp>
this:StopMovingOrSizing();
</OnMouseUp>
</Scripts>
<Size>
<AbsDimension x="195" y="275"/>
</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>
<Layers>
<Layer level="ARTWORK">
<Texture name="AppleMenuFrameHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
<Size>
<AbsDimension x="270" y="64"/>
</Size>
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="0" y="12"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
<FontString inherits="GameFontNormal" text="月光宝盒小队公告">
<Anchors>
<Anchor point="TOP" relativeTo="AppleMenuFrameHeader">
<Offset>
<AbsDimension x="0" y="-13"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<EditBox name="TeamNoticeEB" multiLine="true" letters="100">
<Size>
<AbsDimension x="125" y="32"/>
</Size>
<Anchors>
<Anchor point="CENTER" relativeTo="TeamNotice">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<FontString inherits="ChatFontNormal"/>
<Scripts>
<OnEscapePressed>
TeamNoticeEB:Hide();
TeamNotice:Hide();
gLim_TN = TeamNoticeEB:GetText();
</OnEscapePressed>
<OnTextChanged>
if ( strsub(this:GetText(), strlen(this:GetText())) == " " ) then
this:SetText(strsub(this:GetText(), 1, strlen(this:GetText())-1));
end
</OnTextChanged>
</Scripts>
</EditBox>
<Button name="TNReturnMenuButton" inherits="GameMenuButtonTemplate" text="确定">
<Anchors>
<Anchor point="BOTTOM">
<Offset>
<AbsDimension x="0" y="15"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
TeamNotice:Hide();
TeamNoticeEB:Hide();
gLim_TN = TeamNoticeEB:GetText();
</OnClick>
</Scripts>
</Button>
</Frames>
</Frame>
</Ui>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -