<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="TitanUIScale.lua"/>
	<Frame name="TitanPanelUIScaleControlFrameTemplate" virtual="true" hidden="true">
		<Size>
			<AbsDimension x="240" y="170" />
		</Size>
		<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
			<EdgeSize>
				<AbsValue val="16"/>
			</EdgeSize>
			<TileSize>
				<AbsValue val="16"/>
			</TileSize>
			<BackgroundInsets>
				<AbsInset left="5" right="5" top="5" bottom="5"/>
			</BackgroundInsets>
		</Backdrop>
		<Layers>
			<Layer>
				<FontString name="$parentUITitle" inherits="GameFontNormalSmall">
					<Anchors>
						<Anchor point="TOP">
							<Offset>
								<AbsDimension x="-80" y="-10" />
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				<FontString name="$parentPanelTitle" inherits="GameFontNormalSmall">
					<Anchors>
						<Anchor point="TOP">
							<Offset>
								<AbsDimension x="-10" y="-10" />
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				<FontString name="$parentFontTitle" inherits="GameFontNormalSmall">
					<Anchors>
						<Anchor point="TOP">
							<Offset>
								<AbsDimension x="60" y="-10" />
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
		<Frames>
			<Slider name="TitanPanelUIScaleControlSlider" inherits="TitanOptionsSliderTemplate">
				<Anchors>
					<Anchor point="TOP">
						<Offset>
							<AbsDimension x="-80" y="-40"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnShow>
						TitanPanelUIScaleControlSlider_OnShow();
					</OnShow>
					<OnValueChanged>
						TitanPanelUIScaleControlSlider_OnValueChanged();
					</OnValueChanged>
					<OnEnter>
						TitanPanelUIScaleControlSlider_OnEnter();
					</OnEnter>
					<OnLeave>
						TitanPanelUIScaleControlSlider_OnLeave()
					</OnLeave>
				</Scripts>
			</Slider>
			<Slider name="TitanPanelPanelScaleControlSlider" inherits="TitanOptionsSliderTemplate">
				<Anchors>
					<Anchor point="TOP">
						<Offset>
							<AbsDimension x="-10" y="-40"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnShow>
						TitanPanelPanelScaleControlSlider_OnShow();
					</OnShow>
					<OnValueChanged>
						TitanPanelPanelScaleControlSlider_OnValueChanged();
					</OnValueChanged>
					<OnEnter>
						TitanPanelPanelScaleControlSlider_OnEnter();
					</OnEnter>
					<OnLeave>
						TitanPanelPanelScaleControlSlider_OnLeave()
					</OnLeave>
				</Scripts>
			</Slider>
			<Slider name="TitanPanelFontScaleControlSlider" inherits="TitanOptionsSliderTemplate">
				<Anchors>
					<Anchor point="TOP">
						<Offset>
							<AbsDimension x="60" y="-40"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnShow>
						TitanPanelFontScaleControlSlider_OnShow();
					</OnShow>
					<OnValueChanged>
						TitanPanelFontScaleControlSlider_OnValueChanged();
					</OnValueChanged>
					<OnEnter>
						TitanPanelFontScaleControlSlider_OnEnter();
					</OnEnter>
					<OnLeave>
						TitanPanelFontScaleControlSlider_OnLeave()
					</OnLeave>
				</Scripts>
			</Slider>
		</Frames>
		<Scripts>
			<OnLoad>
				TitanPanelUIScaleControlFrame_OnLoad();
			</OnLoad>
			<OnShow>
				TitanPanelUIScaleControlFrame_OnShow();
			</OnShow>
			<OnEnter>
				TitanUtils_StopFrameCounting(this);
			</OnEnter>
			<OnLeave>
				TitanUtils_StartFrameCounting(this, TITAN_UISCALE_FRAME_SHOW_TIME);
			</OnLeave>
			<OnUpdate>
				TitanPanelUIScaleControlFrame_OnUpdate(arg1);
			</OnUpdate>
		</Scripts>
	</Frame>
	<Frame parent="UIParent">
		<Frames>
			<Button name="TitanPanelUIScaleButton" inherits="TitanPanelIconTemplate" frameStrata="FULLSCREEN" toplevel="true">
				<Scripts>
					<OnLoad>
						TitanPanelUIScaleButton_OnLoad();
						TitanPanelButton_OnLoad();
					</OnLoad>
				</Scripts>
			</Button>
			<Frame name="TitanPanelUIScaleControlFrame" inherits="TitanPanelUIScaleControlFrameTemplate" frameStrata="FULLSCREEN" toplevel="true" parent="WorldFrame" />
		</Frames>
	</Frame>		
</Ui>