<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="MovieRecordingProgress.lua"/>
	<Frame name="MovieProgressFrame" toplevel="true" parent="UIParent" movable="true" clampedToScreen="true" enableMouse="true" frameStrata="HIGH" hidden="true">
		<Size>
			<AbsDimension x="217" y="20"/>
		</Size>
		<Anchors>
			<Anchor point="BOTTOM">
				<Offset>
					<AbsDimension x="0" y="160"/>
				</Offset>
			</Anchor>
		</Anchors>
		<TitleRegion setAllPoints="true"/>
		<Layers>
			<Layer level="BACKGROUND">
				<Texture setAllPoints="true">
					<Color r="0" g="0" b="0" a="0"/>
				</Texture>		
			</Layer>
		</Layers>
		
		<Frames>
			<StatusBar name="MovieProgressBar" drawLayer="BORDER" virtual="true" minValue="0" maxValue="1" defaultValue="0">
				<Size>
					<AbsDimension x="195" y="20"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Layers>
					<Layer level="BACKGROUND">
						<Texture setAllPoints="true">
							<Color r="0" g="0" b="0" a="0.5"/>
						</Texture>		
					</Layer>
					<Layer level="ARTWORK">
						<FontString name="$parentText" inherits="GameFontHighlight" text="Compressing">
							<Size>
								<AbsDimension x="185" y="28"/>
							</Size>
							<Anchors>
								<Anchor point="TOP">
									<Offset>
										<AbsDimension x="0" y="5"/>
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
					</Layer>
				</Layers>
				<Frames>
					<Frame>
						<Size>
							<AbsDimension x="203" y="24"/>
						</Size>
						<Anchors>
							<Anchor point="CENTER"/>
						</Anchors>
						<Backdrop edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
							<EdgeSize>
								<AbsValue val="16"/>
							</EdgeSize>
							<TileSize>
								<AbsValue val="16"/>
							</TileSize>
							<BackgroundInsets>
								<AbsInset left="3" right="5" top="3" bottom="5"/>
							</BackgroundInsets>
						</Backdrop>
					</Frame>
				</Frames>
				<BarTexture file="Interface\TargetingFrame\UI-StatusBar"/>
				<BarColor r="1.0" g="0.7" b="0.0"/>
			</StatusBar>
			<Button name="MovieRecordingCancelButton">
				<Size>
					<AbsDimension x="32" y="32"/>
				</Size>
				<Anchors>
					<Anchor point="RIGHT">
						<Offset>
							<AbsDimension x="6" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						MacOptionsCancelFrame:Show();
					</OnClick>
					<OnEnter>
						GameTooltip_AddNewbieTip(self, MOVIE_RECORDING_COMPRESSING_CANCEL_TOOLTIP, HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b, MOVIE_RECORDING_COMPRESSING_CANCEL_NEWBIE_TOOLTIP, 1);
					</OnEnter>
					<OnLeave function="GameTooltip_Hide"/>
				</Scripts>
				<NormalTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Up"/>
				<PushedTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Down"/>
				<HighlightTexture alphaMode="ADD" file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight"/>
			</Button>
		</Frames>
		<Scripts>
			<OnEnter>
				GameTooltip_AddNewbieTip(self, MovieRecording_GetMovieFullPath());
			</OnEnter>
			<OnLeave function="GameTooltip_Hide"/>
			<OnLoad>
				self:RegisterEvent("MOVIE_COMPRESSING_PROGRESS");
			</OnLoad>
			<OnEvent>
				self:Show();
				MovieRecording_SearchUncompressedMovie(false);
			</OnEvent>
			<OnUpdate function="MovieRecordingProgress_OnUpdate"/>
		</Scripts>
	</Frame>
</Ui>