📄 jotter-k.xml
字号:
<!--
Jotter-K v1.1c
Author: jason.slaughter@gmail.com
In-game notepad concept by Olios (original Jotter 0.4)
-->
<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="Jotter-K.lua"/>
..\FrameXML\UI.xsd">
<Script file="Jotter-K.lua"/>
-- <FontString name="JotterFont" font="interface\Fonts\FZSZJW.TTF" justifyH="LEFT" virtual="true">
-- <FontHeight>
-- <AbsValue val="14"/>
-- </FontHeight>
-- <Color r="0.18" g="0.12" b="0.06"/>
-- </FontString>
<Button name="JotterTabTemplate" virtual="true" hidden="false">
<Size>
<AbsDimension x="32" y="32"/>
</Size>
<Layers>
<Layer level="BACKGROUND">
<Texture file="Interface\SpellBook\SpellBook-SkillLineTab">
<Size>
<AbsDimension x="64" y="64"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="-3" y="11"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>
Jotter.tab.onLoad();
</OnLoad>
<OnClick>
Jotter.tab.onClick(arg1,this:GetID());
</OnClick>
<OnEnter>
GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
GameTooltip:SetText(this.tooltip);
</OnEnter>
<OnLeave>
GameTooltip:Hide();
</OnLeave>
</Scripts>
<NormalTexture/>
<HighlightTexture file="Interface\Buttons\ButtonHilight-Square" alphaMode="ADD"/>
</Button>
<Frame name="JotterFrame" toplevel="true" enableMouse="true" movable="true" parent="UIParent" hidden="true">
<TitleRegion setAllPoints="true"/>
<Size>
<AbsDimension x="384" y="512"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="400" y="-104"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="JotterFramePortrait" file="Interface\Spellbook\Spellbook-Icon">
<Size>
<AbsDimension x="58" y="58"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="8" y="-9"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
<Layer level="ARTWORK">
<Texture file="Interface\QuestFrame\UI-QuestGreeting-TopLeft">
<Size>
<AbsDimension x="256" y="256"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
</Texture>
<Texture file="Interface\QuestFrame\UI-QuestGreeting-TopRight">
<Size>
<AbsDimension x="128" y="256"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="256" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
<Texture file="Interface\QuestFrame\UI-QuestGreeting-BotLeft">
<Size>
<AbsDimension x="256" y="256"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="0" y="-256"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
<Texture file="Interface\QuestFrame\UI-QuestGreeting-BotRight">
<Size>
<AbsDimension x="128" y="256"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="256" y="-256"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
<Texture name="JotterFix" file="Interface\AddOns\Jotter-K\FrameFix">
<Size>
<AbsDimension x="23" y="44"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="325" y="-374"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0" right="0.71875" top="0" bottom="0.6875"/>
</Texture>
<FontString name="JotterCurrentPage" inherits="GameFontNormal">
<Size>
<AbsDimension x="192" y="0"/>
</Size>
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="10" y="-50"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Button name="JotterFrameCloseButton" inherits="UIPanelCloseButton">
<Anchors>
<Anchor point="TOPRIGHT">
<Offset>
<AbsDimension x="-26" y="-15"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
HideUIPanel(JotterFrame);
</OnClick>
</Scripts>
</Button>
<Button name="JotterFrameExitButton" inherits="UIPanelButtonTemplate" text="鍏抽棴">
<Size>
<AbsDimension x="77" y="21"/>
</Size>
<Anchors>
<Anchor point="BOTTOMRIGHT" relativeTo="JotterFrame" relativePoint="BOTTOMRIGHT">
<Offset>
<AbsDimension x="-39" y="74"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
HideUIPanel(JotterFrame);
</OnClick>
</Scripts>
</Button>
<Frame name="Jotter_UserDropdown" inherits="UIDropDownMenuTemplate" enableMouse="true">
<Anchors>
<Anchor point="RIGHT" relativeTo="JotterFrameCloseButton" relativePoint="LEFT">
<Offset>
<AbsDimension x="20" y="-3"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<FontString name="$parentLabel" inherits="GameFontNormalSmall" text="閫夋嫨绗旇
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -