41 lines
1.2 KiB
XML
41 lines
1.2 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">
|
|
<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>
|