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="config-enchants.lua"/>
	<Frame name="ww_configEnchantOptions" inherits="ww_borderedFrame" hidden="true">
		<Anchors>
			<Anchor point="TOPLEFT"/>
			<Anchor point="BOTTOMRIGHT"/>
		</Anchors>
		<Layers>
			<Layer level="ARTWORK">
				<FontString name="$parentHeader" parentKey="header" inherits="ww_headerFont"/>
			</Layer>
			<Layer level="BACKGROUND">
				<Texture setAllPoints="true">
					<!--Plain black background with 80% alpha-->
					<Color r="0" g="0" b="0" a="0.8"/>
				</Texture>
			</Layer>
		</Layers>
		<Frames>
			<CheckButton name="$parentUseCraftedEnchants" parentKey="useCraftedEnchants" inherits="ww_checkButton">
				<Anchors>
					<Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parentHeader"/>
				</Anchors>
				<Scripts>
					<OnClick function="ww_configEnchantsCraftedClick"/>
					<OnLoad function="ww_configEnchantsCraftedLoad"/>
				</Scripts>
			</CheckButton>
			<CheckButton name="$parentUsePVPVendorEnchants" parentKey="usePVPVendorEnchants" inherits="ww_checkButton">
				<Anchors>
					<Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parentUseCraftedEnchants"/>
				</Anchors>
				<Scripts>
					<OnClick function="ww_configEnchantsPVPVendorClick"/>
					<OnLoad function="ww_configEnchantsPVPVendorLoad"/>
				</Scripts>
			</CheckButton>
			<CheckButton name="$parentUseQuestEnchants" parentKey="useQuestEnchants" inherits="ww_checkButton">
				<Anchors>
					<Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parentUsePVPVendorEnchants"/>
				</Anchors>
				<Scripts>
					<OnClick function="ww_configEnchantsQuestClick"/>
					<OnLoad function="ww_configEnchantsQuestLoad"/>
				</Scripts>
			</CheckButton>
			<CheckButton name="$parentUseVendorEnchants" parentKey="useVendorEnchants" inherits="ww_checkButton">
				<Anchors>
					<Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parentUseQuestEnchants"/>
				</Anchors>
				<Scripts>
					<OnClick function="ww_configEnchantsVendorClick"/>
					<OnLoad function="ww_configEnchantsVendorLoad"/>
				</Scripts>
			</CheckButton>
			<Frame name="$parentConsiderRep" parentKey="considerRep" inherits="ww_labeledElement">
				<Anchors>
					<Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parentUseVendorEnchants"/>
					<Anchor point="LEFT">
						<Offset>
							<AbsDimension x="9" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Size>
					<AbsDimension x="0" y="30"/>
				</Size>
				<Frames>
					<Button name="$parentDropdown" parentKey="dropdown" inherits="UIDropDownMenuTemplate">
						<Anchors>
							<Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentLabel">
								<Offset>
									<AbsDimension x="-15" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnLoad function="ww_leftJustifyDropDownText"/>
							<OnShow function="ww_configEnchantsConsiderRepShow"/>
						</Scripts>
					</Button>
				</Frames>
				<Scripts>
					<OnLoad function="ww_configEnchantsConsiderRepLabel"/>
				</Scripts>
			</Frame>
			<CheckButton name="$parentConsiderBoa" parentKey="considerBoa" inherits="ww_checkButton">
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentConsiderRep">
						<Offset>
							<AbsDimension x="20" y="5"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick function="ww_configEnchantsConsiderBoaClick"/>
					<OnLoad function="ww_configEnchantsConsiderBoaLoad"/>
				</Scripts>
			</CheckButton>
			<Frame name="$parentConsiderProfessions" parentKey="considerProfessions" inherits="ww_labeledElement">
				<Anchors>
					<Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parentConsiderBoa"/>
					<Anchor point="LEFT">
						<Offset>
							<AbsDimension x="9" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Size>
					<AbsDimension x="0" y="30"/>
				</Size>
				<Frames>
					<Button name="$parentDropdown" parentKey="dropdown" inherits="UIDropDownMenuTemplate">
						<Anchors>
							<Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentLabel">
								<Offset>
									<AbsDimension x="-15" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnLoad function="ww_leftJustifyDropDownText"/>
							<OnShow function="ww_configEnchantsConsiderProfessionsShow"/>
						</Scripts>
					</Button>
				</Frames>
				<Scripts>
					<OnLoad function="ww_configEnchantsConsiderProfessionsLabel"/>
				</Scripts>
			</Frame>
		</Frames>
		<Scripts>
			<OnLoad function="ww_configEnchantsLoad"/>
		</Scripts>
	</Frame>
</Ui>