📄 sheepwatchconfig.xml
字号:
<Layers>
<Layer>
<FontString name="$parentLabel" inherits="GameFontNormal" text="SHEEPWATCH_LABEL_DIRECTION_LABEL" justifyH="LEFT">
<Anchors>
<Anchor point="TOPLEFT" />
<Anchor point="BOTTOMRIGHT" />
</Anchors>
<FontHeight>
<AbsValue val="10" />
</FontHeight>
<Color r="1" g="0.8196079" b="0" />
<Shadow>
<Color r="0" g="0" b="0" />
<Offset>
<AbsDimension x="1" y="-1" />
</Offset>
</Shadow>
</FontString>
</Layer>
</Layers>
</Frame>
<Button name="SheepWatchConfigDropdownDirection" inherits="UIDropDownMenuTemplate" id="1">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="180" y="-136" />
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
SheepWatchConfigDropdownDirection_OnLoad();
</OnLoad>
<OnShow>
SheepWatchConfigDropdownDirection_OnShow();
</OnShow>
<OnClick>
SheepWatchConfigDropdownDirection_OnClick();
</OnClick>
</Scripts>
</Button>
<Frame name="SheepWatchConfigColorLabel">
<!--<FrameSkin skinid="dcb143e1-a4ab-4e7c-b934-1efa40101d21" frameid="2d508885-59c2-4f83-ae10-27aaad48391b" />-->
<Size>
<AbsDimension x="146" y="29" />
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="23" y="-171" />
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer>
<FontString name="$parentLabel" inherits="GameFontNormal" text="SHEEPWATCH_LABEL_COLOR_LABEL" justifyH="LEFT">
<Anchors>
<Anchor point="TOPLEFT" />
<Anchor point="BOTTOMRIGHT" />
</Anchors>
<FontHeight>
<AbsValue val="10" />
</FontHeight>
<Color r="1" g="0.8196079" b="0" />
<Shadow>
<Color r="0" g="0" b="0" />
<Offset>
<AbsDimension x="1" y="-1" />
</Offset>
</Shadow>
</FontString>
</Layer>
</Layers>
</Frame>
<Button name="SheepWatchConfigBarColorSwatch" hidden="false">
<Size>
<AbsDimension x="16" y="16"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="110" y="-177"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="$parentBG">
<Size>
<AbsDimension x="14" y="14"/>
</Size>
<Color r="1.0" g="1.0" b="1.0"/>
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnClick>
SheepWatchConfigBarColorSwatch_ShowColorPicker(this);
</OnClick>
<OnEnter>
getglobal(this:GetName().."BG"):SetVertexColor(NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b);
</OnEnter>
<OnLeave>
getglobal(this:GetName().."BG"):SetVertexColor(HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b);
</OnLeave>
</Scripts>
<NormalTexture name="$parentNormalTexture" file="Interface\ChatFrame\ChatFrameColorSwatch"/>
</Button>
<Slider name="SheepWatchConfigScaleSlider" inherits="OptionsSliderTemplate">
<Size>
<AbsDimension x="171" y="16"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="152" y="-180" />
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
SheepWatchConfigScaleSlider_Onload();
</OnLoad>
<OnShow>
SheepWatchConfigScaleSlider_OnShow();
</OnShow>
<OnValueChanged>
SheepWatchConfigScaleSlider_OnValueChanged();
</OnValueChanged>
</Scripts>
</Slider>
<Slider name="SheepWatchConfigAlphaSlider" inherits="OptionsSliderTemplate">
<Size>
<AbsDimension x="171" y="16"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="152" y="-206" />
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
SheepWatchConfigAlphaSlider_Onload();
</OnLoad>
<OnShow>
SheepWatchConfigAlphaSlider_OnShow();
</OnShow>
<OnValueChanged>
SheepWatchConfigAlphaSlider_OnValueChanged();
</OnValueChanged>
</Scripts>
</Slider>
<CheckButton name="SheepWatchConfigButtonAnnounce">
<!--<FrameSkin skinid="dcb143e1-a4ab-4e7c-b934-1efa40101d21" frameid="2d508886-59c2-4f83-ae10-27aaad48391b"><Property name="Size" value="305, 29" /></FrameSkin>-->
<Size>
<AbsDimension x="32" y="32" />
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="23" y="-241" />
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer>
<FontString name="$parentText" inherits="GameFontNormal" text="SHEEPWATCH_LABEL_ANNOUNCE">
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT">
<Offset>
<AbsDimension x="-2" y="0" />
</Offset>
</Anchor>
</Anchors>
<FontHeight>
<AbsValue val="10" />
</FontHeight>
<Color r="1" g="0.8196079" b="0" />
<Shadow>
<Color r="0" g="0" b="0" />
<Offset>
<AbsDimension x="1" y="-1" />
</Offset>
</Shadow>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnShow>
SheepWatchConfigButtonAnnounce_OnShow();
</OnShow>
<OnClick>
SheepWatchConfigButtonAnnounce_OnClick();
</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>
<Frame name="SheepWatchConfigAnnounceTargetLabel">
<!--<FrameSkin skinid="dcb143e1-a4ab-4e7c-b934-1efa40101d21" frameid="2d508885-59c2-4f83-ae10-27aaad48391b" />-->
<Size>
<AbsDimension x="146" y="29" />
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="23" y="-276" />
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer>
<FontString name="$parentLabel" inherits="GameFontNormal" text="SHEEPWATCH_LABEL_ANNOUNCE_TARGET_LABEL" justifyH="LEFT">
<Anchors>
<Anchor point="TOPLEFT" />
<Anchor point="BOTTOMRIGHT" />
</Anchors>
<FontHeight>
<AbsValue val="10" />
</FontHeight>
<Color r="1" g="0.8196079" b="0" />
<Shadow>
<Color r="0" g="0" b="0" />
<Offset>
<AbsDimension x="1" y="-1" />
</Offset>
</Shadow>
</FontString>
</Layer>
</Layers>
</Frame>
<Button name="SheepWatchConfigDropdownAnnounceTarget" inherits="UIDropDownMenuTemplate" id="1">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="180" y="-276" />
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
SheepWatchConfigDropdownAnnounceTarget_OnLoad();
</OnLoad>
<OnShow>
SheepWatchConfigDropdownAnnounceTarget_OnShow();
</OnShow>
<OnClick>
SheepWatchConfigDropdownAnnounceTarget_OnClick();
</OnClick>
</Scripts>
</Button>
<Frame name="SheepWatchConfigAnnounceTimeLabel">
<!--<FrameSkin skinid="dcb143e1-a4ab-4e7c-b934-1efa40101d21" frameid="2d508885-59c2-4f83-ae10-27aaad48391b" />-->
<Size>
<AbsDimension x="146" y="29" />
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="23" y="-311" />
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer>
<FontString name="$parentLabel" inherits="GameFontNormal" text="SHEEPWATCH_LABEL_ANNOUNCE_TIME_LABEL" justifyH="LEFT">
<Anchors>
<Anchor point="TOPLEFT" />
<Anchor point="BOTTOMRIGHT" />
</Anchors>
<FontHeight>
<AbsValue val="10" />
</FontHeight>
<Color r="1" g="0.8196079" b="0" />
<Shadow>
<Color r="0" g="0" b="0" />
<Offset>
<AbsDimension x="1" y="-1" />
</Offset>
</Shadow>
</FontString>
</Layer>
</Layers>
</Frame>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -