<Ui xmlns="http://www.blizzard.com/wow/ui" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Frame name="CantHealYouOptions" hidden="true">
  
    <Layers>
      <Layer level="OVERLAY">
        <FontString name="$parentTitle" font="GameFontNormalLarge" justifyH="LEFT" justifyV="TOP" text="CHY">
          <Anchors>
            <Anchor point="TOPLEFT">
              <Offset x="16" y="-16"/>
            </Anchor>
          </Anchors>
        </FontString>
        <FontString name="$parentVersion" font="GameFontNormalSmall" justifyH="LEFT" justifyV="BOTTOM">
          <Anchors>
            <Anchor point="BOTTOMLEFT" relativeTo="$parentTitle" relativePoint="BOTTOMRIGHT">
              <Offset x="4" y="1"/>
            </Anchor>
          </Anchors>
        </FontString>
        <FontString name="$parentListLabel" font="GameFontNormal" justifyH="LEFT" justifyV="TOP" text="Warn:">
          <Color r="1" b="1" g="1"/>
          <Anchors>
            <Anchor point="TOPLEFT">
              <Offset><AbsDimension x="22" y="-60"/></Offset>
            </Anchor>
          </Anchors>
        </FontString>
        <FontString name="$parentIntervalLabel" font="GameFontNormal" justifyH="LEFT" justifyV="TOP" text="interval">
          <Color r="1" b="1" g="1"/>
          <Anchors>
            <Anchor point="TOPLEFT">
              <Offset><AbsDimension x="110" y="-370"/></Offset>
            </Anchor>
          </Anchors>
        </FontString>
      </Layer>
    </Layers>
     
    <Frames>
    
      -- Master Switch
      <CheckButton name="$parentActive" inherits="InterfaceOptionsCheckButtonTemplate">
        <Anchors>
          <Anchor point="BOTTOMLEFT" relativeTo="$parentVersion" relativePoint="BOTTOMRIGHT">
            <Offset x="300" y="-3"/>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnLoad> CantHealYouOptions_CheckButtonText( this, CHYstrings.UImasterswitch, CHYstrings.UImasterswitchhelp ) </OnLoad>
        </Scripts>
      </CheckButton>
       
      -- Only Party/Raid/Guild switch
      <CheckButton name="$parentOnlyPartyRaidGuild" inherits="InterfaceOptionsCheckButtonTemplate">
        <Anchors>
          <Anchor point="BOTTOMLEFT" relativeTo="$parentListLabel" relativePoint="BOTTOMRIGHT">
            <Offset x="10" y="-3"/>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnLoad> CantHealYouOptions_CheckButtonText( this, CHYstrings.UIonlypartyraidguild, CHYstrings.UIonlypartyraidguildhelp ) </OnLoad>
        </Scripts>
      </CheckButton>
      
      -- Battleground switch
      <CheckButton name="$parentInBattlegrounds" inherits="InterfaceOptionsCheckButtonTemplate">
        <Anchors>
          <Anchor point="LEFT" relativeTo="$parentOnlyPartyRaidGuild" relativePoint="RIGHT">
            <Offset x="220" y="0"/>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnLoad> CantHealYouOptions_CheckButtonText( this, CHYstrings.UIinbattlegrounds, CHYstrings.UIinbattlegroundshelp ) </OnLoad>
        </Scripts>
      </CheckButton>
       
      -- Out of Range switch
      <CheckButton name="$parentDoOutOfRange" inherits="InterfaceOptionsCheckButtonTemplate">
        <Anchors>
          <Anchor point="TOPLEFT">
            <Offset><AbsDimension x="32" y="-97"/></Offset>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnLoad> CantHealYouOptions_CheckButtonText( this, CHYstrings.UIoutofrange, CHYstrings.UIoutofrangehelp ) </OnLoad>
        </Scripts>
      </CheckButton>
       
      <EditBox name="$parentOutOfRange" enableMouse="true">
        <Size><AbsDimension x="450" y="22"/></Size>
        <Anchors>
          <Anchor point="TOPLEFT" relativeTo="$parentDoOutOfRange" relativePoint="TOPRIGHT">
            <Offset x="100" y="0"/>
          </Anchor>
        </Anchors>
        <Layers>
          <Layer level="BACKGROUND">
            <Texture name="$parentLeft" file="Interface\Common\Common-Input-Border">
              <Size>
                <AbsDimension x="8" y="20" />
              </Size>
              <Anchors>
                <Anchor point="LEFT" />
              </Anchors>
              <TexCoords left="0" right="0.0625" top="0" bottom="0.625" />
            </Texture>
            <Texture name="$parentRight" file="Interface\Common\Common-Input-Border">
              <Size>
                <AbsDimension x="8" y="20" />
              </Size>
              <Anchors>
                <Anchor point="RIGHT" />
              </Anchors>
              <TexCoords left="0.9375" right="1" top="0" bottom="0.625" />
            </Texture>
            <Texture name="$parentMiddle" file="Interface\Common\Common-Input-Border">
              <Size>
                <AbsDimension x="10" y="20" />
              </Size>
              <Anchors>
                <Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT" />
                <Anchor point="RIGHT" relativeTo="$parentRight" relativePoint="LEFT" />
              </Anchors>
              <TexCoords left="0.0625" right="0.9375" top="0" bottom="0.625" />
            </Texture>
          </Layer>
        </Layers>
        <FontString font="Fonts\ARIALN.TTF">
          <FontHeight>
            <AbsValue val="14" />
          </FontHeight>
          <Color r="1" g="1" b="1" />
          <Shadow>
            <Color r="0" g="0" b="0" />
            <Offset>
              <AbsDimension x="1" y="-1" />
            </Offset>
          </Shadow>
        </FontString>
      </EditBox>

      -- Line of Sight switch
      <CheckButton name="$parentDoLineOfSight" inherits="InterfaceOptionsCheckButtonTemplate">
        <Anchors>
          <Anchor point="TOPLEFT" relativeTo="$parentDoOutOfRange" relativePoint="BOTTOMLEFT">
            <Offset x="0" y="-23"/>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnLoad> CantHealYouOptions_CheckButtonText( this, CHYstrings.UIlineofsight, CHYstrings.UIlineofsighthelp ) </OnLoad>
        </Scripts>
      </CheckButton>
       
      <EditBox name="$parentLineOfSight" enableMouse="true">
        <Size><AbsDimension x="450" y="22"/></Size>
        <Anchors>
          <Anchor point="TOPLEFT" relativeTo="$parentDoLineOfSight" relativePoint="TOPRIGHT">
            <Offset x="100" y="0"/>
          </Anchor>
        </Anchors>
        <Layers>
          <Layer level="BACKGROUND">
            <Texture name="$parentLeft" file="Interface\Common\Common-Input-Border">
              <Size>
                <AbsDimension x="8" y="20" />
              </Size>
              <Anchors>
                <Anchor point="LEFT" />
              </Anchors>
              <TexCoords left="0" right="0.0625" top="0" bottom="0.625" />
            </Texture>
            <Texture name="$parentRight" file="Interface\Common\Common-Input-Border">
              <Size>
                <AbsDimension x="8" y="20" />
              </Size>
              <Anchors>
                <Anchor point="RIGHT" />
              </Anchors>
              <TexCoords left="0.9375" right="1" top="0" bottom="0.625" />
            </Texture>
            <Texture name="$parentMiddle" file="Interface\Common\Common-Input-Border">
              <Size>
                <AbsDimension x="10" y="20" />
              </Size>
              <Anchors>
                <Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT" />
                <Anchor point="RIGHT" relativeTo="$parentRight" relativePoint="LEFT" />
              </Anchors>
              <TexCoords left="0.0625" right="0.9375" top="0" bottom="0.625" />
            </Texture>
          </Layer>
        </Layers>
        <FontString font="Fonts\ARIALN.TTF">
          <FontHeight>
            <AbsValue val="14" />
          </FontHeight>
          <Color r="1" g="1" b="1" />
          <Shadow>
            <Color r="0" g="0" b="0" />
            <Offset>
              <AbsDimension x="1" y="-1" />
            </Offset>
          </Shadow>
        </FontString>
      </EditBox>

      -- Buff Bounced switch
      <CheckButton name="$parentDoAuraBounced" inherits="InterfaceOptionsCheckButtonTemplate">
        <Anchors>
          <Anchor point="TOPLEFT" relativeTo="$parentDoLineOfSight" relativePoint="BOTTOMLEFT">
            <Offset x="0" y="-23"/>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnLoad> CantHealYouOptions_CheckButtonText( this, CHYstrings.UIbuffbounced, CHYstrings.UIbuffbouncedhelp) </OnLoad>
        </Scripts>
      </CheckButton>
       
      <EditBox name="$parentAuraBounced" enableMouse="true">
        <Size><AbsDimension x="450" y="22"/></Size>
        <Anchors>
          <Anchor point="TOPLEFT" relativeTo="$parentDoAuraBounced" relativePoint="TOPRIGHT">
            <Offset x="100" y="0"/>
          </Anchor>
        </Anchors>
        <Layers>
          <Layer level="BACKGROUND">
            <Texture name="$parentLeft" file="Interface\Common\Common-Input-Border">
              <Size>
                <AbsDimension x="8" y="20" />
              </Size>
              <Anchors>
                <Anchor point="LEFT" />
              </Anchors>
              <TexCoords left="0" right="0.0625" top="0" bottom="0.625" />
            </Texture>
            <Texture name="$parentRight" file="Interface\Common\Common-Input-Border">
              <Size>
                <AbsDimension x="8" y="20" />
              </Size>
              <Anchors>
                <Anchor point="RIGHT" />
              </Anchors>
              <TexCoords left="0.9375" right="1" top="0" bottom="0.625" />
            </Texture>
            <Texture name="$parentMiddle" file="Interface\Common\Common-Input-Border">
              <Size>
                <AbsDimension x="10" y="20" />
              </Size>
              <Anchors>
                <Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT" />
                <Anchor point="RIGHT" relativeTo="$parentRight" relativePoint="LEFT" />
              </Anchors>
              <TexCoords left="0.0625" right="0.9375" top="0" bottom="0.625" />
            </Texture>
          </Layer>
        </Layers>
        <FontString font="Fonts\ARIALN.TTF">
          <FontHeight>
            <AbsValue val="14" />
          </FontHeight>
          <Color r="1" g="1" b="1" />
          <Shadow>
            <Color r="0" g="0" b="0" />
            <Offset>
              <AbsDimension x="1" y="-1" />
            </Offset>
          </Shadow>
        </FontString>
      </EditBox>

      -- Interrupted switch
      <CheckButton name="$parentDoInterrupted" inherits="InterfaceOptionsCheckButtonTemplate">
        <Anchors>
          <Anchor point="TOPLEFT" relativeTo="$parentDoAuraBounced" relativePoint="BOTTOMLEFT">
            <Offset x="0" y="-23"/>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnLoad> CantHealYouOptions_CheckButtonText( this, CHYstrings.UIinterrupted, CHYstrings.UIinterruptedhelp) </OnLoad>
        </Scripts>
      </CheckButton>
       
      <EditBox name="$parentInterrupted" enableMouse="true">
        <Size><AbsDimension x="450" y="22"/></Size>
        <Anchors>
          <Anchor point="TOPLEFT" relativeTo="$parentDoInterrupted" relativePoint="TOPRIGHT">
            <Offset x="100" y="0"/>
          </Anchor>
        </Anchors>
        <Layers>
          <Layer level="BACKGROUND">
            <Texture name="$parentLeft" file="Interface\Common\Common-Input-Border">
              <Size>
                <AbsDimension x="8" y="20" />
              </Size>
              <Anchors>
                <Anchor point="LEFT" />
              </Anchors>
              <TexCoords left="0" right="0.0625" top="0" bottom="0.625" />
            </Texture>
            <Texture name="$parentRight" file="Interface\Common\Common-Input-Border">
              <Size>
                <AbsDimension x="8" y="20" />
              </Size>
              <Anchors>
                <Anchor point="RIGHT" />
              </Anchors>
              <TexCoords left="0.9375" right="1" top="0" bottom="0.625" />
            </Texture>
            <Texture name="$parentMiddle" file="Interface\Common\Common-Input-Border">
              <Size>
                <AbsDimension x="10" y="20" />
              </Size>
              <Anchors>
                <Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT" />
                <Anchor point="RIGHT" relativeTo="$parentRight" relativePoint="LEFT" />
              </Anchors>
              <TexCoords left="0.0625" right="0.9375" top="0" bottom="0.625" />
            </Texture>
          </Layer>
        </Layers>
        <FontString font="Fonts\ARIALN.TTF">
          <FontHeight>
            <AbsValue val="14" />
          </FontHeight>
          <Color r="1" g="1" b="1" />
          <Shadow>
            <Color r="0" g="0" b="0" />
            <Offset>
              <AbsDimension x="1" y="-1" />
            </Offset>
          </Shadow>
        </FontString>
      </EditBox>

      -- Incapacitated switch
      <CheckButton name="$parentDoLostControl" inherits="InterfaceOptionsCheckButtonTemplate">
        <Anchors>
          <Anchor point="TOPLEFT" relativeTo="$parentDoInterrupted" relativePoint="BOTTOMLEFT">
            <Offset x="0" y="-23"/>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnLoad> CantHealYouOptions_CheckButtonText( this, CHYstrings.UIincapacitated, CHYstrings.UIincapacitatedhelp) </OnLoad>
        </Scripts>
      </CheckButton>
       
      <EditBox name="$parentLostControl" enableMouse="true">
        <Size><AbsDimension x="450" y="22"/></Size>
        <Anchors>
          <Anchor point="TOPLEFT" relativeTo="$parentDoLostControl" relativePoint="TOPRIGHT">
            <Offset x="100" y="0"/>
          </Anchor>
        </Anchors>
        <Layers>
          <Layer level="BACKGROUND">
            <Texture name="$parentLeft" file="Interface\Common\Common-Input-Border">
              <Size>
                <AbsDimension x="8" y="20" />
              </Size>
              <Anchors>
                <Anchor point="LEFT" />
              </Anchors>
              <TexCoords left="0" right="0.0625" top="0" bottom="0.625" />
            </Texture>
            <Texture name="$parentRight" file="Interface\Common\Common-Input-Border">
              <Size>
                <AbsDimension x="8" y="20" />
              </Size>
              <Anchors>
                <Anchor point="RIGHT" />
              </Anchors>
              <TexCoords left="0.9375" right="1" top="0" bottom="0.625" />
            </Texture>
            <Texture name="$parentMiddle" file="Interface\Common\Common-Input-Border">
              <Size>
                <AbsDimension x="10" y="20" />
              </Size>
              <Anchors>
                <Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT" />
                <Anchor point="RIGHT" relativeTo="$parentRight" relativePoint="LEFT" />
              </Anchors>
              <TexCoords left="0.0625" right="0.9375" top="0" bottom="0.625" />
            </Texture>
          </Layer>
        </Layers>
        <FontString font="Fonts\ARIALN.TTF">
          <FontHeight>
            <AbsValue val="14" />
          </FontHeight>
          <Color r="1" g="1" b="1" />
          <Shadow>
            <Color r="0" g="0" b="0" />
            <Offset>
              <AbsDimension x="1" y="-1" />
            </Offset>
          </Shadow>
        </FontString>
      </EditBox>
       
      <EditBox name="$parentGainedControl" enableMouse="true">
        <Size><AbsDimension x="450" y="22"/></Size>
        <Anchors>
          <Anchor point="TOPLEFT" relativeTo="$parentLostControl" relativePoint="TOPLEFT">
            <Offset x="0" y="-32"/>
          </Anchor>
        </Anchors>
        <Layers>
          <Layer level="BACKGROUND">
            <Texture name="$parentLeft" file="Interface\Common\Common-Input-Border">
              <Size>
                <AbsDimension x="8" y="20" />
              </Size>
              <Anchors>
                <Anchor point="LEFT" />
              </Anchors>
              <TexCoords left="0" right="0.0625" top="0" bottom="0.625" />
            </Texture>
            <Texture name="$parentRight" file="Interface\Common\Common-Input-Border">
              <Size>
                <AbsDimension x="8" y="20" />
              </Size>
              <Anchors>
                <Anchor point="RIGHT" />
              </Anchors>
              <TexCoords left="0.9375" right="1" top="0" bottom="0.625" />
            </Texture>
            <Texture name="$parentMiddle" file="Interface\Common\Common-Input-Border">
              <Size>
                <AbsDimension x="10" y="20" />
              </Size>
              <Anchors>
                <Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT" />
                <Anchor point="RIGHT" relativeTo="$parentRight" relativePoint="LEFT" />
              </Anchors>
              <TexCoords left="0.0625" right="0.9375" top="0" bottom="0.625" />
            </Texture>
          </Layer>
        </Layers>
        <FontString font="Fonts\ARIALN.TTF">
          <FontHeight>
            <AbsValue val="14" />
          </FontHeight>
          <Color r="1" g="1" b="1" />
          <Shadow>
            <Color r="0" g="0" b="0" />
            <Offset>
              <AbsDimension x="1" y="-1" />
            </Offset>
          </Shadow>
        </FontString>
      </EditBox>       
       
      <EditBox name="$parentInterval" enableMouse="true" numeric="true">
        <Size><AbsDimension x="50" y="27"/></Size>
        <Anchors>
          <Anchor point="TOPLEFT" relativeTo="$parentDoLostControl" relativePoint="TOPRIGHT">
            <Offset x="0" y="-64"/>
          </Anchor>
        </Anchors>
        <Layers>
          <Layer level="BACKGROUND">
            <Texture name="$parentLeft" file="Interface\Common\Common-Input-Border">
              <Size>
                <AbsDimension x="8" y="20" />
              </Size>
              <Anchors>
                <Anchor point="LEFT" />
              </Anchors>
              <TexCoords left="0" right="0.0625" top="0" bottom="0.625" />
            </Texture>
            <Texture name="$parentRight" file="Interface\Common\Common-Input-Border">
              <Size>
                <AbsDimension x="8" y="20" />
              </Size>
              <Anchors>
                <Anchor point="RIGHT" />
              </Anchors>
              <TexCoords left="0.9375" right="1" top="0" bottom="0.625" />
            </Texture>
            <Texture name="$parentMiddle" file="Interface\Common\Common-Input-Border">
              <Size>
                <AbsDimension x="10" y="20" />
              </Size>
              <Anchors>
                <Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT" />
                <Anchor point="RIGHT" relativeTo="$parentRight" relativePoint="LEFT" />
              </Anchors>
              <TexCoords left="0.0625" right="0.9375" top="0" bottom="0.625" />
            </Texture>
          </Layer>
        </Layers>
        <FontString font="Fonts\ARIALN.TTF">
          <FontHeight>
            <AbsValue val="14" />
          </FontHeight>
          <Color r="1" g="1" b="1" />
          <Shadow>
            <Color r="0" g="0" b="0" />
            <Offset>
              <AbsDimension x="1" y="-1" />
            </Offset>
          </Shadow>
        </FontString>
      </EditBox>
      <!--
      <Button name="$parentSaveDefaults" inherits="OptionsButtonTemplate" text="Save Defaults">
        <Size><AbsDimension x="140" y="22"/></Size>
        <Anchors>
          <Anchor point="BOTTOMRIGHT" relativeTo="$parent" relativePoint="BOTTOMRIGHT">
            <Offset x="-5" y="5"/>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnLoad> this:SetText( CHYstrings.UIsavedefaults ) </OnLoad>
          <OnClick> CantHealYouOptions_SaveDefaults() </OnClick>
        </Scripts>
      </Button>
      
      <Button name="$parentLoadDefaults" inherits="OptionsButtonTemplate" text="Load Defaults">
        <Size><AbsDimension x="140" y="22"/></Size>
        <Anchors>
          <Anchor point="RIGHT" relativeTo="$parentSaveDefaults" relativePoint="LEFT">
            <Offset x="-5"/>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnLoad> this:SetText( CHYstrings.UIloaddefaults ) </OnLoad>
          <OnClick> CantHealYouOptions_LoadDefaults() </OnClick>
        </Scripts>
      </Button>
      -->
       
    </Frames>
    
    <Scripts>
      <OnLoad> CantHealYouOptions_OnLoad() </OnLoad>
      <OnShow> CantHealYouOptions_OnShow() </OnShow>
    </Scripts>
    
  </Frame>
</Ui>