<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/"> 

<Frame name="GB_MiscOptions" parent="GB_Options" inherits="GB_BGTemplate" hidden="true">
	<Size><AbsDimension x="545" y="540"/></Size>
	<Anchors>
		<Anchor point="TOPLEFT" relativeTo="GB_OptionsTitle" relativePoint="BOTTOMLEFT"/>
	</Anchors>
	<Frames>
		<CheckButton name="$parent_DoNotAttack" inherits="GB_CheckBoxTemplate">
			<Anchors>
				<Anchor point="TOPLEFT">
					<Offset><AbsDimension x="10" y="-10"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "dontAttack";
					GB_Set_Label(GB_TEXT.DoNotAttack);
				</OnLoad>
			</Scripts>
		</CheckButton>
		<CheckButton name="$parent_DisableTooltip" inherits="GB_CheckBoxTemplate">
			<Anchors>
				<Anchor point="TOP" relativeTo="$parent_DoNotAttack" relativePoint="BOTTOM"/>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "disableTooltip";
					GB_Set_Label(GB_TEXT.DisableTooltip);
				</OnLoad>
			</Scripts>
		</CheckButton>
		<CheckButton name="$parent_DoNotTargetPet" inherits="GB_CheckBoxTemplate">
			<Anchors>
				<Anchor point="TOP" relativeTo="$parent_DisableTooltip" relativePoint="BOTTOM"/>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "dontTargetPet";
					GB_Set_Label(GB_TEXT.DoNotTargetPet);
				</OnLoad>
			</Scripts>
		</CheckButton>
		<CheckButton name="$parent_IncludePets" inherits="GB_CheckBoxTemplate">
			<Anchors>
				<Anchor point="TOP" relativeTo="$parent_DoNotTargetPet" relativePoint="BOTTOM"/>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "includePets";
					GB_Set_Label(GB_TEXT.IncludePets);
				</OnLoad>
			</Scripts>
		</CheckButton>
		<CheckButton name="$parent_IncludeRaid" inherits="GB_CheckBoxTemplate">
			<Anchors>
				<Anchor point="TOP" relativeTo="$parent_IncludePets" relativePoint="BOTTOM"/>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "includeRaid";
					GB_Set_Label(GB_TEXT.IncludeRaid);
				</OnLoad>
			</Scripts>
		</CheckButton>
		<CheckButton name="$parent_HideBaseKeybindings" inherits="GB_CheckBoxTemplate">
			<Anchors>
				<Anchor point="TOP" relativeTo="$parent_IncludeRaid" relativePoint="BOTTOM"/>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "hideBaseBindings";
					GB_Set_Label(GB_TEXT.HideBaseBindings);
				</OnLoad>
			</Scripts>
		</CheckButton>
		<CheckButton name="$parent_ModifyByUIScale" inherits="GB_CheckBoxTemplate">
			<Anchors>
				<Anchor point="LEFT" relativeTo="$parent_HideBaseKeybindings" relativePoint="RIGHT">
					<Offset><AbsDimension x="300" y="0"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "modifybyUIscale";
					GB_Set_Label(GB_TEXT.ModifyByUIScale);
				</OnLoad>
			</Scripts>
		</CheckButton>
		<CheckButton name="$parent_HideDynamicKeybindings" inherits="GB_CheckBoxTemplate">
			<Anchors>
				<Anchor point="TOP" relativeTo="$parent_HideBaseKeybindings" relativePoint="BOTTOM"/>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "hideDynamicBindings";
					GB_Set_Label(GB_TEXT.HideDynamicBindings);
				</OnLoad>
			</Scripts>
		</CheckButton>
		<CheckButton name="$parent_HideInRaid" inherits="GB_CheckBoxTemplate">
			<Anchors>
				<Anchor point="TOP" relativeTo="$parent_HideDynamicKeybindings" relativePoint="BOTTOM"/>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "hideInRaid";
					GB_Set_Label(GB_TEXT.HideInRaid);
				</OnLoad>
			</Scripts>
		</CheckButton>
		<CheckButton name="$parent_AutoCancelForm" inherits="GB_CheckBoxTemplate">
			<Anchors>
				<Anchor point="LEFT" relativeTo="$parent_HideDynamicKeybindings" relativePoint="RIGHT">
					<Offset><AbsDimension x="225" y="0"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "autoleaveform";
					GB_Set_Label(GB_TEXT.AutoCancel);
				</OnLoad>
			</Scripts>
		</CheckButton>
		<CheckButton name="$parent_LimitLHRange" inherits="GB_CheckBoxTemplate">
			<Anchors>
				<Anchor point="TOPLEFT" relativeTo="$parent_AutoCancelForm" relativePoint="BOTTOMLEFT">
					<Offset><AbsDimension x="0" y="0"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "limitlhrange";
					GB_Set_Label(GB_TEXT.LimitLHRange);
				</OnLoad>
			</Scripts>
		</CheckButton>
		<CheckButton name="$parent_LimitAERange" inherits="GB_CheckBoxTemplate">
			<Anchors>
				<Anchor point="TOPLEFT" relativeTo="$parent_LimitLHRange" relativePoint="BOTTOMLEFT">
					<Offset><AbsDimension x="0" y="0"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "limitaerange";
					GB_Set_Label(GB_TEXT.LimitAERange);
				</OnLoad>
			</Scripts>
		</CheckButton>
		<CheckButton name="$parent_ChangeTarget" inherits="GB_CheckBoxTemplate">
			<Anchors>
				<Anchor point="TOP" relativeTo="$parent_HideInRaid" relativePoint="BOTTOM"/>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "changeTarget";
					GB_Set_Label(GB_TEXT.ChangeTarget);
				</OnLoad>
			</Scripts>
		</CheckButton>
		<CheckButton name="$parent_DisableGB" inherits="GB_CheckBoxTemplate">
			<Anchors>
				<Anchor point="TOP" relativeTo="$parent_ChangeTarget" relativePoint="BOTTOM"/>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "Disable";
					this.func = DisableGB;
					GB_Set_Label(GB_TEXT.DisableGB);
				</OnLoad>
			</Scripts>
		</CheckButton>
		<CheckButton name="$parent_DisablePartyRange" inherits="GB_CheckBoxTemplate">
			<Anchors>
				<Anchor point="TOP" relativeTo="$parent_DisableGB" relativePoint="BOTTOM"/>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "disablePartyRange";
					GB_Set_Label(GB_TEXT.DisablePartyRange);
				</OnLoad>
			</Scripts>
		</CheckButton>
		<CheckButton name="$parent_ShowCooldown" inherits="GB_CheckBoxTemplate">
			<Anchors>
				<Anchor point="TOP" relativeTo="$parent_DisablePartyRange" relativePoint="BOTTOM"/>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "showCooldown";
					GB_Set_Label(GB_TEXT.ShowCooldownCount);
				</OnLoad>
			</Scripts>
		</CheckButton>
		<CheckButton name="$parent_ApplyPOonCtrl" inherits="GB_CheckBoxTemplate">
			<Anchors>
				<Anchor point="TOP" relativeTo="$parent_ShowCooldown" relativePoint="BOTTOM"/>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "applyPOonCtrl";
					GB_Set_Label(GB_TEXT.ApplyPOOnCtrl);
				</OnLoad>
			</Scripts>
		</CheckButton>
		<CheckButton name="$parent_DisableGroupButtonsSpam" inherits="GB_CheckBoxTemplate">
			<Anchors>
				<Anchor point="TOP" relativeTo="$parent_ApplyPOonCtrl" relativePoint="BOTTOM"/>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "disableGBSpam";
					GB_Set_Label(GB_TEXT.DisableGBSpam);
				</OnLoad>
			</Scripts>
		</CheckButton>
		<CheckButton name="$parent_DisableCantDoYetSpam" inherits="GB_CheckBoxTemplate">
			<Anchors>
				<Anchor point="TOP" relativeTo="$parent_DisableGroupButtonsSpam" relativePoint="BOTTOM"/>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "disableCantDoYetSpam";
					GB_Set_Label(GB_TEXT.DisableCantDoYetSpam);
				</OnLoad>
			</Scripts>
		</CheckButton>
		<CheckButton name="$parent_DisableActionInProgressSpam" inherits="GB_CheckBoxTemplate">
			<Anchors>
				<Anchor point="TOP" relativeTo="$parent_DisableCantDoYetSpam" relativePoint="BOTTOM"/>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "disableActionInProgressSpam";
					GB_Set_Label(GB_TEXT.DisableActionInProgressSpam);
				</OnLoad>
			</Scripts>
		</CheckButton>
		<CheckButton name="$parent_DisableOutOfRangeSpam" inherits="GB_CheckBoxTemplate">
			<Anchors>
				<Anchor point="TOP" relativeTo="$parent_DisableActionInProgressSpam" relativePoint="BOTTOM"/>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "disableOutOfRangeSpam";
					GB_Set_Label(GB_TEXT.DisableOutOfRangeSpam);
				</OnLoad>
			</Scripts>
		</CheckButton>
		<Frame name="$parent_ChooseClickbox" inherits="GB_MenuControlTemplate">
			<Size><AbsDimension x="100" y="26"/></Size>
			<Scripts>
				<OnLoad>
					this:SetBackdropColor(0.0, 0.0, 0.0);
					this.menu = "GB_Menu_Clickboxes";
					GB_Set_Label(GB_TEXT.AdjustClickbox);
					GB_Set_Anchor("_DisableOutOfRangeSpam", 100, 0);
				</OnLoad>
			</Scripts>
		</Frame>
		<Slider name="$parent_ClickboxX1" inherits="GB_SliderTemplate" minValue="-50" maxValue="50"  valueStep="1" id="555">
			<Anchors>
				<Anchor point="TOPLEFT" relativeTo="$parent_DisableOutOfRangeSpam" relativePoint="BOTTOMLEFT">
					<Offset><AbsDimension x="0" y="-50"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "x1";
					this.func = GB_UnitFrames_Initialize;
					GB_Set_Label(GB_TEXT.ClickboxLeftXOffset);
				</OnLoad>
			</Scripts>
		</Slider>
		<Slider name="$parent_ClickboxX2" inherits="GB_SliderTemplate" minValue="-50" maxValue="50"  valueStep="1" id="555">
			<Anchors>
				<Anchor point="TOP" relativeTo="$parent_ClickboxX1" relativePoint="BOTTOM">
					<Offset><AbsDimension x="0" y="-20"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "x2";
					this.func = GB_UnitFrames_Initialize;
					GB_Set_Label(GB_TEXT.ClickboxRightXOffset);
				</OnLoad>
			</Scripts>
		</Slider>
		<Slider name="$parent_ClickboxY1" inherits="GB_SliderTemplate" minValue="-50" maxValue="50"  valueStep="1" id="555">
			<Anchors>
				<Anchor point="LEFT" relativeTo="$parent_ClickboxX1" relativePoint="RIGHT">
					<Offset><AbsDimension x="60" y="0"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "y1";
					this.func = GB_UnitFrames_Initialize;
					GB_Set_Label(GB_TEXT.ClickboxTopYOffset);
				</OnLoad>
			</Scripts>
		</Slider>
		<Slider name="$parent_ClickboxY2" inherits="GB_SliderTemplate" minValue="-50" maxValue="50"  valueStep="1" id="555">
			<Anchors>
				<Anchor point="TOP" relativeTo="$parent_ClickboxY1" relativePoint="BOTTOM">
					<Offset><AbsDimension x="0" y="-20"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "y2";
					this.func = GB_UnitFrames_Initialize;
					GB_Set_Label(GB_TEXT.ClickboxBottomYOffset);
				</OnLoad>
			</Scripts>
		</Slider>
		<Button name="$parent_OORColor" inherits="GB_ColorPickerTemplate">
			<Anchors>
				<Anchor point="LEFT" relativePoint="TOPRIGHT">
					<Offset><AbsDimension x="-130" y="-40"/></Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "OORcolor";
					GB_Set_Label(GB_TEXT.Range);
				</OnLoad>
			</Scripts>
		</Button>
		<Button name="$parent_OOMColor" inherits="GB_ColorPickerTemplate">
			<Anchors>
				<Anchor point="TOP" relativeTo="$parent_OORColor" relativePoint="BOTTOM"/>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "OOMcolor";
					GB_Set_Label(GB_TEXT.Mana);
				</OnLoad>
			</Scripts>
		</Button>
		<Button name="$parent_GreyColor" inherits="GB_ColorPickerTemplate">
			<Anchors>
				<Anchor point="TOP" relativeTo="$parent_OOMColor" relativePoint="BOTTOM"/>
			</Anchors>
			<Scripts>
				<OnLoad>
					this.index = "greycolor";
					GB_Set_Label(GB_TEXT.Grey);
				</OnLoad>
			</Scripts>
		</Button>
		<EditBox name="$parent_HealingBonus" letters="4" autoFocus="false" inherits="InputBoxTemplate">
			<Size><AbsDimension x="70" y="16"/></Size>
			<Anchors>
				<Anchor point="TOPRIGHT">
					<Offset><AbsDimension x="-50" y="-250"/></Offset>
				</Anchor>
			</Anchors>
			<Layers>
				<Layer level="BACKGROUND">
					<FontString name="$parent_Label" inherits="GameFontNormal">
						<Color r="1.0" g="1.0" b="1.0"/>
						<Anchors>
							<Anchor point="BOTTOM" relativePoint="TOP"/>
						</Anchors>
					</FontString>
				</Layer>
			</Layers>
			<Scripts>
				<OnLoad>
					GB_MiscOptions_HealingBonus_Label:SetText(GB_TEXT.HealingBonus);
				</OnLoad>
				<OnEnterPressed>
					this:ClearFocus();
					GB_Set_HealingBonus();
				</OnEnterPressed>
				<OnEscapePressed>
					this:ClearFocus();
					this:SetText(GB_Settings[GB_INDEX].HealingBonus);
				</OnEscapePressed>
			</Scripts>
		</EditBox>
	</Frames>
	<Layers>
		<Layer level="ARTWORK">
			<FontString name="$parent_Label" inherits="GameFontNormal" justifyH="LEFT" text="GB_COLORS">
				<Color r="1.0" g="1.0" b="0"/>
				<Anchors>
					<Anchor point="LEFT" relativePoint="TOPRIGHT">
						<Offset><AbsDimension x="-130" y="-20"/></Offset>
					</Anchor>
				</Anchors>
			</FontString>
		</Layer>
	</Layers>
	<Scripts>
		<OnLoad>
			this:SetBackdropColor(.2, .2, .2);			
		</OnLoad>
	</Scripts>
</Frame>

</Ui>