<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/"> 
	
	<Script file="RollTracker.lua"/>

	<Frame name="RollTrackerFrame" parent="UIParent" hidden="true" movable="true" enableMouse="True" frameStrata="HIGH" resizable="true">
		<Size><AbsDimension x="130" y="200"/></Size>
		<Anchors>
			<Anchor point="CENTER"/>
			<Offset><AbsDimension x="0" y="0"/></Offset>
		</Anchors>
		<Backdrop name="$parentBackdrop" bgFile="Interface\TutorialFrame\TutorialFrameBackground"
		edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
			<EdgeSize>
				<AbsValue val="16"/>
			</EdgeSize>
			<TileSize>
				<AbsValue val="32"/>
			</TileSize>
			<BackgroundInsets>
				<AbsInset left="5" right="5" top="5" bottom="5"/>
			</BackgroundInsets>
		</Backdrop>	
		<Layers>
			<Layer level="BACKGROUND">
				<FontString name="$parentTitle" inherits="GameFontNormal" text="RollTracker" justifyH="LEFT" justifyV="TOP">
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="10" y="-10"/>
							</Offset>
						</Anchor>
						<Anchor point="BOTTOMRIGHT" Point="TOPRIGHT">
							<Offset>
								<AbsDimension x="-10" y="-30"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>


				<FontString name="$parentStatusText" inherits="GameFontNormalSmall" text="0 Rolls" justifyH="LEFT" justifyV="TOP">
					<Color r="0.5" g="0.5" b="1.0"/>
					<Anchors>
						<Anchor point="BOTTOMLEFT">
							<Offset>
								<AbsDimension x="10" y="10"/>
							</Offset>
						</Anchor>
						<Anchor point="BOTTOMRIGHT">
							<Offset>
								<AbsDimension x="0" y="20"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>

			</Layer>
		</Layers>

		<Frames>
			<Button name="$parentCloseButton" inherits="UIPanelCloseButton">
				<Anchors>
					<Anchor point="TOPRIGHT" relativeTo="RollTrackerFrame" relativePoint="TOPRIGHT"/>
				</Anchors>
				<Scripts>
					<OnClick>
						RollTracker_OnCloseButtonClick()
					</OnClick>
				</Scripts>
			</Button>

			<Button name="$parentStopButton" inherits="UIPanelButtonTemplate" text="Stop">
				<Anchors>
					<Anchor point="TOPRIGHT" relativePoint="BOTTOMRIGHT" relativeTo="$parentCloseButton">
						<Offset>
							<AbsDimension x="-6" y="6"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Size><AbsDimension x="59" y="16"/></Size>
				<Scripts>
					<OnClick>
						RollTracker_OnStopButtonClick()
					</OnClick>
				</Scripts>
			</Button>

			<Button name="$parentStartButton" inherits="UIPanelButtonTemplate" text="Start">
				<Anchors>
					<Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentStopButton">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Size><AbsDimension x="59" y="16"/></Size>
				<Scripts>
					<OnClick>
						RollTracker_OnStartButtonClick()
					</OnClick>
				</Scripts>
			</Button>

			<Button name="$parentAnnounceButton" inherits="UIPanelButtonTemplate" text="Announce">
				<Anchors>
					<Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT" relativeTo="$parentStatusText">
						<Offset>
							<AbsDimension x="-4" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Size><AbsDimension x="120" y="16"/></Size>
				<Scripts>
					<OnClick>
						RollTracker_OnAnnounceButtonClick()
					</OnClick>
				</Scripts>
			</Button>
			<ScrollFrame name="$parentRollScrollFrame" inherits="UIPanelScrollFrameTemplate">
				<Anchors>
					<Anchor point="TOPLEFT">
						<Offset>
							<AbsDimension x="6" y="-45"/>
						</Offset>
					</Anchor>
					<Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT" relativeTo="$parentAnnounceButton">
						<Offset>
							<AbsDimension x="-24" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<ScrollChild>
					<Frame name="$parentScrollChild">
						<Size>
							<AbsDimension x="30" y="30"/>
						</Size>
						<Frames>
							<SimpleHTML name="RollTrackerRollText">

								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="RollTrackerFrameRollScrollFrameScrollChild">
										<Offset>
											<AbsDimension x="0" y="-2"/>
										</Offset>
									</Anchor>
									<Anchor point="BOTTOMRIGHT" relativeTo="RollTrackerFrameRollScrollFrame">
										<Offset>
											<AbsDimension x="0" y="2"/>
										</Offset>
									</Anchor>
									
										
								</Anchors>
								<FontString name="RollTrackerFontString" inherits="ChatFontNormal" justifyH="LEFT" justifyV="TOP">
									<Size>
										<AbsDimension x="270" y="0"/>
									</Size>
									<Color r="1" g="1" b="1" a="1.0" />
								</FontString>
							</SimpleHTML>
						</Frames>
					</Frame>
				</ScrollChild>
			</ScrollFrame>
		</Frames>
	
	
	
		<Scripts>
			<OnLoad>
				RollTracker_OnLoad()
			</OnLoad>
			<OnEvent>
				RollTracker_OnEvent(event)
			</OnEvent>
			<OnDragStart>
				RollTracker_OnDragStart()
			</OnDragStart>
			<OnDragStop>
				RollTracker_OnDragStop()
			</OnDragStop>

		</Scripts>
	</Frame>
	

	
</Ui>