-
Notifications
You must be signed in to change notification settings - Fork 131
/
CinematicFrame.xml
142 lines (142 loc) · 4.9 KB
/
CinematicFrame.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
<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="CinematicFrame.lua"/>
<Button name="CinematicDialogButtonTemplate" virtual="true">
<Size>
<AbsDimension x="119" y="21"/>
</Size>
<NormalTexture file="Interface\Buttons\UI-DialogBox-Button-Up">
<TexCoords left="0.0" right="1.0" top="0.0" bottom="0.71875"/>
</NormalTexture>
<PushedTexture file="Interface\Buttons\UI-DialogBox-Button-Down">
<TexCoords left="0.0" right="1.0" top="0.0" bottom="0.71875"/>
</PushedTexture>
<DisabledTexture file="Interface\Buttons\UI-DialogBox-Button-Disabled">
<TexCoords left="0.0" right="1.0" top="0.0" bottom="0.71875"/>
</DisabledTexture>
<HighlightTexture file="Interface\Buttons\UI-DialogBox-Button-Highlight" alphaMode="ADD">
<TexCoords left="0.0" right="1.0" top="0.0" bottom="0.71875"/>
</HighlightTexture>
<NormalFont style="GameFontNormal"/>
<DisabledFont style="GameFontDisable"/>
<HighlightFont style="GameFontHighlight"/>
</Button>
<Frame name="CinematicFrame" setAllPoints="true" hidden="true" enableKeyboard="true" enableMouse="true">
<Layers>
<Layer level="ARTWORK">
<Texture parentKey="UpperBlackBar" name="UpperBlackBar">
<Size>
<AbsDimension x="0" y="128"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT"/>
<Anchor point="TOPRIGHT"/>
</Anchors>
<Color r="0.0" g="0.0" b="0.0"/>
</Texture>
<Texture parentKey="LowerBlackBar" name="LowerBlackBar">
<Size>
<AbsDimension x="0" y="128"/>
</Size>
<Anchors>
<Anchor point="BOTTOMLEFT"/>
<Anchor point="BOTTOMRIGHT"/>
</Anchors>
<Color r="0.0" g="0.0" b="0.0"/>
</Texture>
</Layer>
<Layer level="OVERLAY">
<FontString parentKey="Subtitle1" parentArray="Subtitles" inherits="GameFontHighlightLarge" justifyH="CENTER" justifyV="MIDDLE" hidden="true">
<Size x="512" y="0"/>
<Anchors>
<Anchor point="LEFT" relativeKey="$parent.LowerBlackBar" relativePoint="LEFT" x="5" y="0"/>
<Anchor point="RIGHT" relativeKey="$parent.LowerBlackBar" relativePoint="RIGHT" x="-5" y="0"/>
</Anchors>
</FontString>
<!--<FontString parentKey="Subtitle2" parentArray="Subtitles" inherits="GameFontHighlightLarge" justifyH="CENTER" justifyV="TOP" hidden="true">
<Size x="512" y="0"/>
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent.Subtitle1" relativePoint="BOTTOMLEFT" x="0" y="-15"/>
<Anchor point="TOPRIGHT" relativeKey="$parent.Subtitle1" relativePoint="BOTTOMRIGHT" x="0" y="-15"/>
</Anchors>
</FontString>-->
</Layer>
</Layers>
<Frames>
<Frame name="$parentRaidBossEmoteFrame" inherits="RaidBossEmoteFrameTemplate" parentKey="raidBossEmoteFrame">
<Anchors>
<Anchor point="TOP" x="0" y="-20"/>
</Anchors>
</Frame>
<Frame name="$parentCloseDialog" parentKey="closeDialog">
<Size x="320" y="84"/>
<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">
<FontString name="$parentText" inherits="GameFontHighlight" text="CONFIRM_CLOSE_CINEMATIC">
<Size>
<AbsDimension x="290" y="0"/>
</Size>
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="0" y="-16"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Button name="$parentConfirmButton" inherits="CinematicDialogButtonTemplate" text="YES">
<Anchors>
<Anchor point="BOTTOMRIGHT" relativeTo="$parent" relativePoint="BOTTOM" x="-6" y="16"/>
</Anchors>
<Scripts>
<OnClick>
CinematicFrame_CancelCinematic();
</OnClick>
</Scripts>
</Button>
<Button name="$parentResumeButton" inherits="CinematicDialogButtonTemplate" text="NO">
<Anchors>
<Anchor point="LEFT" relativeTo="$parentConfirmButton" relativePoint="RIGHT" x="13" y="0"/>
</Anchors>
<Scripts>
<OnClick>
self:GetParent():Hide();
</OnClick>
</Scripts>
</Button>
</Frames>
<Scripts>
<OnShow>
MouseOverrideCinematicDisable(true);
</OnShow>
<OnHide>
MouseOverrideCinematicDisable(false);
</OnHide>
</Scripts>
</Frame>
</Frames>
<Scripts>
<OnLoad function="CinematicFrame_OnLoad"/>
<OnShow function="CinematicFrame_OnShow"/>
<OnEvent function="CinematicFrame_OnEvent"/>
<OnKeyDown function="CinematicFrame_OnKeyDown"/>
</Scripts>
</Frame>
</Ui>