📄 secbook.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">
<!-- 黑眼圈 Create by 05.03.20 Cube -->
<Script file="secBook.lua"/>
<Script file="localization.lua"/>
<Frame name="secBookTextSubFrameTemplate" movable="false" virtual="true">
<Anchors>
<Anchor point="CENTER" relativePoint="CENTER">
<Offset>
<AbsDimension x="-60" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Size>
<AbsDimension x="215" y="32"/>
</Size>
<Layers>
<Layer level="BACKGROUND">
<Texture name="$parentBackground" setAllPoints="true">
<Color r="0" g="1" b="0" a="0.0"/>
</Texture>
</Layer>
<Layer level="ARTWORK">
<FontString name="$parentText" inherits="gLimNormalFont" text="">
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="4" y="0"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
</Frame>
<CheckButton name="secBookCheckButtonTemplate" hidden="false" virtual="true">
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Size>
<AbsDimension x="32" y="32"/>
</Size>
<Layers>
<Layer level="ARTWORK">
<Texture name="$parentCheckbuttonBackground" setAllPoints="true">
<Color r="0" g="0" b="1" a="0.0"/>
</Texture>
</Layer>
</Layers>
<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>
<Button name="secBookButtonTemplate" inherits="GameMenuButtonTemplate" virtual="true">
<Size>
<AbsDimension x="128" y="20" />
</Size>
<Anchors>
<Anchor point="BOTTOMLEFT" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="13" y="7" />
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this:SetText("EMPTY");
</OnLoad>
<OnClick>
secBook_Button(this:GetParent():GetID());
</OnClick>
</Scripts>
</Button>
<Slider name="secBookSliderTemplate" orientation="HORIZONTAL" virtual="true">
<Size>
<AbsDimension x="128" y="17"/>
</Size>
<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="BACKGROUND">
<Texture name="$parentSliderBackground" setAllPoints="true">
<Color r="0" g="1" b="1" a="0.0"/>
</Texture>
</Layer>
<Layer level="ARTWORK">
<FontString name="$parentText" inherits="gLimSmallFont">
<Anchors>
<Anchor point="BOTTOM" relativePoint="TOP"/>
</Anchors>
</FontString>
<FontString name="$parentValueText" inherits="gLimSmallFont">
<Color r=".4" g=".6" b="1" a="1"/>
<Anchors>
<Anchor point="BOTTOM" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="2" y="-6"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString inherits="gLimHighlightSmallFont" text="LOW">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="2" y="3"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString inherits="gLimHighlightSmallFont" text="HIGH">
<Anchors>
<Anchor point="TOPRIGHT" relativePoint="BOTTOMRIGHT">
<Offset>
<AbsDimension x="-2" y="3"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<ThumbTexture file="Interface\Buttons\UI-SliderBar-Button-Horizontal">
<Size>
<AbsDimension x="32" y="32"/>
</Size>
</ThumbTexture>
</Slider>
<Frame name="secBookSeparatorTemplate" hidden="false" virtual="true">
<Size>
<AbsDimension x="240" y="32"/>
</Size>
<Layers>
<Layer level="ARTWORK">
<FontString name="$parentText" inherits="gLimNormalFont" text="">
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="0" y="2"/>
</Offset>
</Anchor>
</Anchors>
<Color r="1.0" g="0.5" b="0.2" a="1.0"/>
</FontString>
</Layer>
<Layer level="BACKGROUND">
<Texture name="$parentSeparatorBackground" file="Interface\Tooltips\UI-StatusBar-Border"/>
</Layer>
</Layers>
</Frame>
<Frame name="secBookDividerTemplate" hidden="false" virtual="true">
<Size>
<AbsDimension x="432" y="19"/>
</Size>
<Layers>
<Layer level="BACKGROUND">
<Texture name="$parentLeft" file="Interface\HelpFrame\HelpFrameDivider">
<Size>
<AbsDimension x="134" y="20"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
<TexCoords left="0" right="1.0" top="0" bottom="0.3125"/>
</Texture>
<Texture name="$parentMiddle" file="Interface\HelpFrame\HelpFrameDivider">
<Size>
<AbsDimension x="186" y="20"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT">
<Offset>
<AbsDimension x="0" y="1"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0" right="1.0" top="0.3125" bottom="0.625"/>
</Texture>
<Texture name="$parentRight" file="Interface\HelpFrame\HelpFrameDivider">
<Size>
<AbsDimension x="101" y="20"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentMiddle" relativePoint="RIGHT"/>
</Anchors>
<TexCoords left="0" right="0.25390625" top="0.625" bottom="0.9375"/>
</Texture>
</Layer>
</Layers>
</Frame>
<Frame name="secBookConfigurationTemplate" hidden="false" virtual="true">
<Size>
<AbsDimension x="200" y="32"/>
</Size>
<Frames>
<Frame name="$parentFrame" inherits="secBookTextSubFrameTemplate"/>
<Frame name="$parentSection" movable="false" inherits="secBookSeparatorTemplate">
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="-12" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnEnter>
ll1l1l1ll1l111l1lll1l(this:GetParent():GetID());
</OnEnter>
</Scripts>
</Frame>
<CheckButton name="$parentCheckbox" inherits="secBookCheckButtonTemplate">
<Anchors>
<Anchor point="LEFT" relativePoint="LEFT">
<Offset>
<AbsDimension x="-100" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
if ( this:GetChecked() ) then
ll1l1l111l1lll1llll1l(this:GetParent():GetID(), 1.0);
else
ll1l1l111l1lll1llll1l(this:GetParent():GetID(), 0.0);
end
</OnClick>
<OnEnter>
ll1l1l1ll1l111l1lll1l(this:GetParent():GetID());
</OnEnter>
<OnLeave>
O0OOOOO000O0O0O0OOO00();
</OnLeave>
</Scripts>
</CheckButton>
<Button name="$parentButton" inherits="GameMenuButtonTemplate">
<Anchors>
<Anchor point="TOPRIGHT">
<Offset>
<AbsDimension x="40" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
PlaySound("igMainMenuOption");
llll1l1111ll1lll11ll1(this:GetParent():GetID());
</OnClick>
<OnEnter>
ll1l1l1ll1l111l1lll1l(this:GetParent():GetID());
</OnEnter>
<OnLeave>
O0OOOOO000O0O0O0OOO00();
</OnLeave>
</Scripts>
</Button>
<Slider name="$parentSlider" inherits="secBookSliderTemplate">
<Anchors>
<Anchor point="TOPRIGHT">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -