<GuiXml>
	<Controls>
		<Control name="ProfiteerLine" virtual="true">
			<Dimensions x="650" y="40"/>
			<Controls>
				<Label name="$(parent)Glyph" font="ZoFontGame" color="ZO_DEBUFF_COLOR">
					<Dimensions x="280" y="40"/>
					<Anchor point="TOPLEFT" offsetX="5" offsetY="0"/>
				</Label>
				<Label name="$(parent)Potency" font="ZoFontGame" color="ZO_DEBUFF_COLOR">
					<Dimensions x="100" y="40"/>
					<Anchor relativeTo="$(parent)Glyph" point="TOPLEFT" relativePoint="TOPRIGHT" offsetX="0" offsetY="0"/>
				</Label>
				<Label name="$(parent)Essence" font="ZoFontGame" color="ZO_DEBUFF_COLOR">
					<Dimensions x="100" y="40"/>
					<Anchor relativeTo="$(parent)Potency" point="TOPLEFT" relativePoint="TOPRIGHT" offsetX="0" offsetY="0"/>
				</Label>
				<Label name="$(parent)Aspect" font="ZoFontGame" color="ZO_DEBUFF_COLOR">
					<Dimensions x="100" y="40"/>
					<Anchor relativeTo="$(parent)Essence" point="TOPLEFT" relativePoint="TOPRIGHT" offsetX="0" offsetY="0"/>
				</Label>
				<Label name="$(parent)Price" font="ZoFontGame" color="ZO_DEBUFF_COLOR">
					<Dimensions x="70" y="40"/>
					<Anchor relativeTo="$(parent)Aspect" point="TOPLEFT" relativePoint="TOPRIGHT" offsetX="0" offsetY="0"/>
				</Label>
			</Controls>
			<OnInitialized>
				self.glyph = self:GetNamedChild("Glyph")
				self.potency = self:GetNamedChild("Potency")
				self.essence = self:GetNamedChild("Essence")
				self.aspect = self:GetNamedChild("Aspect")
				self.price = self:GetNamedChild("Price")
			</OnInitialized>
		</Control>
		<TopLevelControl name="ProfiteerController" mouseEnabled="true" movable="true" clampedToScreen="true" hidden="true">
			<Dimensions x="670" y="300"/>
			<Controls>
				<Backdrop name="$(parent)BG" inherits="ZO_ThinBackdrop"/>
				<Label name="$(parent)Title" font="ZoFontGame" color="ZO_DEBUFF_COLOR" text="Profiteer">
					<Dimensions x="660" y="40"/>
					<Anchor point="TOPLEFT" offsetX="5" offsetY="5"/>
				</Label>
 				<Control name="$(parent)Header" inherits="ProfiteerLine">
					<Anchor relativeTo="$(parent)Title" point="TOPLEFT" relativePoint="BOTTOMLEFT" offsetX="0" offsetY="5"/>
					<OnInitialized>
						self.glyph = self:GetNamedChild("Glyph")
						self.potency = self:GetNamedChild("Potency")
						self.essence = self:GetNamedChild("Essence")
						self.aspect = self:GetNamedChild("Aspect")
						self.price = self:GetNamedChild("Price")

						self.glyph:SetText("Glyph")
						self.potency:SetText("Potency")
						self.essence:SetText("Essence")
						self.aspect:SetText("Aspect")
						self.price:SetText("Price")

						self.glyph:SetHorizontalAlignment(TEXT_ALIGN_CENTER)
						self.potency:SetHorizontalAlignment(CENTER)
						self.essence:SetHorizontalAlignment(CENTER)
						self.aspect:SetHorizontalAlignment(CENTER)
						self.price:SetHorizontalAlignment(CENTER)
					</OnInitialized>
				</Control>
				<Backdrop name="$(parent)Results" inherits="ZO_ThinBackdrop">
					<Dimensions x="660" y="200"/>
					<Anchor relativeTo="$(parent)Header" point="TOPLEFT" relativePoint="BOTTOMLEFT" offsetX="0" offsetY="5"/>
					<Edge file="EsoUI\\Art\\miscellaneous\\borderedinsettransparent_edgefile.dds"/>
					<Controls>
						<Scroll name="$(parent)List">
							<Dimensions x="660" y="200"/>
							<Anchor point="TOPLEFT"/>
						</Scroll>
						<Slider name="$(parent)Slider" orientation="ORIENTATION_VERTICAL" step="1" inherits="ZO_VerticalScrollbarBase" enabled="true" mouseEnabled="true" allowDraggingFromThumb="true">
							<Anchor point="TOPRIGHT" relativePoint="TOPRIGHT" offsetX="0" offsetY="0"/>
							<Dimensions x="10" y="200"/>
							<OnValueChanged>
								Profiteer:OnSliderChanged(value)
							</OnValueChanged>
							<OnMouseWheel>
								Profiteer:OnMouseWheel(delta)
							</OnMouseWheel>
						</Slider>
					</Controls>
				</Backdrop>
			</Controls>
			<OnMoveStop>
				Profiteer:OnMoveStop()
			</OnMoveStop>
			<OnMouseWheel>
				Profiteer:OnMouseWheel(delta)
			</OnMouseWheel>

		</TopLevelControl>
	</Controls>
</GuiXml>