режим предателя + UI референсы и DragonUI

This commit is contained in:
2026-04-09 02:05:29 +04:00
parent 1109d19bb5
commit e8f1ae4ab9
397 changed files with 202750 additions and 37 deletions
@@ -0,0 +1,144 @@
<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">
<Button name="ClassTrainerSkillButtonTemplate" hidden="true" virtual="true">
<Size>
<AbsDimension x="293" y="16"/>
</Size>
<Layers>
<Layer level="BACKGROUND">
<FontString name="$parentSubText" inherits="GameFontNormalSmall" justifyH="LEFT"/>
</Layer>
</Layers>
<Scripts>
<OnLoad>
self:SetFrameLevel(self:GetFrameLevel() + 1);
</OnLoad>
<OnClick function="ClassTrainerSkillButton_OnClick"/>
<OnEnter>
_G[self:GetName().."SubText"]:SetTextColor(HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b);
</OnEnter>
<OnLeave>
_G[self:GetName().."SubText"]:SetTextColor(self.r, self.g, self.b);
</OnLeave>
</Scripts>
<NormalTexture file="Interface\Buttons\UI-MinusButton-UP">
<Size>
<AbsDimension x="16" y="16"/>
</Size>
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="3" y="0"/>
</Offset>
</Anchor>
</Anchors>
</NormalTexture>
<HighlightTexture name="$parentHighlight" file="Interface\Buttons\UI-PlusButton-Hilight" alphaMode="ADD">
<Size>
<AbsDimension x="16" y="16"/>
</Size>
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="3" y="0"/>
</Offset>
</Anchor>
</Anchors>
</HighlightTexture>
<DisabledTexture file="Interface\Buttons\UI-PlusButton-Disabled">
<Size>
<AbsDimension x="16" y="16"/>
</Size>
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="3" y="0"/>
</Offset>
</Anchor>
</Anchors>
</DisabledTexture>
<ButtonText name="$parentText">
<Size x="270" y="13"/>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentHighlight" relativePoint="RIGHT">
<Offset>
<AbsDimension x="2" y="1"/>
</Offset>
</Anchor>
</Anchors>
</ButtonText>
<NormalFont style="GameFontNormalLeft"/>
<HighlightFont style="GameFontHighlightLeft"/>
<DisabledFont style="GameFontDisableLeft"/>
</Button>
<ScrollFrame name="ClassTrainerDetailScrollFrameTemplate" inherits="UIPanelScrollFrameTemplate" virtual="true">
<Layers>
<Layer level="BACKGROUND">
<Texture name="$parentTop" file="Interface\ClassTrainerFrame\UI-ClassTrainer-ScrollBar">
<Size>
<AbsDimension x="30" y="123"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="-2" y="5"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0" right="0.46875" top="0" bottom="0.9609375"/>
</Texture>
<Texture name="$parentBottom" file="Interface\ClassTrainerFrame\UI-ClassTrainer-ScrollBar">
<Size>
<AbsDimension x="30" y="123"/>
</Size>
<Anchors>
<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT">
<Offset>
<AbsDimension x="-2" y="-1"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0.53125" right="1.0" top="0.03125" bottom="1.0"/>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>
ScrollFrame_OnLoad(self);
self.scrollBarHideable = 1;
</OnLoad>
</Scripts>
</ScrollFrame>
<ScrollFrame name="ClassTrainerListScrollFrameTemplate" inherits="FauxScrollFrameTemplate" virtual="true">
<Layers>
<Layer level="BACKGROUND">
<Texture file="Interface\ClassTrainerFrame\UI-ClassTrainer-ScrollBar">
<Size>
<AbsDimension x="30" y="120"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="-3" y="2"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0" right="0.46875" top="0.0234375" bottom="0.9609375"/>
</Texture>
<Texture file="Interface\ClassTrainerFrame\UI-ClassTrainer-ScrollBar">
<Size>
<AbsDimension x="30" y="123"/>
</Size>
<Anchors>
<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT">
<Offset>
<AbsDimension x="-3" y="-2"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0.53125" right="1.0" top="0.03125" bottom="1.0"/>
</Texture>
</Layer>
</Layers>
</ScrollFrame>
</Ui>