499 lines
22 KiB
XML
499 lines
22 KiB
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">
|
|
|
|
<!-- ============================================================
|
|
PlayerGuide.xml — вкладка «Путеводитель» в Encounter Journal
|
|
Канон WotLK: тёмно-синий фон, золотые акценты, Friz Quadrata.
|
|
Подключается ПОСЛЕ Custom_EncounterJournal.xml в .toc, чтобы
|
|
PlayerGuideFrame мог анкориться к EncounterJournal как parent.
|
|
============================================================ -->
|
|
|
|
<!-- ───────── Шрифты (Friz Quadrata из клиента 3.3.5a) ───────── -->
|
|
|
|
<Font name="MW_PG_Title" inherits="GameFontNormalHuge" virtual="true">
|
|
<Color r="1.0" g="0.84" b="0.42"/>
|
|
<Shadow><Color r="0" g="0" b="0"/><Offset><AbsDimension x="1" y="-1"/></Offset></Shadow>
|
|
</Font>
|
|
|
|
<Font name="MW_PG_Section" inherits="QuestFont_Large" virtual="true">
|
|
<Color r="1.0" g="0.84" b="0.42"/>
|
|
<Shadow><Color r="0" g="0" b="0"/><Offset><AbsDimension x="1" y="-1"/></Offset></Shadow>
|
|
</Font>
|
|
|
|
<Font name="MW_PG_Body" inherits="GameFontHighlight" virtual="true">
|
|
<Color r="0.85" g="0.78" b="0.63"/>
|
|
</Font>
|
|
|
|
<Font name="MW_PG_Caps" inherits="GameFontNormalSmall" virtual="true">
|
|
<Color r="0.63" g="0.46" b="0.19"/>
|
|
</Font>
|
|
|
|
<Font name="MW_PG_Italic" inherits="QuestFont" virtual="true">
|
|
<Color r="0.66" g="0.59" b="0.47"/>
|
|
</Font>
|
|
|
|
<!-- ───────── Backdrop'ы ───────── -->
|
|
|
|
<!-- Карточка цели (полупрозрачная пергамент-плашка) -->
|
|
<Frame name="MW_PG_ObjectiveCardTemplate" virtual="true">
|
|
<Size><AbsDimension x="0" y="44"/></Size>
|
|
<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background"
|
|
edgeFile="Interface\Tooltips\UI-Tooltip-Border"
|
|
tile="true">
|
|
<BackgroundInsets><AbsInset left="3" right="3" top="3" bottom="3"/></BackgroundInsets>
|
|
<TileSize><AbsValue val="16"/></TileSize>
|
|
<EdgeSize><AbsValue val="12"/></EdgeSize>
|
|
<Color r="0.22" g="0.15" b="0.07" a="0.65"/>
|
|
<BorderColor r="0.55" g="0.40" b="0.18" a="1.0"/>
|
|
</Backdrop>
|
|
<Layers>
|
|
<Layer level="ARTWORK">
|
|
<!-- Иконка типа цели (32×32, золотая рамка применяется отдельной текстурой) -->
|
|
<Texture parentKey="Icon" file="Interface\Icons\INV_Misc_QuestionMark">
|
|
<Size><AbsDimension x="32" y="32"/></Size>
|
|
<Anchors>
|
|
<Anchor point="LEFT"><Offset><AbsDimension x="8" y="0"/></Offset></Anchor>
|
|
</Anchors>
|
|
</Texture>
|
|
<Texture parentKey="IconBorder" file="Interface\Buttons\UI-Quickslot2">
|
|
<Size><AbsDimension x="42" y="42"/></Size>
|
|
<Anchors><Anchor point="CENTER" relativeKey="$parent.Icon"/></Anchors>
|
|
<TexCoords left="0.2" right="0.8" top="0.2" bottom="0.8"/>
|
|
<Color r="1.0" g="0.84" b="0.42" a="0.55"/>
|
|
</Texture>
|
|
</Layer>
|
|
|
|
<Layer level="OVERLAY">
|
|
<FontString parentKey="TypeLabel" inherits="MW_PG_Caps" justifyH="LEFT">
|
|
<Size><AbsDimension x="100" y="10"/></Size>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeKey="$parent.Icon" relativePoint="TOPRIGHT">
|
|
<Offset><AbsDimension x="10" y="-1"/></Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString parentKey="Title" inherits="GameFontNormal" justifyH="LEFT">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeKey="$parent.TypeLabel" relativePoint="TOPRIGHT">
|
|
<Offset><AbsDimension x="6" y="0"/></Offset>
|
|
</Anchor>
|
|
<Anchor point="RIGHT"><Offset><AbsDimension x="-90" y="0"/></Offset></Anchor>
|
|
</Anchors>
|
|
<Color r="1.0" g="0.91" b="0.63"/>
|
|
</FontString>
|
|
<FontString parentKey="Subtitle" inherits="MW_PG_Italic" justifyH="LEFT">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeKey="$parent.TypeLabel" relativePoint="BOTTOMLEFT">
|
|
<Offset><AbsDimension x="0" y="-2"/></Offset>
|
|
</Anchor>
|
|
<Anchor point="RIGHT"><Offset><AbsDimension x="-90" y="0"/></Offset></Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString parentKey="Count" inherits="GameFontNormalSmall" justifyH="RIGHT">
|
|
<Size><AbsDimension x="80" y="12"/></Size>
|
|
<Anchors>
|
|
<Anchor point="TOPRIGHT"><Offset><AbsDimension x="-10" y="-6"/></Offset></Anchor>
|
|
</Anchors>
|
|
<Color r="0.79" g="0.65" b="0.38"/>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
|
|
<Frames>
|
|
<StatusBar parentKey="ProgressBar">
|
|
<Size><AbsDimension x="0" y="6"/></Size>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeKey="$parent.Icon" relativePoint="RIGHT">
|
|
<Offset><AbsDimension x="10" y="-12"/></Offset>
|
|
</Anchor>
|
|
<Anchor point="RIGHT"><Offset><AbsDimension x="-10" y="-12"/></Offset></Anchor>
|
|
</Anchors>
|
|
<BarTexture file="Interface\TargetingFrame\UI-StatusBar"/>
|
|
<BarColor r="1.0" g="0.79" b="0.29"/>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<Texture setAllPoints="true" file="Interface\Buttons\WHITE8X8">
|
|
<Color r="0.05" g="0.04" b="0.02" a="0.85"/>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
</StatusBar>
|
|
</Frames>
|
|
|
|
<Scripts>
|
|
<OnClick function="MW_PlayerGuide_Objective_OnClick"/>
|
|
<OnEnter function="MW_PlayerGuide_Objective_OnEnter"/>
|
|
<OnLeave function="MW_PlayerGuide_Objective_OnLeave"/>
|
|
</Scripts>
|
|
</Frame>
|
|
|
|
<!-- Карточка рекомендованного подземелья -->
|
|
<Button name="MW_PG_RecCardTemplate" virtual="true">
|
|
<Size><AbsDimension x="148" y="106"/></Size>
|
|
<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background"
|
|
edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
|
|
<BackgroundInsets><AbsInset left="3" right="3" top="3" bottom="3"/></BackgroundInsets>
|
|
<TileSize><AbsValue val="16"/></TileSize>
|
|
<EdgeSize><AbsValue val="12"/></EdgeSize>
|
|
<Color r="0.10" g="0.07" b="0.03" a="0.85"/>
|
|
<BorderColor r="0.55" g="0.40" b="0.18" a="1.0"/>
|
|
</Backdrop>
|
|
<Layers>
|
|
<Layer level="ARTWORK">
|
|
<!-- Биом-плашка (плейсхолдер: цветной градиент) -->
|
|
<Texture parentKey="Artwork" file="Interface\Buttons\WHITE8X8">
|
|
<Size><AbsDimension x="138" y="58"/></Size>
|
|
<Anchors>
|
|
<Anchor point="TOP"><Offset><AbsDimension x="0" y="-5"/></Offset></Anchor>
|
|
</Anchors>
|
|
<Color r="0.55" g="0.16" b="0.07"/>
|
|
</Texture>
|
|
</Layer>
|
|
<Layer level="OVERLAY">
|
|
<FontString parentKey="Level" inherits="GameFontNormalSmall" justifyH="CENTER">
|
|
<Anchors>
|
|
<Anchor point="TOPRIGHT" relativeKey="$parent.Artwork" relativePoint="TOPRIGHT">
|
|
<Offset><AbsDimension x="-4" y="-4"/></Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Color r="1.0" g="0.91" b="0.63"/>
|
|
</FontString>
|
|
<FontString parentKey="Name" inherits="GameFontNormal" justifyH="LEFT">
|
|
<Size><AbsDimension x="130" y="12"/></Size>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeKey="$parent.Artwork" relativePoint="BOTTOMLEFT">
|
|
<Offset><AbsDimension x="2" y="-4"/></Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Color r="1.0" g="0.91" b="0.63"/>
|
|
</FontString>
|
|
<FontString parentKey="Loc" inherits="MW_PG_Italic" justifyH="LEFT">
|
|
<Size><AbsDimension x="130" y="10"/></Size>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeKey="$parent.Name" relativePoint="BOTTOMLEFT">
|
|
<Offset><AbsDimension x="0" y="-2"/></Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnClick function="MW_PlayerGuide_Rec_OnClick"/>
|
|
<OnEnter function="MW_PlayerGuide_Rec_OnEnter"/>
|
|
<OnLeave function="MW_PlayerGuide_Rec_OnLeave"/>
|
|
</Scripts>
|
|
</Button>
|
|
|
|
<!-- Бейдж этапа в цепочке (круглая золотая монета с цифрой) -->
|
|
<Frame name="MW_PG_StageBadgeTemplate" virtual="true">
|
|
<Size><AbsDimension x="38" y="38"/></Size>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<Texture parentKey="BadgeBG" file="Interface\Buttons\UI-Quickslot2">
|
|
<Size><AbsDimension x="60" y="60"/></Size>
|
|
<Anchors><Anchor point="CENTER"/></Anchors>
|
|
<TexCoords left="0.2" right="0.8" top="0.2" bottom="0.8"/>
|
|
</Texture>
|
|
</Layer>
|
|
<Layer level="OVERLAY">
|
|
<FontString parentKey="Roman" inherits="GameFontNormalLarge" justifyH="CENTER">
|
|
<Anchors><Anchor point="CENTER"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor></Anchors>
|
|
<Color r="1.0" g="0.91" b="0.63"/>
|
|
</FontString>
|
|
<FontString parentKey="Label" inherits="MW_PG_Caps" justifyH="CENTER">
|
|
<Size><AbsDimension x="100" y="10"/></Size>
|
|
<Anchors>
|
|
<Anchor point="TOP" relativePoint="BOTTOM"><Offset><AbsDimension x="0" y="-4"/></Offset></Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
</Frame>
|
|
|
|
<!-- ───────── Корневой фрейм ───────── -->
|
|
<!-- Парент: EncounterJournal.encounter (см. PlayerGuide.lua → Init) -->
|
|
|
|
<Frame name="PlayerGuideFrame" hidden="true" parent="EncounterJournal">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT"><Offset><AbsDimension x="22" y="-58"/></Offset></Anchor>
|
|
<Anchor point="BOTTOMRIGHT"><Offset><AbsDimension x="-6" y="6"/></Offset></Anchor>
|
|
</Anchors>
|
|
|
|
<Layers>
|
|
<!-- «Волна» сверху, как в оригинальном EJ — добавляется через
|
|
родительский фон. Здесь — тонкая золотая внутренняя рамка. -->
|
|
<Layer level="BORDER">
|
|
<Texture parentKey="TopGlow" file="Interface\Common\UI-TooltipDivider-Transparent">
|
|
<Size><AbsDimension x="0" y="16"/></Size>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT"><Offset><AbsDimension x="0" y="-58"/></Offset></Anchor>
|
|
<Anchor point="TOPRIGHT"><Offset><AbsDimension x="0" y="-58"/></Offset></Anchor>
|
|
</Anchors>
|
|
<Color r="1.0" g="0.84" b="0.42" a="0.35"/>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
|
|
<Frames>
|
|
|
|
<!-- 1) Цепочка этапов сверху -->
|
|
<Frame parentKey="StageChain">
|
|
<Size><AbsDimension x="0" y="62"/></Size>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT"><Offset><AbsDimension x="8" y="-4"/></Offset></Anchor>
|
|
<Anchor point="TOPRIGHT"><Offset><AbsDimension x="-8" y="-4"/></Offset></Anchor>
|
|
</Anchors>
|
|
<!-- Бейджи создаются программно в Lua (PlayerGuide_BuildStageChain) -->
|
|
</Frame>
|
|
|
|
<!-- 2) Заголовок текущего этапа -->
|
|
<Frame parentKey="Header">
|
|
<Size><AbsDimension x="0" y="78"/></Size>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeKey="$parent.StageChain" relativePoint="BOTTOMLEFT">
|
|
<Offset><AbsDimension x="12" y="-12"/></Offset>
|
|
</Anchor>
|
|
<Anchor point="TOPRIGHT" relativeKey="$parent.StageChain" relativePoint="BOTTOMRIGHT">
|
|
<Offset><AbsDimension x="-12" y="-12"/></Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="OVERLAY">
|
|
<FontString parentKey="Pretitle" inherits="MW_PG_Caps" justifyH="LEFT">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT"><Offset><AbsDimension x="2" y="0"/></Offset></Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString parentKey="Title" inherits="MW_PG_Title" justifyH="LEFT">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeKey="$parent.Pretitle" relativePoint="BOTTOMLEFT">
|
|
<Offset><AbsDimension x="0" y="-2"/></Offset>
|
|
</Anchor>
|
|
<Anchor point="RIGHT"><Offset><AbsDimension x="-260" y="0"/></Offset></Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString parentKey="Description" inherits="MW_PG_Body" justifyH="LEFT">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeKey="$parent.Title" relativePoint="BOTTOMLEFT">
|
|
<Offset><AbsDimension x="2" y="-6"/></Offset>
|
|
</Anchor>
|
|
<Anchor point="RIGHT"><Offset><AbsDimension x="-260" y="0"/></Offset></Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
|
|
<FontString parentKey="ProgressLabel" inherits="MW_PG_Caps" justifyH="RIGHT">
|
|
<Anchors>
|
|
<Anchor point="TOPRIGHT"><Offset><AbsDimension x="-2" y="0"/></Offset></Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString parentKey="ProgressPercent" inherits="MW_PG_Title" justifyH="RIGHT">
|
|
<Size><AbsDimension x="240" y="28"/></Size>
|
|
<Anchors>
|
|
<Anchor point="TOPRIGHT" relativeKey="$parent.ProgressLabel" relativePoint="BOTTOMRIGHT">
|
|
<Offset><AbsDimension x="0" y="-2"/></Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Frames>
|
|
<StatusBar parentKey="ProgressBar">
|
|
<Size><AbsDimension x="240" y="10"/></Size>
|
|
<Anchors>
|
|
<Anchor point="TOPRIGHT" relativeKey="$parent.ProgressPercent" relativePoint="BOTTOMRIGHT">
|
|
<Offset><AbsDimension x="0" y="-4"/></Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<BarTexture file="Interface\TargetingFrame\UI-StatusBar"/>
|
|
<BarColor r="1.0" g="0.79" b="0.29"/>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<Texture setAllPoints="true" file="Interface\Buttons\WHITE8X8">
|
|
<Color r="0.05" g="0.04" b="0.02" a="0.85"/>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
</StatusBar>
|
|
|
|
<Button parentKey="RefreshButton" inherits="UIPanelButtonTemplate2" text="MW_PLAYER_GUIDE_REFRESH">
|
|
<Size><AbsDimension x="100" y="22"/></Size>
|
|
<Anchors>
|
|
<Anchor point="TOPRIGHT" relativeKey="$parent.ProgressBar" relativePoint="BOTTOMRIGHT">
|
|
<Offset><AbsDimension x="0" y="-6"/></Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick function="MW_PlayerGuide_RefreshButton_OnClick"/>
|
|
</Scripts>
|
|
</Button>
|
|
</Frames>
|
|
</Frame>
|
|
|
|
<!-- 3) Секция «Задачи этапа» — заголовок + список карточек -->
|
|
<Frame parentKey="ObjectivesSection">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeKey="$parent.Header" relativePoint="BOTTOMLEFT">
|
|
<Offset><AbsDimension x="-2" y="-10"/></Offset>
|
|
</Anchor>
|
|
<Anchor point="TOPRIGHT" relativeKey="$parent.Header" relativePoint="BOTTOMRIGHT">
|
|
<Offset><AbsDimension x="2" y="-10"/></Offset>
|
|
</Anchor>
|
|
<Anchor point="BOTTOM"><Offset><AbsDimension x="0" y="142"/></Offset></Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="OVERLAY">
|
|
<FontString parentKey="Heading" inherits="MW_PG_Section" justifyH="LEFT" text="MW_PLAYER_GUIDE_OBJECTIVES">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT"><Offset><AbsDimension x="4" y="0"/></Offset></Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString parentKey="Count" inherits="MW_PG_Caps" justifyH="LEFT">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeKey="$parent.Heading" relativePoint="RIGHT">
|
|
<Offset><AbsDimension x="8" y="-2"/></Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<Texture parentKey="Divider" file="Interface\Common\UI-TooltipDivider-Transparent">
|
|
<Size><AbsDimension x="0" y="2"/></Size>
|
|
<Anchors>
|
|
<Anchor point="BOTTOMLEFT" relativeKey="$parent.Heading" relativePoint="BOTTOMLEFT">
|
|
<Offset><AbsDimension x="0" y="-4"/></Offset>
|
|
</Anchor>
|
|
<Anchor point="RIGHT"><Offset><AbsDimension x="-4" y="0"/></Offset></Anchor>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Frames>
|
|
<ScrollFrame parentKey="ScrollFrame" inherits="UIPanelScrollFrameTemplate">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT"><Offset><AbsDimension x="4" y="-26"/></Offset></Anchor>
|
|
<Anchor point="BOTTOMRIGHT"><Offset><AbsDimension x="-26" y="4"/></Offset></Anchor>
|
|
</Anchors>
|
|
<ScrollChild>
|
|
<Frame parentKey="ScrollChild">
|
|
<Size><AbsDimension x="600" y="200"/></Size>
|
|
<!-- Карточки целей вставляются программно через ObjectiveCardTemplate -->
|
|
</Frame>
|
|
</ScrollChild>
|
|
</ScrollFrame>
|
|
</Frames>
|
|
</Frame>
|
|
|
|
<!-- 4) Секция «Подходящие подземелья» — горизонтальная карусель -->
|
|
<Frame parentKey="RecommendationsSection">
|
|
<Size><AbsDimension x="0" y="132"/></Size>
|
|
<Anchors>
|
|
<Anchor point="BOTTOMLEFT"><Offset><AbsDimension x="6" y="6"/></Offset></Anchor>
|
|
<Anchor point="BOTTOMRIGHT"><Offset><AbsDimension x="-6" y="6"/></Offset></Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="OVERLAY">
|
|
<FontString parentKey="Heading" inherits="MW_PG_Section" justifyH="LEFT" text="MW_PLAYER_GUIDE_RECS">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT"><Offset><AbsDimension x="4" y="0"/></Offset></Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString parentKey="Count" inherits="MW_PG_Caps" justifyH="LEFT">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeKey="$parent.Heading" relativePoint="RIGHT">
|
|
<Offset><AbsDimension x="8" y="-2"/></Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<Texture parentKey="Divider" file="Interface\Common\UI-TooltipDivider-Transparent">
|
|
<Size><AbsDimension x="0" y="2"/></Size>
|
|
<Anchors>
|
|
<Anchor point="BOTTOMLEFT" relativeKey="$parent.Heading" relativePoint="BOTTOMLEFT">
|
|
<Offset><AbsDimension x="0" y="-4"/></Offset>
|
|
</Anchor>
|
|
<Anchor point="RIGHT"><Offset><AbsDimension x="-4" y="0"/></Offset></Anchor>
|
|
</Anchors>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
<Frames>
|
|
<ScrollFrame parentKey="ScrollFrame" inherits="UIPanelScrollFrameTemplate">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT"><Offset><AbsDimension x="4" y="-26"/></Offset></Anchor>
|
|
<Anchor point="BOTTOMRIGHT"><Offset><AbsDimension x="-26" y="4"/></Offset></Anchor>
|
|
</Anchors>
|
|
<ScrollChild>
|
|
<Frame parentKey="ScrollChild">
|
|
<Size><AbsDimension x="900" y="110"/></Size>
|
|
</Frame>
|
|
</ScrollChild>
|
|
</ScrollFrame>
|
|
</Frames>
|
|
</Frame>
|
|
|
|
<!-- 5) Пустое состояние -->
|
|
<Frame parentKey="EmptyState" hidden="true">
|
|
<Anchors><Anchor point="CENTER"><Offset><AbsDimension x="0" y="20"/></Offset></Anchor></Anchors>
|
|
<Size><AbsDimension x="460" y="200"/></Size>
|
|
<Layers>
|
|
<Layer level="OVERLAY">
|
|
<FontString parentKey="Title" inherits="MW_PG_Title" justifyH="CENTER" text="MW_PLAYER_GUIDE_EMPTY_TITLE">
|
|
<Anchors><Anchor point="TOP"><Offset><AbsDimension x="0" y="-20"/></Offset></Anchor></Anchors>
|
|
<Size><AbsDimension x="460" y="28"/></Size>
|
|
</FontString>
|
|
<FontString parentKey="Body" inherits="MW_PG_Body" justifyH="CENTER" text="MW_PLAYER_GUIDE_EMPTY_BODY">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeKey="$parent.Title" relativePoint="BOTTOM">
|
|
<Offset><AbsDimension x="0" y="-10"/></Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Size><AbsDimension x="420" y="60"/></Size>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Frames>
|
|
<Button parentKey="RefreshButton" inherits="UIPanelButtonTemplate2" text="MW_PLAYER_GUIDE_REFRESH">
|
|
<Size><AbsDimension x="120" y="24"/></Size>
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeKey="$parent.Body" relativePoint="BOTTOM">
|
|
<Offset><AbsDimension x="0" y="-14"/></Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick function="MW_PlayerGuide_RefreshButton_OnClick"/>
|
|
</Scripts>
|
|
</Button>
|
|
</Frames>
|
|
</Frame>
|
|
|
|
<!-- 6) Состояние загрузки -->
|
|
<Frame parentKey="LoadingState" hidden="true">
|
|
<Anchors><Anchor point="CENTER"/></Anchors>
|
|
<Size><AbsDimension x="300" y="80"/></Size>
|
|
<Layers>
|
|
<Layer level="OVERLAY">
|
|
<FontString parentKey="Title" inherits="MW_PG_Section" justifyH="CENTER" text="MW_PLAYER_GUIDE_LOADING_TITLE">
|
|
<Anchors><Anchor point="TOP"/></Anchors>
|
|
<Size><AbsDimension x="300" y="20"/></Size>
|
|
</FontString>
|
|
<FontString parentKey="Body" inherits="MW_PG_Italic" justifyH="CENTER" text="MW_PLAYER_GUIDE_LOADING_BODY">
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeKey="$parent.Title" relativePoint="BOTTOM">
|
|
<Offset><AbsDimension x="0" y="-6"/></Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Size><AbsDimension x="300" y="16"/></Size>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
</Frame>
|
|
|
|
</Frames>
|
|
|
|
<Scripts>
|
|
<OnLoad function="MW_PlayerGuide_OnLoad"/>
|
|
<OnShow function="MW_PlayerGuide_OnShow"/>
|
|
</Scripts>
|
|
</Frame>
|
|
|
|
</Ui>
|