vanilla-wow-addons – Rev 1
?pathlinks?
<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/
C:\Projects\WoW\Bin\Interface\FrameXML\UI.xsd">
<Script file="localization.lua"/>
<Script file="localization.ge.lua"/>
<Script file="localization.fr.lua"/>
<Script file="CT_PlayerNotes.lua"/>
<Button name="CT_PlayerNotesTemplate" virtual="true" hidden="false">
<Size>
<AbsDimension x="16" y="16"/>
</Size>
<Anchors>
<Anchor point="RIGHT" relativePoint="LEFT">
<Offset>
<AbsDimension x="295" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
CT_PlayerNotesEditFrame.note = this.note;
CT_PlayerNotesEditFrame.id = this:GetID();
CT_PlayerNotesEditFrame.name = this.name;
CT_PlayerNotesEditFrame.type = this.type;
CT_PlayerNotesEditFrame:Show();
</OnClick>
<OnEnter>
GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
GameTooltip:ClearLines();
GameTooltip:AddLine(CT_PLAYERNOTES_CLICKEDIT, 1, 0.7, 0);
GameTooltip:AddLine(this.note, 0.6, 0.6, 0.6);
GameTooltip:Show();
</OnEnter>
<OnLeave>
GameTooltip:Hide();
</OnLeave>
<OnLoad>
this.note = "";
</OnLoad>
</Scripts>
<NormalTexture name="$parentNormalTexture" file="Interface\Buttons\UI-GuildButton-PublicNote-Up"/>
<DisabledTexture file="Interface\Buttons\UI-GuildButton-PublicNote-Disabled"/>
<HighlightTexture file="Interface\Buttons\UI-GuildButton-PublicNote-Up" alphaMode="ADD"/>
</Button>
<Button name="CT_FriendNotesButton1" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameFriendButton1" id="1" hidden="false"/>
<Button name="CT_FriendNotesButton2" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameFriendButton2" id="2" hidden="false"/>
<Button name="CT_FriendNotesButton3" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameFriendButton3" id="3" hidden="false"/>
<Button name="CT_FriendNotesButton4" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameFriendButton4" id="4" hidden="false"/>
<Button name="CT_FriendNotesButton5" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameFriendButton5" id="5" hidden="false"/>
<Button name="CT_FriendNotesButton6" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameFriendButton6" id="6" hidden="false"/>
<Button name="CT_FriendNotesButton7" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameFriendButton7" id="7" hidden="false"/>
<Button name="CT_FriendNotesButton8" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameFriendButton8" id="8" hidden="false"/>
<Button name="CT_FriendNotesButton9" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameFriendButton9" id="9" hidden="false"/>
<Button name="CT_FriendNotesButton10" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameFriendButton10" id="10" hidden="false"/>
<Button name="CT_IgnoreNotesButton1" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameIgnoreButton1" id="1" hidden="false"/>
<Button name="CT_IgnoreNotesButton2" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameIgnoreButton2" id="2" hidden="false"/>
<Button name="CT_IgnoreNotesButton3" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameIgnoreButton3" id="3" hidden="false"/>
<Button name="CT_IgnoreNotesButton4" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameIgnoreButton4" id="4" hidden="false"/>
<Button name="CT_IgnoreNotesButton5" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameIgnoreButton5" id="5" hidden="false"/>
<Button name="CT_IgnoreNotesButton6" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameIgnoreButton6" id="6" hidden="false"/>
<Button name="CT_IgnoreNotesButton7" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameIgnoreButton7" id="7" hidden="false"/>
<Button name="CT_IgnoreNotesButton8" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameIgnoreButton8" id="8" hidden="false"/>
<Button name="CT_IgnoreNotesButton9" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameIgnoreButton9" id="9" hidden="false"/>
<Button name="CT_IgnoreNotesButton10" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameIgnoreButton10" id="10" hidden="false"/>
<Button name="CT_IgnoreNotesButton11" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameIgnoreButton11" id="11" hidden="false"/>
<Button name="CT_IgnoreNotesButton12" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameIgnoreButton12" id="12" hidden="false"/>
<Button name="CT_IgnoreNotesButton13" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameIgnoreButton13" id="13" hidden="false"/>
<Button name="CT_IgnoreNotesButton14" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameIgnoreButton14" id="14" hidden="false"/>
<Button name="CT_IgnoreNotesButton15" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameIgnoreButton15" id="15" hidden="false"/>
<Button name="CT_IgnoreNotesButton16" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameIgnoreButton16" id="16" hidden="false"/>
<Button name="CT_IgnoreNotesButton17" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameIgnoreButton17" id="17" hidden="false"/>
<Button name="CT_IgnoreNotesButton18" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameIgnoreButton18" id="18" hidden="false"/>
<Button name="CT_IgnoreNotesButton19" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameIgnoreButton19" id="19" hidden="false"/>
<Button name="CT_IgnoreNotesButton20" inherits="CT_PlayerNotesTemplate" parent="FriendsFrameIgnoreButton20" id="20" hidden="false"/>
<Button name="CT_GuildNotesButton1" frameStrata="TOOLTIP" inherits="CT_PlayerNotesTemplate" parent="GuildFrame" id="1" hidden="false"/>
<Button name="CT_GuildNotesButton2" frameStrata="TOOLTIP" inherits="CT_PlayerNotesTemplate" parent="GuildFrame" id="2" hidden="false"/>
<Button name="CT_GuildNotesButton3" frameStrata="TOOLTIP" inherits="CT_PlayerNotesTemplate" parent="GuildFrame" id="3" hidden="false"/>
<Button name="CT_GuildNotesButton4" frameStrata="TOOLTIP" inherits="CT_PlayerNotesTemplate" parent="GuildFrame" id="4" hidden="false"/>
<Button name="CT_GuildNotesButton5" frameStrata="TOOLTIP" inherits="CT_PlayerNotesTemplate" parent="GuildFrame" id="5" hidden="false"/>
<Button name="CT_GuildNotesButton6" frameStrata="TOOLTIP" inherits="CT_PlayerNotesTemplate" parent="GuildFrame" id="6" hidden="false"/>
<Button name="CT_GuildNotesButton7" frameStrata="TOOLTIP" inherits="CT_PlayerNotesTemplate" parent="GuildFrame" id="7" hidden="false"/>
<Button name="CT_GuildNotesButton8" frameStrata="TOOLTIP" inherits="CT_PlayerNotesTemplate" parent="GuildFrame" id="8" hidden="false"/>
<Button name="CT_GuildNotesButton9" frameStrata="TOOLTIP" inherits="CT_PlayerNotesTemplate" parent="GuildFrame" id="9" hidden="false"/>
<Button name="CT_GuildNotesButton10" frameStrata="TOOLTIP" inherits="CT_PlayerNotesTemplate" parent="GuildFrame" id="10" hidden="false"/>
<Button name="CT_GuildNotesButton11" frameStrata="TOOLTIP" inherits="CT_PlayerNotesTemplate" parent="GuildFrame" id="11" hidden="false"/>
<Button name="CT_GuildNotesButton12" frameStrata="TOOLTIP" inherits="CT_PlayerNotesTemplate" parent="GuildFrame" id="12" hidden="false"/>
<Button name="CT_GuildNotesButton13" frameStrata="TOOLTIP" inherits="CT_PlayerNotesTemplate" parent="GuildFrame" id="13" hidden="false"/>
<!-- Frame that sets note -->
<Frame name="CT_PlayerNotesEditFrame" toplevel="true" frameStrata="DIALOG" movable="true" enableMouse="true" hidden="true" parent="UIParent">
<Size>
<AbsDimension x="350" y="130"/>
</Size>
<Anchors>
<Anchor point="CENTER"/>
</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="$parentHeaderTexture" file="Interface\DialogFrame\UI-DialogBox-Header">
<Size>
<AbsDimension x="256" y="64"/>
</Size>
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="0" y="12"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
<FontString inherits="GameFontNormal" text="CT_PLAYERNOTES_EDITNOTE">
<Anchors>
<Anchor point="TOP" relativeTo="$parentHeaderTexture">
<Offset>
<AbsDimension x="0" y="-14"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentEditing" inherits="GameFontNormal" text="">
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="0" y="23"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<EditBox name="$parentNoteEB" historyLines="0" letters="250">
<Size>
<AbsDimension x="250" y="32"/>
</Size>
<Anchors>
<Anchor point="CENTER" relativePoint="CENTER"/>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="$parentLeft" file="Interface\ChatFrame\UI-ChatInputBorder-Left">
<Size>
<AbsDimension x="65" y="32"/>
</Size>
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="-10" y="0"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0" right="0.2539" top="0" bottom="1.0"/>
</Texture>
<Texture name="$parentRight" file="Interface\ChatFrame\UI-ChatInputBorder-Right">
<Size>
<AbsDimension x="25" y="32"/>
</Size>
<Anchors>
<Anchor point="RIGHT">
<Offset>
<AbsDimension x="10" y="0"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0.9" right="1.0" top="0" bottom="1.0"/>
</Texture>
<Texture file="Interface\ChatFrame\UI-ChatInputBorder-Left">
<Size>
<AbsDimension x="5" y="32"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
<Anchor point="RIGHT" relativeTo="$parentRight" relativePoint="LEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0.29296875" right="1.0" top="0" bottom="1.0"/>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnShow>
this:SetFocus();
</OnShow>
<OnEnterPressed>
CT_Notes_Save(this:GetParent());
</OnEnterPressed>
<OnEscapePressed>
this:SetText("");
this:GetParent():Hide();
</OnEscapePressed>
</Scripts>
<FontString inherits="ChatFontNormal"/>
</EditBox>
<Button name="$parentSetButton" hidden="false" inherits="GameMenuButtonTemplate" text="CT_PLAYERNOTES_UPDATE">
<Size>
<AbsDimension x="70" y="21"/>
</Size>
<Anchors>
<Anchor point="BOTTOM" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="-42" y="12"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
CT_Notes_Save(this:GetParent());
</OnClick>
</Scripts>
</Button>
<Button name="$parentCancelButton" hidden="false" inherits="GameMenuButtonTemplate" text="CT_PLAYERNOTES_CANCEL">
<Size>
<AbsDimension x="70" y="21"/>
</Size>
<Anchors>
<Anchor point="BOTTOM" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="42" y="12"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
getglobal(this:GetParent():GetName() .. "NoteEB"):SetText("");
this:GetParent():Hide();
</OnClick>
</Scripts>
</Button>
</Frames>
<Scripts>
<OnShow>
CT_PlayerNotes_EditingFrame_OnShow();
</OnShow>
<OnHide>
PlaySound("UChatScrollButton");
</OnHide>
</Scripts>
</Frame>
</Ui>
Generated by GNU Enscript 1.6.5.90.