vanilla-wow-addons – Rev 1

Subversion Repositories:
Rev:
<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 to handle all core events -->
   <Frame name="VanasKoS_CoreFrame">
      <Scripts>
         <OnLoad>
            VanasKoS_CoreFrame:Hide();
         </OnLoad>

         <OnUpdate>
            VanasKoS:OnUpdate();
         </OnUpdate>
      </Scripts>
   </Frame>

   <Frame name="VanasKoS_WarnFrame" toplevel="true" enableMouse="true" parent="UIParent" movable="true" hidden="false">
      <Size>
         <AbsDimension x="130" y="81" />
      </Size>

      <Anchors>
         <Anchor point="CENTER" />
      </Anchors>

      <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
         <BackgroundInsets>
            <AbsInset left="5" right="4" top="5" bottom="5" />
         </BackgroundInsets>

         <TileSize>
            <AbsValue val="16" />
         </TileSize>

         <EdgeSize>
            <AbsValue val="16" />
         </EdgeSize>
      </Backdrop>

      <TitleRegion setAllPoints="true" />

      <Frames>
         <Frame setAllPoints="true">
            <Frames>
               <Frame setAllPoints="true">
                  <Layers>
                     <Layer level="BACKGROUND">
                        <FontString name="$parentText0" inherits="TextStatusBarText" />
                        <FontString name="$parentText1" inherits="TextStatusBarText" />
                        <FontString name="$parentText2" inherits="TextStatusBarText" />
                        <FontString name="$parentText3" inherits="TextStatusBarText" />
                        <FontString name="$parentText4" inherits="TextStatusBarText" />
                     </Layer>
                  </Layers>
               </Frame>
            </Frames>
         </Frame>
      </Frames>

      <Scripts>
         <OnLoad>
            VanasKoS_WarnFrame:SetBackdropColor(0.5, 0.5, 1.0, 0.5);
            VanasKoS_WarnFrameText0:SetPoint("TOP", "VanasKoS_WarnFrame", 0, -6);
            VanasKoS_WarnFrameText1:SetPoint("TOP", "VanasKoS_WarnFrameText0", "BOTTOM", 0, 0);
            VanasKoS_WarnFrameText2:SetPoint("TOP", "VanasKoS_WarnFrameText1", "BOTTOM", 0, 0);
            VanasKoS_WarnFrameText3:SetPoint("TOP", "VanasKoS_WarnFrameText2", "BOTTOM", 0, 0);
            VanasKoS_WarnFrameText4:SetPoint("TOP", "VanasKoS_WarnFrameText3", "BOTTOM", 0, 0);
         </OnLoad>
      </Scripts>
   </Frame>

   <Button name="VanasKoSFrameTabTemplate" inherits="CharacterFrameTabButtonTemplate" virtual="true">
      <Scripts>
         <OnClick>
            PanelTemplates_Tab_OnClick(VanasKoSFrame);
            VanasKoS:GUIOnUpdate();
         </OnClick>
      </Scripts>
   </Button>
   
   <Button name="VanasKoSListFrameListButtonTemplate" virtual="true">
      <Size>
         <AbsDimension x="298" y="31" />
      </Size>
      <Frames>
         <Frame Name="$parentButtonText" setAllPoints="true">
            <Layers>
               <Layer level="BORDER">
                  <FontString name="$parentName" inherits="GameFontNormal">
                     <Anchors>
                        <Anchor point="TOPLEFT">
                           <Offset>
                              <AbsDimension x="10" y="-3" />
                           </Offset>
                        </Anchor>
                     </Anchors>
                  </FontString>
                  <FontString name="$parentReason" inherits="GameFontHighlightSmall" justifyH="LEFT">
                     <Anchors>
                        <Anchor point="TOPLEFT" relativeTo="$parentName" relativePoint="BOTTOMLEFT">
                           <Offset>
                              <AbsDimension x="0" y="0" />
                           </Offset>
                        </Anchor>
                     </Anchors>
                  </FontString>
               </Layer>
            </Layers>
         </Frame>
      </Frames>
      <Scripts>
         <OnLoad>
            this:RegisterForClicks("LeftButtonUp", "RightButtonUp");
         </OnLoad>
         <OnClick>
            VanasKoS:GUIListButton_OnClick(arg1);
         </OnClick>
      </Scripts>
      <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD" />
   </Button>
   
   <Frame name="VanasKoSFrame" toplevel="true" parent="UIParent" movable="true" enableMouse="true" hidden="true">
      <Size>
         <AbsDimension x="384" y="512" />
      </Size>

      <Anchors>
         <Anchor point="TOPLEFT">
            <Offset>
               <AbsDimension x="0" y="-104" />
            </Offset>
         </Anchor>
      </Anchors>

      <HitRectInsets>
         <AbsInset left="0" right="30" top="0" bottom="45" />
      </HitRectInsets>

      <Layers>
         <Layer level="BACKGROUND">
            <Texture file="Interface\FriendsFrame\FriendsFrameScrollIcon">
               <Size>
                  <AbsDimension x="60" y="60" />
               </Size>

               <Anchors>
                  <Anchor point="TOPLEFT">
                     <Offset>
                        <AbsDimension x="7" y="-6" />
                     </Offset>
                  </Anchor>
               </Anchors>
            </Texture>
         </Layer>

         <Layer level="ARTWORK">
            <Texture name="VanasKoSFrameTopLeft" file="Interface\PaperDollInfoFrame\UI-Character-General-TopLeft">
               <Size>
                  <AbsDimension x="256" y="256" />
               </Size>

               <Anchors>
                  <Anchor point="TOPLEFT">
                     <Offset>
                        <AbsDimension x="0" y="0" />
                     </Offset>
                  </Anchor>
               </Anchors>
            </Texture>

            <Texture name="VanasKoSFrameTopRight" file="Interface\PaperDollInfoFrame\UI-Character-General-TopRight">
               <Size>
                  <AbsDimension x="128" y="256" />
               </Size>

               <Anchors>
                  <Anchor point="TOPRIGHT">
                     <Offset>
                        <AbsDimension x="0" y="0" />
                     </Offset>
                  </Anchor>
               </Anchors>
            </Texture>

            <Texture name="VanasKoSFrameBottomLeft" file="Interface\FriendsFrame\UI-FriendsFrame-BotLeft">
               <Size>
                  <AbsDimension x="256" y="256" />
               </Size>

               <Anchors>
                  <Anchor point="BOTTOMLEFT">
                     <Offset>
                        <AbsDimension x="0" y="0" />
                     </Offset>
                  </Anchor>
               </Anchors>
            </Texture>

            <Texture name="VanasKoSFrameBottomRight" file="Interface\FriendsFrame\UI-FriendsFrame-BotRight">
               <Size>
                  <AbsDimension x="128" y="256" />
               </Size>

               <Anchors>
                  <Anchor point="BOTTOMRIGHT">
                     <Offset>
                        <AbsDimension x="0" y="0" />
                     </Offset>
                  </Anchor>
               </Anchors>
            </Texture>
         </Layer>

         <Layer level="OVERLAY">
            <FontString name="VanasKoSFrameTitleText" inherits="GameFontNormal">
               <Anchors>
                  <Anchor point="TOP">
                     <Offset>
                        <AbsDimension x="0" y="-18" />
                     </Offset>
                  </Anchor>
               </Anchors>
            </FontString>
         </Layer>
      </Layers>

      <Frames>
         <Button name="VanasKoSFrameCloseButton" inherits="UIPanelCloseButton">
            <Anchors>
               <Anchor point="TOPRIGHT">
                  <Offset>
                     <AbsDimension x="-30" y="-8" />
                  </Offset>
               </Anchor>
            </Anchors>
         </Button>

         <Frame name="VanasKoSListFrame" hodden="true" setAllPoints="true">
            <Frames>
               <Frame name="VanasKoSPlayersListFrame" hidden="true" setAllPoints="true">
                  <Frames>
                     <Button name="VanasKoSPlayersListFrameToggleTab1" inherits="TabButtonTemplate" text="VANASKOS_TEXT_PLAYERS" id="1">
                        <Anchors>
                           <Anchor point="TOPLEFT" relativeTo="VanasKoSFrame">
                              <Offset>
                                 <AbsDimension x="70" y="-39" />
                              </Offset>
                           </Anchor>
                        </Anchors>

                        <Scripts>
                           <OnLoad>
                              PanelTemplates_SelectTab(this);
                              PanelTemplates_TabResize(0);
                              VanasKoSFrame.showPlayersList = 1;
                              getglobal(this:GetName().."HighlightTexture"):SetWidth(this:GetTextWidth() + 31);
                           </OnLoad>
                        </Scripts>
                     </Button>

                     <Button name="VanasKoSPlayersListFrameToggleTab2" inherits="TabButtonTemplate" text="VANASKOS_TEXT_GUILDS" id="2">
                        <Anchors>
                           <Anchor point="LEFT" relativeTo="VanasKoSPlayersListFrameToggleTab1" relativePoint="RIGHT">
                              <Offset>
                                 <AbsDimension x="0" y="0" />
                              </Offset>
                           </Anchor>
                        </Anchors>

                        <Scripts>
                           <OnShow>
                              PanelTemplates_DeselectTab(this);
                           </OnShow>

                           <OnClick>
                              VanasKoSFrame.showPlayersList = nil;
                              VanasKoS:GUIOnUpdate();
                           </OnClick>
                        </Scripts>
                     </Button>
                  </Frames>
                  <Scripts>
                     <OnShow>
                        VanasKoS:GUIOnUpdate();
                     </OnShow>
                  </Scripts>
               </Frame>

               <Frame name="VanasKoSGuildsListFrame" hidden="true" setAllPoints="true">
                  <Frames>
                     <Button name="VanasKoSGuildsListFrameToggleTab1" inherits="TabButtonTemplate" text="VANASKOS_TEXT_PLAYERS" id="1">
                        <Anchors>
                           <Anchor point="TOPLEFT" relativeTo="VanasKoSFrame">
                              <Offset>
                                 <AbsDimension x="70" y="-39" />
                              </Offset>
                           </Anchor>
                        </Anchors>

                        <Scripts>
                           <OnShow>
                              PanelTemplates_DeselectTab(this);
                           </OnShow>

                           <OnClick>
                              VanasKoSFrame.showPlayersList = 1;
                              VanasKoS:GUIOnUpdate();
                           </OnClick>
                        </Scripts>
                     </Button>

                     <Button name="VanasKoSGuildsListFrameToggleTab2" inherits="TabButtonTemplate" text="VANASKOS_TEXT_GUILDS" id="2">
                        <Anchors>
                           <Anchor point="LEFT" relativeTo="VanasKoSGuildsListFrameToggleTab1" relativePoint="RIGHT">
                              <Offset>
                                 <AbsDimension x="0" y="0" />
                              </Offset>
                           </Anchor>
                        </Anchors>

                        <Scripts>
                           <OnLoad>
                              PanelTemplates_SelectTab(this);
                              PanelTemplates_TabResize(0);
                              getglobal(this:GetName().."HighlightTexture"):SetWidth(this:GetTextWidth() + 31);
                           </OnLoad>
                        </Scripts>
                     </Button>
                  </Frames>
               </Frame>
               <Button name="VanasKoSListFrameAddPlayerButton" inherits="UIPanelButtonTemplate" text="VANASKOS_TEXT_ADD_PLAYER">
                  <Size>
                     <AbsDimension x="131" y="21" />
                  </Size>

                  <Anchors>
                     <Anchor point="BOTTOMLEFT" relativeTo="VanasKoSFrame">
                        <Offset>
                           <AbsDimension x="17" y="107" />
                        </Offset>
                     </Anchor>
                  </Anchors>
                  <Scripts>
                     <OnClick>
                        VANASKOS.LastNameEntered = UnitName("target");
                        if(VANASKOS.LastNameEntered) then
                           if(UnitIsPlayer("target")) then
                              StaticPopup_Show("VANASKOS_ADD_REASON");
                           else
                              StaticPopup_Show("VANASKOS_ADD_PLAYER");
                           end
                        else
                           StaticPopup_Show("VANASKOS_ADD_PLAYER");
                        end
                     </OnClick>
                  </Scripts>
               </Button>
               <Button name="VanasKoSListFrameRemoveButton" inherits="UIPanelButtonTemplate" text="VANASKOS_TEXT_REMOVE_ENTRY">
                  <Size>
                     <AbsDimension x="131" y="21" />
                  </Size>

                  <Anchors>
                     <Anchor point="TOP" relativeTo="VanasKoSListFrameAddPlayerButton" relativePoint="BOTTOM">
                        <Offset>
                           <AbsDimension x="0" y="-5" />
                        </Offset>
                     </Anchor>
                  </Anchors>
                  <Scripts>
                     <OnClick>
                        VanasKoS:GUIRemoveDialog();
                     </OnClick>
                  </Scripts>
               </Button>
               <Button name="VanasKoSListFrameAddGuildButton" inherits="UIPanelButtonTemplate" text="VANASKOS_TEXT_ADD_GUILD">
                  <Size>
                     <AbsDimension x="131" y="21" />
                  </Size>

                  <Anchors>
                     <Anchor point="LEFT" relativeTo="VanasKoSListFrameAddPlayerButton" relativePoint="RIGHT">
                        <Offset>
                           <AbsDimension x="66" y="0" />
                        </Offset>
                     </Anchor>
                  </Anchors>
                  <Scripts>
                     <OnClick>
                        VANASKOS.LastNameEntered = GetGuildInfo("target");
                        if(VANASKOS.LastNameEntered) then
                           if(UnitIsPlayer("target")) then
                              StaticPopup_Show("VANASKOS_ADD_REASON_GUILD");
                           else
                              StaticPopup_Show("VANASKOS_ADD_GUILD");
                           end
                        else
                           StaticPopup_Show("VANASKOS_ADD_GUILD");
                        end
                     </OnClick>
                  </Scripts>
               </Button>
               <Button name="VanasKoSListFrameChangeButton" inherits="UIPanelButtonTemplate" text="VANASKOS_TEXT_CHANGE_ENTRY">
                  <Size>
                     <AbsDimension x="131" y="21" />
                  </Size>

                  <Anchors>
                     <Anchor point="TOP" relativeTo="VanasKoSListFrameAddGuildButton" relativePoint="BOTTOM">
                        <Offset>
                           <AbsDimension x="0" y="-5" />
                        </Offset>
                     </Anchor>
                  </Anchors>
                  <Scripts>
                     <OnClick>
                        VanasKoS:GUIShowChangeDialog();
                     </OnClick>
                  </Scripts>
               </Button>
               
               <Button name="VanasKoSListFrameListButton1" inherits="VanasKoSListFrameListButtonTemplate">
                  <Anchors>
                     <Anchor point="TOPLEFT" relativeTo="VanasKoSFrame">
                        <Offset>
                           <AbsDimension x="23" y="-76" />
                        </Offset>
                     </Anchor>
                  </Anchors>
               </Button>
               <Button name="VanasKoSListFrameListButton2" inherits="VanasKoSListFrameListButtonTemplate">
                  <Anchors>
                     <Anchor point="TOP" relativeTo="VanasKoSListFrameListButton1" relativePoint="BOTTOM">
                        <Offset>
                           <AbsDimension x="0" y="0" />
                        </Offset>
                     </Anchor>
                  </Anchors>
               </Button>
               <Button name="VanasKoSListFrameListButton3" inherits="VanasKoSListFrameListButtonTemplate">
                  <Anchors>
                     <Anchor point="TOP" relativeTo="VanasKoSListFrameListButton2" relativePoint="BOTTOM">
                        <Offset>
                           <AbsDimension x="0" y="0" />
                        </Offset>
                     </Anchor>
                  </Anchors>
               </Button>
               <Button name="VanasKoSListFrameListButton4" inherits="VanasKoSListFrameListButtonTemplate">
                  <Anchors>
                     <Anchor point="TOP" relativeTo="VanasKoSListFrameListButton3" relativePoint="BOTTOM">
                        <Offset>
                           <AbsDimension x="0" y="0" />
                        </Offset>
                     </Anchor>
                  </Anchors>
               </Button>
               <Button name="VanasKoSListFrameListButton5" inherits="VanasKoSListFrameListButtonTemplate">
                  <Anchors>
                     <Anchor point="TOP" relativeTo="VanasKoSListFrameListButton4" relativePoint="BOTTOM">
                        <Offset>
                           <AbsDimension x="0" y="0" />
                        </Offset>
                     </Anchor>
                  </Anchors>
               </Button>
               <Button name="VanasKoSListFrameListButton6" inherits="VanasKoSListFrameListButtonTemplate">
                  <Anchors>
                     <Anchor point="TOP" relativeTo="VanasKoSListFrameListButton5" relativePoint="BOTTOM">
                        <Offset>
                           <AbsDimension x="0" y="0" />
                        </Offset>
                     </Anchor>
                  </Anchors>
               </Button>
               <Button name="VanasKoSListFrameListButton7" inherits="VanasKoSListFrameListButtonTemplate">
                  <Anchors>
                     <Anchor point="TOP" relativeTo="VanasKoSListFrameListButton6" relativePoint="BOTTOM">
                        <Offset>
                           <AbsDimension x="0" y="0" />
                        </Offset>
                     </Anchor>
                  </Anchors>
               </Button>
               <Button name="VanasKoSListFrameListButton8" inherits="VanasKoSListFrameListButtonTemplate">
                  <Anchors>
                     <Anchor point="TOP" relativeTo="VanasKoSListFrameListButton7" relativePoint="BOTTOM">
                        <Offset>
                           <AbsDimension x="0" y="0" />
                        </Offset>
                     </Anchor>
                  </Anchors>
               </Button>
               <Button name="VanasKoSListFrameListButton9" inherits="VanasKoSListFrameListButtonTemplate">
                  <Anchors>
                     <Anchor point="TOP" relativeTo="VanasKoSListFrameListButton8" relativePoint="BOTTOM">
                        <Offset>
                           <AbsDimension x="0" y="0" />
                        </Offset>
                     </Anchor>
                  </Anchors>
               </Button>
               <Button name="VanasKoSListFrameListButton10" inherits="VanasKoSListFrameListButtonTemplate">
                  <Anchors>
                     <Anchor point="TOP" relativeTo="VanasKoSListFrameListButton9" relativePoint="BOTTOM">
                        <Offset>
                           <AbsDimension x="0" y="0" />
                        </Offset>
                     </Anchor>
                  </Anchors>
               </Button>
               <ScrollFrame name="VanasKoSListScrollFrame" inherits="FauxScrollFrameTemplate">
                  <Size>
                     <AbsDimension x="296" y="304" />
                  </Size>
                  <Anchors>
                     <Anchor point="TOPRIGHT" relativeTo="VanasKoSFrame">
                        <Offset>
                           <AbsDimension x="-67" y="-75" />
                        </Offset>
                     </Anchor>
                  </Anchors>
                  <Layers>
                     <Layer level="ARTWORK">
                        <Texture file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
                           <Size>
                              <AbsDimension x="31" y="256" />
                           </Size>
                           <Anchors>
                              <Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
                                 <Offset>
                                    <AbsDimension x="-2" y="5" />
                                 </Offset>
                              </Anchor>
                           </Anchors>
                           <TexCoords left="0" right="0.484375" top="0" bottom="1.0" />
                        </Texture>
                        <Texture file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
                           <Size>
                              <AbsDimension x="31" y="106" />
                           </Size>
                           <Anchors>
                              <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT">
                                 <Offset>
                                    <AbsDimension x="-2" y="-2" />
                                 </Offset>
                              </Anchor>
                           </Anchors>
                           <TexCoords left="0.515625" right="1.0" top="0" bottom="0.4140625" />
                        </Texture>
                     </Layer>
                  </Layers>
                  <Scripts>
                     <OnVerticalScroll>
                        <!-- 34 = Hoehe VanasKoSListFrameListButtonTemplate -->
                        FauxScrollFrame_OnVerticalScroll(34, VanasKoS_GUIOnScroll);
                     </OnVerticalScroll>
                  </Scripts>
               </ScrollFrame>
            </Frames>
         </Frame> 

         <Frame name="VanasKoSConfigurationFrame" hidden="true" setAllPoints="true">
            <Frames>
               <CheckButton name="VanasKoSConfigVisual" inherits="OptionsCheckButtonTemplate">
                  <Anchors>
                     <Anchor point="TOPLEFT">
                        <Offset>
                           <AbsDimension x="60" y="-140" />
                        </Offset>
                     </Anchor>
                  </Anchors>
                  <Scripts>
                     <OnLoad>
                        getglobal(this:GetName() .. "Text"):SetText(VANASKOS_TEXT_NOTIFY_UPPER);
                     </OnLoad>
                    <OnClick>
                        VanasKoS:ToggleNotifyVisual();
                        VanasKoS:GUIUpdateConfigurationFrame();
                     </OnClick>
                   </Scripts>
               </CheckButton>
               <CheckButton name="VanasKoSConfigChatFrame" inherits="OptionsCheckButtonTemplate">
                  <Anchors>
                     <Anchor point="TOP" relativeTo="VanasKoSConfigVisual" relativePoint="BOTTOM">
                        <Offset>
                           <AbsDimension x="0" y="0" />
                        </Offset>
                     </Anchor>
                  </Anchors>
                  <Scripts>
                     <OnLoad>
                        getglobal(this:GetName() .. "Text"):SetText(VANASKOS_TEXT_NOTIFY_CHATFRAME);
                     </OnLoad>
                     <OnClick>
                        VanasKoS:ToggleNotifyChatframe();
                        VanasKoS:GUIUpdateConfigurationFrame();
                     </OnClick>
                  </Scripts>
               </CheckButton>
               <CheckButton name="VanasKoSConfigWarnFrame" inherits="OptionsCheckButtonTemplate">
                  <Anchors>
                     <Anchor point="TOP" relativeTo="VanasKoSConfigChatFrame" relativePoint="BOTTOM">
                        <Offset>
                           <AbsDimension x="0" y="0" />
                        </Offset>
                     </Anchor>
                  </Anchors>
                  <Scripts>
                     <OnLoad>
                        getglobal(this:GetName() .. "Text"):SetText(VANASKOS_TEXT_WARN_FRAME);
                     </OnLoad>
                     <OnClick>
                        VanasKoS:ToggleWarnFrame();
                        VanasKoS:GUIUpdateConfigurationFrame();
                     </OnClick>
                  </Scripts>
               </CheckButton>
               <CheckButton name="VanasKoSConfigPlaySound" inherits="OptionsCheckButtonTemplate">
                  <Anchors>
                     <Anchor point="TOP" relativeTo="VanasKoSConfigWarnFrame" relativePoint="BOTTOM">
                        <Offset>
                           <AbsDimension x="0" y="0" />
                        </Offset>
                     </Anchor>
                  </Anchors>
                  <Scripts>
                     <OnLoad>
                        getglobal(this:GetName() .. "Text"):SetText(VANASKOS_TEXT_PLAY_SOUND);
                     </OnLoad>
                     <OnClick>
                        VanasKoS:ToggleNotifySound();
                        VanasKoS:GUIUpdateConfigurationFrame();
                     </OnClick>
                  </Scripts>
               </CheckButton>
               <EditBox name="VanasKoSConfigNotifyInterval" letters="3" autofocus="false" inherits="InputBoxTemplate">
                  <Size>
                     <AbsDimension x="30" y="20" />
                  </Size>
                  <Anchors>
                     <Anchor point="TOP" relativeTo="VanasKoSConfigPlaySound" relativePoint="BOTTOM">
                        <Offset>
                           <AbsDimension x="10" y="0" />
                        </Offset>
                     </Anchor>
                  </Anchors>
                  <Layers>
                     <Layer level="BACKGROUND">
                        <FontString name="$parentText" inherits="GameFontNormalSmall" text="VANASKOS_TEXT_NOTIFY_INTERVAL" justifyH="LEFT">
                           <Anchors>
                              <Anchor point="LEFT" relativePoint="RIGHT">
                                 <Offset>
                                    <AbsDimension x="3" y="0" />
                                 </Offset>
                              </Anchor>
                           </Anchors>
                        </FontString>
                     </Layer>
                  </Layers>
                  <Scripts>
                     <OnHide>
                        VanasKoS:ConfigSetNotificationInterval(this:GetText());
                     </OnHide>
                  </Scripts>
               </EditBox>
            </Frames>
            <Scripts>
               <OnShow>
                  VanasKoS:GUIUpdateConfigurationFrame();
               </OnShow>
            </Scripts>
         </Frame>

         <Frame name="VanasKoSAboutFrame" hidden="true" setAllPoints="true">
            <Layers>
               <Layer level="OVERLAY">
                  <FontString name="VanasKoSAboutFrameName" text="VANASKOS_TEXT_VANASKOS" inherits="GameFontNormalLarge">
                     <Anchors>
                        <Anchor point="TOP">
                           <Offset>
                              <AbsDimension x="-30" y="-82" />
                           </Offset>
                        </Anchor>
                     </Anchors>
                  </FontString>
                  <FontString name="VanasKoSAboutFrameVersion" text="VANASKOS_TEXT_VERSION" inherits="GameFontNormalLarge">
                     <Anchors>
                        <Anchor point="LEFT" relativeTo="VanasKoSAboutFrameName" relativePoint="RIGHT">
                           <Offset>
                              <AbsDimension x="3" y="0" />
                           </Offset>
                        </Anchor>
                     </Anchors>
                  </FontString>
                  <FontString text="VANASKOS_TEXT_ABOUT_CREATED" inherits="GameFontHighlight">
                     <Size>
                        <AbsDimension x="384" />
                     </Size>
                     <Anchors>
                        <Anchor point="TOP" relativeTo="VanasKoSAboutFrameName" relativePoint="BOTTOM">
                           <Offset>
                              <AbsDimension x="15" y="-10" />
                           </Offset>
                        </Anchor>
                     </Anchors>
                  </FontString>
               </Layer>
            </Layers>
         </Frame>

         <!-- Tab Buttons bottom -->
         <Button name="VanasKoSFrameTab1" inherits="VanasKoSFrameTabTemplate" id="1" text="VANASKOS_TEXT_LISTS">
            <Anchors>
               <Anchor point="BOTTOMLEFT">
                  <Offset>
                     <AbsDimension x="11" y="45" />
                  </Offset>
               </Anchor>
            </Anchors>
         </Button>

         <Button name="VanasKoSFrameTab2" inherits="VanasKoSFrameTabTemplate" id="2" text="VANASKOS_TEXT_CONFIG">
            <Anchors>
               <Anchor point="LEFT" relativeTo="VanasKoSFrameTab1" relativePoint="RIGHT">
                  <Offset>
                     <AbsDimension x="-14" y="0" />
                  </Offset>
               </Anchor>
            </Anchors>
         </Button>

         <Button name="VanasKoSFrameTab3" inherits="VanasKoSFrameTabTemplate" id="3" text="VANASKOS_TEXT_ABOUT">
            <Anchors>
               <Anchor point="LEFT" relativeTo="VanasKoSFrameTab2" relativePoint="RIGHT">
                  <Offset>
                     <AbsDimension x="-14" y="0" />
                  </Offset>
               </Anchor>
            </Anchors>
         </Button>
         
      </Frames>

      <Scripts>
         <OnLoad>
            PanelTemplates_SetNumTabs(this, 3);
            VanasKoSFrame.selectedTab = 1;
            PanelTemplates_UpdateTabs(this);
            VanasKoSFrame.showPlayersList = 1;
            VanasKoS:GUIFrame_ShowSubFrame("VanasKoSPlayersListFrame");
            VanasKoS:GUIOnUpdate();
         </OnLoad>
      </Scripts>
   </Frame>
</Ui>