Quantcast
<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="TitanClassicLootType.lua"/>
	<Frame parent="UIParent">
		<Frames>
			<Button name="TitanPanelLootTypeButton" inherits="TitanPanelComboTemplate" frameStrata="FULLSCREEN" toplevel="true">
				<Scripts>
					<OnLoad>
						TitanPanelLootTypeButton_OnLoad(self);
						TitanPanelButton_OnLoad(self);
					</OnLoad>
					<OnEvent>
						TitanPanelLootTypeButton_OnEvent(self, event, ...);
					</OnEvent>
					<OnClick>
					TitanPanelLootTypeButton_OnClick(self, button);
					TitanPanelButton_OnClick(self, button);
					</OnClick>
				</Scripts>
			</Button>
		</Frames>
	</Frame>

	<Button name="TitanPanelLootType_MiniButton" inherits="UIPanelButtonTemplate" virtual="true">
		<NormalFont style="GameFontNormalSmall"/>
		<HighlightFont style="GameFontHighlightSmall"/>
		<DisabledFont style="GameFontDisableSmall"/>
		<Size><AbsDimension x="20" y="18"/></Size>
	</Button>
	<Button name="TitanPanelLootType_SmallButton" inherits="UIPanelButtonTemplate" virtual="true">
		<NormalFont style="GameFontNormalSmall"/>
		<HighlightFont style="GameFontHighlightSmall"/>
		<DisabledFont style="GameFontDisableSmall"/>
		<Size><AbsDimension y="16"/></Size>
	</Button>

	<!-- For the Track feature -->
	<Frame name="TitanPanelLootTypeMainWindow" parent="UIParent" hidden="true" toplevel="true" movable="true" enableMouse="true" frameStrata="HIGH" resizable="true">
		<Size><AbsDimension x="194" y="170"/></Size>
		<Anchors>
			<Anchor point="CENTER"/>
			<Offset><AbsDimension x="300" 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="64"/>
			</TileSize>
			<BackgroundInsets>
				<AbsInset left="5" right="5" top="5" bottom="5"/>
			</BackgroundInsets>
		</Backdrop>

		<Layers>
			<Layer level="BACKGROUND">
				<FontString name="$parentTitle" inherits="GameFontNormal" text="RollTracker Classic" justifyH="LEFT" justifyV="TOP">
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="10" y="-10"/>
							</Offset>
						</Anchor>
						<Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT">
							<Offset>
								<AbsDimension x="-10" y="-30"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>

		<Frames>
			<!-- headline -->
			<Button name="$parentCloseButton" inherits="TitanPanelLootType_MiniButton" Text="|TInterface\Buttons\UI-StopButton:0|t">
				<Anchors>
					<Anchor point="TOPRIGHT" relativeTo="$parent" relativePoint="TOPRIGHT">
						<Offset>
							<AbsDimension x="-6" y="-6"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						 TitanPanelLootType.BtnClose()
					</OnClick>
				</Scripts>
			</Button>

			<Frame name="TitanPanelLootTypeFrame" hidden="true" >
				<Anchors>
					<Anchor point="TOPLEFT" >
						<Offset>
							<AbsDimension x="8" y="-30"/>
						</Offset>
					</Anchor>
					<Anchor point="BOTTOMRIGHT" >
						<Offset>
							<AbsDimension x="-8" y="8"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Layers>
					<Layer level="BACKGROUND">
						<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="2" y="2"/>
									</Offset>
								</Anchor>
								<Anchor point="BOTTOMRIGHT">
									<Offset>
										<AbsDimension x="-2" y="12"/>
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
					</Layer>
				</Layers>
				<Frames>
					<!-- helper button -->
					<Button name="$parentHelperButton" inherits="UIPanelButtonTemplate" hidden="true" text="">
						<Anchors>
							<Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT" relativeTo="$parentStatusText"/>
							<Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT" relativeTo="$parentStatusText"/>
						</Anchors>
						<Size><AbsDimension y="5"/></Size>
						<Scripts>
							<OnSizeChanged>
								TitanPanelLootType.ResizeButtons()
							</OnSizeChanged>
						</Scripts>
					</Button>

					<!-- lower button line -->
					<Button name="$parentRollButton" inherits="TitanPanelLootType_SmallButton" text="Roll"> <!--1-->
						<Anchors>
							<Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT" relativeTo="$parentHelperButton"/>
						</Anchors>
						<Scripts>
							<OnClick>
								TitanPanelLootType.BtnRoll()
							</OnClick>
						</Scripts>
					</Button>

					<Button name="$parentPassButton" inherits="TitanPanelLootType_SmallButton" text="pass"> <!--3-->
						<Anchors>
							<Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT" relativeTo="$parentHelperButton"/>
						</Anchors>
						<Scripts>
							<OnClick>
								TitanPanelLootType.BtnPass()
							</OnClick>
						</Scripts>
					</Button>
					<!-- $parentGreedButton  Not used by Titan -->

					<!-- upper button line -->

					<Button name="$parentClearButton" inherits="TitanPanelLootType_SmallButton" text="announce"><!--1-->
						<Anchors>
							<Anchor point="LEFT" relativePoint="LEFT" relativeTo="$parentHelperButton"/>
							<Anchor point="BOTTOM" relativePoint="TOP" relativeTo="$parentRollButton">
								<Offset>
									<AbsDimension y="4"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnClick>
								TitanPanelLootType.BtnClearRolls()
							</OnClick>
						</Scripts>
					</Button>

					<Button name="$parentAnnounceButton" inherits="TitanPanelLootType_SmallButton" text="Clear"><!--3-->
						<Anchors>
							<Anchor point="RIGHT" relativePoint="RIGHT" relativeTo="$parentHelperButton"/>
							<Anchor point="BOTTOM" relativePoint="BOTTOM" relativeTo="$parentClearButton"/>
						</Anchors>
						<Scripts>
							<OnClick>
								TitanPanelLootType.BtnAnnounce()
							</OnClick>
						</Scripts>
					</Button>

					<Button name="$parentNotRolledButton" inherits="TitanPanelLootType_SmallButton" text="Not Rolled"><!--2-->
						<Anchors>
							<Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentClearButton"/>
							<Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentAnnounceButton"/>
							<Anchor point="BOTTOM" relativePoint="BOTTOM" relativeTo="$parentClearButton"/>
						</Anchors>
						<Scripts>
							<OnClick>
								TitanPanelLootType.BtnNotRolled()
							</OnClick>
						</Scripts>
					</Button>

					<!--button end -->

					<ScrollFrame name="$parentRollScrollFrame" inherits="UIPanelScrollFrameTemplate">
						<Anchors>
							<Anchor point="TOP" />
							<Anchor point="LEFT" relativePoint="LEFT" relativeTo="$parentClearButton"/>
							<Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT" relativeTo="$parentAnnounceButton">
								<Offset>
									<AbsDimension x="-20" y="5"/>
								</Offset>
							</Anchor>
						</Anchors>
						<ScrollChild>
							<Frame name="$parentScrollChild">
								<Size>
									<AbsDimension x="30" y="30"/>
								</Size>
								<Frames>
									<SimpleHTML name="RollTrackerRollText">
										<Anchors>
											<Anchor point="TOPLEFT" relativeTo="TitanPanelLootTypeFrameRollScrollFrameScrollChild">
												<Offset>
													<AbsDimension x="0" y="-2"/>
												</Offset>
											</Anchor>

											<Anchor point="BOTTOMRIGHT" relativeTo="TitanPanelLootTypeFrameRollScrollFrame">
												<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>
			</Frame>

			<!-- <>LOOTFRAME Not used by Titan -->

		</Frames>
	</Frame>
</Ui>