<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="TitanVolume.lua"/>
	<Frame name="TitanPanelVolumeControlFrameTemplate" virtual="true" hidden="true">
		<Size>
			<AbsDimension x="90" 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="$parentTitle" inherits="GameFontNormalSmall">
					<Anchors>
						<Anchor point="TOP">
							<Offset>
								<AbsDimension x="0" y="-10" />
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
		<Frames>
			<Slider name="TitanPanelVolumeControlSlider" inherits="TitanOptionsSliderTemplate">
				<Anchors>
					<Anchor point="TOP">
						<Offset>
							<AbsDimension x="0" y="-40"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnShow>
						TitanPanelVolumeControlSlider_OnShow();
					</OnShow>
					<OnValueChanged>
						TitanPanelVolumeControlSlider_OnValueChanged();
					</OnValueChanged>
					<OnEnter>
						TitanPanelVolumeControlSlider_OnEnter();
					</OnEnter>
					<OnLeave>
						TitanPanelVolumeControlSlider_OnLeave()
					</OnLeave>
				</Scripts>
			</Slider>
		</Frames>
		<Scripts>
			<OnLoad>
				TitanPanelVolumeControlFrame_OnLoad();
			</OnLoad>
			<OnEnter>
				TitanUtils_StopFrameCounting(this);
			</OnEnter>
			<OnLeave>
				TitanUtils_StartFrameCounting(this, TITAN_VOLUME_FRAME_SHOW_TIME);
			</OnLeave>
			<OnUpdate>
				TitanPanelVolumeControlFrame_OnUpdate(arg1);
			</OnUpdate>
		</Scripts>
	</Frame>	
	<Frame parent="UIParent">
		<Frames>
			<Button name="TitanPanelVolumeButton" inherits="TitanPanelIconTemplate" frameStrata="FULLSCREEN" toplevel="true">
				<Scripts>
					<OnLoad>
						TitanPanelVolumeButton_OnLoad();
						TitanPanelButton_OnLoad();
					</OnLoad>
					<OnShow>
						TitanPanelVolumeButton_OnShow();
						TitanPanelButton_OnShow();
					</OnShow>
					<OnEnter>
						TitanPanelVolumeButton_OnEnter();
						TitanPanelButton_OnEnter();
					</OnEnter>
					<OnEvent>
						TitanPanelVolumeButton_OnEvent();
					</OnEvent>
				</Scripts>
			</Button>
			<Frame name="TitanPanelVolumeControlFrame" inherits="TitanPanelVolumeControlFrameTemplate" frameStrata="FULLSCREEN" toplevel="true" />
		</Frames>
	</Frame>		
	</Ui>