-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathCinematicFrame.xml
40 lines (40 loc) · 1.17 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
<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"/>
<Frame name="CinematicFrame" setAllPoints="true" hidden="true" enableKeyboard="true" enableMouse="true">
<Layers>
<Layer level="ARTWORK">
<Texture name="UpperBlackBar">
<Size>
<AbsDimension x="1024" y="128"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
<Color r="0.0" g="0.0" b="0.0"/>
</Texture>
<Texture name="LowerBlackBar">
<Size>
<AbsDimension x="1024" y="128"/>
</Size>
<Anchors>
<Anchor point="BOTTOMLEFT"/>
</Anchors>
<Color r="0.0" g="0.0" b="0.0"/>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad function="CinematicFrame_OnLoad"/>
<OnShow function="SetupFullscreenScale"/>
<OnEvent function="CinematicFrame_OnEvent"/>
<OnKeyDown>
if ( GetBindingFromClick(key) == "TOGGLEGAMEMENU" ) then
StopCinematic();
elseif ( GetBindingFromClick(key) == "SCREENSHOT" ) then
RunBinding("SCREENSHOT");
end
</OnKeyDown>
</Scripts>
</Frame>
</Ui>