<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="localization.lua" />
	<Script file="localization.de.lua" />
	<Script file="ChatBox.lua" />
	<Script file="ChatBoxConfig.lua" />
	<Script file="ChatBoxTimeStamp.lua" />
	
	<Frame name="ChatFrameScrollBoxTemplate" movable="true" setAllPoints="true" virtual="true">
      <Scripts>
				<OnUpdate>
					ChatBoxFrame_OnUpdate();
				</OnUpdate>
				<OnEvent>
					ChatBox_OnEvent(event);
				</OnEvent>
				<OnLoad>
					ChatBoxFrame_OnLoad();
				</OnLoad>
				<OnShow>
					if (this:GetParent():GetFrameLevel() > 2) then
						this:SetFrameLevel(this:GetParent():GetFrameLevel()-1);
					end
				</OnShow>
				<OnMouseWheel>
					ChatBoxFrame_OnMouseWheel(this:GetParent(), arg1);
				</OnMouseWheel>
      </Scripts>
    </Frame>
	<Frame name="$parentScrollBox" inherits="ChatFrameScrollBoxTemplate" parent="ChatFrame1" />
	<Frame name="$parentScrollBox" inherits="ChatFrameScrollBoxTemplate" parent="ChatFrame2" />
	<Frame name="$parentScrollBox" inherits="ChatFrameScrollBoxTemplate" parent="ChatFrame3" />
	<Frame name="$parentScrollBox" inherits="ChatFrameScrollBoxTemplate" parent="ChatFrame4" />
	<Frame name="$parentScrollBox" inherits="ChatFrameScrollBoxTemplate" parent="ChatFrame5" />
	<Frame name="$parentScrollBox" inherits="ChatFrameScrollBoxTemplate" parent="ChatFrame6" />
	<Frame name="$parentScrollBox" inherits="ChatFrameScrollBoxTemplate" parent="ChatFrame7" />
	
   <Frame name="ChatBoxHyperlinkerForm" hidden="true" toplevel="true" movable="true">
   <Size>
      <AbsDimension x="327" y="21" />
   </Size>
   <Anchors>
      <Anchor point="CENTER" relativeTo="UIParent">
         <Offset>
            <AbsDimension x="0" y="0" />
         </Offset>
      </Anchor>
   </Anchors>
   <Backdrop bgFile="Interface\TutorialFrame\TutorialFrameBackground" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
      <BackgroundInsets>
         <AbsInset left="3" right="5" top="3" bottom="5" />
      </BackgroundInsets>
      <TileSize>
         <AbsValue val="16" />
      </TileSize>
      <EdgeSize>
         <AbsValue val="16" />
      </EdgeSize>
   </Backdrop>
   <Frames>
      <Button name="$parentButton1" text="x">
         <Size>
            <AbsDimension x="14" y="14" />
         </Size>
      <Anchors>
         <Anchor point="BOTTOMRIGHT" relativeTo="$parent" relativePoint="TOPLEFT">
            <Offset>
               <AbsDimension x="5" y="-5" />
            </Offset>
         </Anchor>
      </Anchors>
      <Scripts>
         <OnMouseUp>
            ChatBoxHyperlinkerForm:Hide();
         </OnMouseUp>
      </Scripts>
      <NormalText name="$parentText" font="Fonts\FRIZQT__.TTF">
         <FontHeight>
            <AbsValue val="12" />
         </FontHeight>
         <Color r="1" g="0.8196079" b="0" />
         <Shadow>
            <Color r="0" g="0" b="0" />
            <Offset>
               <AbsDimension x="1" y="-1" />
            </Offset>
         </Shadow>
      </NormalText>
      <HighlightText font="Fonts\FRIZQT__.TTF">
         <FontHeight>
            <AbsValue val="12" />
         </FontHeight>
         <Color r="1" g="1" b="1" />
         <Shadow>
            <Color r="0" g="0" b="0" />
            <Offset>
               <AbsDimension x="1" y="-1" />
            </Offset>
         </Shadow>
      </HighlightText>
      <DisabledText font="Fonts\FRIZQT__.TTF">
         <FontHeight>
            <AbsValue val="12" />
         </FontHeight>
         <Color r="0.4980392" g="0.4980392" b="0.4980392" />
         <Shadow>
            <Color r="0" g="0" b="0" />
            <Offset>
               <AbsDimension x="1" y="-1" />
            </Offset>
         </Shadow>
      </DisabledText>
      <PushedTextOffset x="0" y="0" />
      </Button>
         <EditBox name="ChatBoxHyperlinkerFormEditBox" movable="true" frameStrata="DIALOG" enableMouse="true">
            <Size>
               <AbsDimension x="305" y="14" />
            </Size>
            <Anchors>
               <Anchor point="TOPLEFT">
                  <Offset>
                     <AbsDimension x="13" y="-3" />
                  </Offset>
               </Anchor>
            </Anchors>
            <Scripts>
               <OnEscapePressed>
                  ChatBoxHyperlinkerForm:Hide();
               </OnEscapePressed>
               <OnEditFocusGained>
                  this:HighlightText(0);
               </OnEditFocusGained>
            </Scripts>
            <FontString font="Fonts\ARIALN.TTF" nonspacewrap="true" justifyH="LEFT">
               <FontHeight>
                  <AbsValue val="10" />
               </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>
            <HighlightColor r="0.827451" g="0.827451" b="0.827451" />
            <TextInsets>
               <AbsInset left="0" right="0" top="0" bottom="0" />
            </TextInsets>
         </EditBox>
      </Frames>
   </Frame>
</Ui>
