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/ C:\Projects\WoW\Bin\Interface\FrameXML\UI.xsd">
------------------ FRAME INSIDE ATLAS


--Fonts
<FontString name="AQFont" inherits="MasterFont" font="Fonts\FRIZQT__.TTF" virtual="true">
  <FontHeight>
    <AbsValue val="13"/>
  </FontHeight>
    <Color r="1.0" g="0.82" b="0"/>
</FontString>

<FontString name="AQFontBIG" inherits="MasterFont" font="Fonts\FRIZQT__.TTF" virtual="true">
  <FontHeight>
    <AbsValue val="15"/>
  </FontHeight>
    <Color r="1.0" g="0.82" b="0"/>
</FontString>

<FontString name="AQFontVERYSmall" inherits="MasterFont" font="Fonts\FRIZQT__.TTF" virtual="true">
  <FontHeight>
    <AbsValue val="11"/>
    </FontHeight>
    <Color r="1.0" g="0.82" b="0"/>
</FontString>

<Frame name="AtlasQuestInsideFrame" toplevel="true" enableMouse="true" parent="AtlasFrame" hidden="false">
   <Size>
      <AbsDimension x="510" y="510"/>
   </Size>
   <Anchors>
      <Anchor point="TOPLEFT">
             <Offset>
                <AbsDimension x="18" y="-84"/>
             </Offset>
          </Anchor>
   </Anchors>
     <Frames>
-----------------------------------------FRAME 1  --------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------
        <Button name="AtlasQuestItemframe1" virtual="true" hidden="false">
          <Size>
            <AbsDimension x="236" y="30"/>
          </Size>
          <Anchors>
             <Anchor point="BOTTOMLEFT">
              <Offset>
                                  <AbsDimension x="20" y="120"/>
                          </Offset>
                         </Anchor>
          </Anchors>
          <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
        <Layers>
         <Layer level="ARTWORK">
            <Texture name="AtlasQuestItemframe1_Icon">
               <Size>
                  <AbsDimension x="24" y="24"/>
               </Size>
               <Anchors>
                  <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT"/>
               </Anchors>
            </Texture>
            <FontString name="AtlasQuestItemframe1_Name" inherits="GameFontNormal" justifyH="LEFT">
               <Size>
                  <AbsDimension x="205" y="12"/>
               </Size>
               <Anchors>
                  <Anchor point="TOPLEFT" relativeTo="$parent_Icon" relativePoint="TOPRIGHT">
                     <Offset>
                        <AbsDimension x="3" y="0"/>
                     </Offset>
                  </Anchor>
               </Anchors>
            </FontString>
            <FontString name="AtlasQuestItemframe1_Extra" inherits="GameFontNormalSmall" justifyH="LEFT">
               <Size>
                  <AbsDimension x="205" y="10"/>
               </Size>
               <Anchors>
                  <Anchor point="TOPLEFT" relativeTo="$parent_Name" relativePoint="BOTTOMLEFT"/>
               </Anchors>
            </FontString>
         </Layer>
      </Layers>
           <Scripts>
              <OnEnter>
                AQTHISISSHOWN = 1;
                                AtlasQuestItem_OnEnter();
                          </OnEnter>
                          <OnLeave>
                                AtlasQuestItem_OnLeave();
                          </OnLeave>
                          <OnClick>
                                AtlasQuestItem_OnClick(arg1);
                          </OnClick>
                          <OnLoad>
                this:RegisterForClicks("LeftButtonDown", "RightButtonDown");
              </OnLoad>
              <OnShow>
                    this:SetFrameLevel( this:GetParent():GetFrameLevel() + 1 );
                  </OnShow>
           </Scripts>
        </Button>
----------------------------------------- FRAME 2  --------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------
        <Button name="AtlasQuestItemframe2" virtual="true" hidden="false">
          <Size>
            <AbsDimension x="236" y="30"/>
          </Size>
          <Anchors>
             <Anchor point="BOTTOMLEFT">
              <Offset>
                                  <AbsDimension x="266" y="120"/>
                          </Offset>
                         </Anchor>
          </Anchors>
          <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
        <Layers>
         <Layer level="ARTWORK">
            <Texture name="AtlasQuestItemframe2_Icon">
               <Size>
                  <AbsDimension x="24" y="24"/>
               </Size>
               <Anchors>
                  <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT"/>
               </Anchors>
            </Texture>
            <FontString name="AtlasQuestItemframe2_Name" inherits="GameFontNormal" justifyH="LEFT">
               <Size>
                  <AbsDimension x="205" y="12"/>
               </Size>
               <Anchors>
                  <Anchor point="TOPLEFT" relativeTo="$parent_Icon" relativePoint="TOPRIGHT">
                     <Offset>
                        <AbsDimension x="3" y="0"/>
                     </Offset>
                  </Anchor>
               </Anchors>
            </FontString>
            <FontString name="AtlasQuestItemframe2_Extra" inherits="GameFontNormalSmall" justifyH="LEFT">
               <Size>
                  <AbsDimension x="205" y="10"/>
               </Size>
               <Anchors>
                  <Anchor point="TOPLEFT" relativeTo="$parent_Name" relativePoint="BOTTOMLEFT"/>
               </Anchors>
            </FontString>
         </Layer>
      </Layers>
           <Scripts>
              <OnEnter>
                AQTHISISSHOWN = 2;
                                AtlasQuestItem_OnEnter();
                          </OnEnter>
                          <OnLeave>
                                AtlasQuestItem_OnLeave();
                          </OnLeave>
                          <OnClick>
                                AtlasQuestItem_OnClick(arg1);
                          </OnClick>
                          <OnLoad>
                this:RegisterForClicks("LeftButtonDown", "RightButtonDown");
              </OnLoad>
              <OnShow>
                    this:SetFrameLevel( this:GetParent():GetFrameLevel() + 1 );
                  </OnShow>
           </Scripts>
        </Button>
----------------------------------------- FRAME 3  --------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------
        <Button name="AtlasQuestItemframe3" virtual="true" hidden="false">
          <Size>
            <AbsDimension x="236" y="30"/>
          </Size>
          <Anchors>
             <Anchor point="BOTTOMLEFT">
              <Offset>
                                  <AbsDimension x="20" y="70"/>
                          </Offset>
                         </Anchor>
          </Anchors>
          <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
        <Layers>
         <Layer level="ARTWORK">
            <Texture name="AtlasQuestItemframe3_Icon">
               <Size>
                  <AbsDimension x="24" y="24"/>
               </Size>
               <Anchors>
                  <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT"/>
               </Anchors>
            </Texture>
            <FontString name="AtlasQuestItemframe3_Name" inherits="GameFontNormal" justifyH="LEFT">
               <Size>
                  <AbsDimension x="205" y="12"/>
               </Size>
               <Anchors>
                  <Anchor point="TOPLEFT" relativeTo="$parent_Icon" relativePoint="TOPRIGHT">
                     <Offset>
                        <AbsDimension x="3" y="0"/>
                     </Offset>
                  </Anchor>
               </Anchors>
            </FontString>
            <FontString name="AtlasQuestItemframe3_Extra" inherits="GameFontNormalSmall" justifyH="LEFT">
               <Size>
                  <AbsDimension x="205" y="10"/>
               </Size>
               <Anchors>
                  <Anchor point="TOPLEFT" relativeTo="$parent_Name" relativePoint="BOTTOMLEFT"/>
               </Anchors>
            </FontString>
         </Layer>
      </Layers>
           <Scripts>
              <OnEnter>
                AQTHISISSHOWN = 3;
                                AtlasQuestItem_OnEnter();
                          </OnEnter>
                          <OnLeave>
                                AtlasQuestItem_OnLeave();
                          </OnLeave>
                          <OnClick>
                                AtlasQuestItem_OnClick(arg1);
                          </OnClick>
                          <OnLoad>
                this:RegisterForClicks("LeftButtonDown", "RightButtonDown");
              </OnLoad>
              <OnShow>
                    this:SetFrameLevel( this:GetParent():GetFrameLevel() + 1 );
                  </OnShow>
           </Scripts>
        </Button>
----------------------------------------- FRAME 4  --------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------
        <Button name="AtlasQuestItemframe4" virtual="true" hidden="false">
          <Size>
            <AbsDimension x="236" y="30"/>
          </Size>
          <Anchors>
             <Anchor point="BOTTOMLEFT">
              <Offset>
                                  <AbsDimension x="266" y="70"/>
                          </Offset>
                         </Anchor>
          </Anchors>
          <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
        <Layers>
         <Layer level="ARTWORK">
            <Texture name="AtlasQuestItemframe4_Icon">
               <Size>
                  <AbsDimension x="24" y="24"/>
               </Size>
               <Anchors>
                  <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT"/>
               </Anchors>
            </Texture>
            <FontString name="AtlasQuestItemframe4_Name" inherits="GameFontNormal" justifyH="LEFT">
               <Size>
                  <AbsDimension x="205" y="12"/>
               </Size>
               <Anchors>
                  <Anchor point="TOPLEFT" relativeTo="$parent_Icon" relativePoint="TOPRIGHT">
                     <Offset>
                        <AbsDimension x="3" y="0"/>
                     </Offset>
                  </Anchor>
               </Anchors>
            </FontString>
            <FontString name="AtlasQuestItemframe4_Extra" inherits="GameFontNormalSmall" justifyH="LEFT">
               <Size>
                  <AbsDimension x="205" y="10"/>
               </Size>
               <Anchors>
                  <Anchor point="TOPLEFT" relativeTo="$parent_Name" relativePoint="BOTTOMLEFT"/>
               </Anchors>
            </FontString>
         </Layer>
      </Layers>
           <Scripts>
              <OnEnter>
                AQTHISISSHOWN = 4;
                                AtlasQuestItem_OnEnter();
                          </OnEnter>
                          <OnLeave>
                                AtlasQuestItem_OnLeave();
                          </OnLeave>
                          <OnClick>
                                AtlasQuestItem_OnClick(arg1);
                          </OnClick>
                          <OnLoad>
                this:RegisterForClicks("LeftButtonDown", "RightButtonDown");
              </OnLoad>
              <OnShow>
                    this:SetFrameLevel( this:GetParent():GetFrameLevel() + 1 );
                  </OnShow>
           </Scripts>
        </Button>
----------------------------------------- FRAME 5  --------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------
        <Button name="AtlasQuestItemframe5" virtual="true" hidden="false">
          <Size>
            <AbsDimension x="236" y="30"/>
          </Size>
          <Anchors>
             <Anchor point="BOTTOMLEFT">
              <Offset>
                                  <AbsDimension x="20" y="20"/>
                          </Offset>
                         </Anchor>
          </Anchors>
          <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
        <Layers>
         <Layer level="ARTWORK">
            <Texture name="AtlasQuestItemframe5_Icon">
               <Size>
                  <AbsDimension x="24" y="24"/>
               </Size>
               <Anchors>
                  <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT"/>
               </Anchors>
            </Texture>
            <FontString name="AtlasQuestItemframe5_Name" inherits="GameFontNormal" justifyH="LEFT">
               <Size>
                  <AbsDimension x="205" y="12"/>
               </Size>
               <Anchors>
                  <Anchor point="TOPLEFT" relativeTo="$parent_Icon" relativePoint="TOPRIGHT">
                     <Offset>
                        <AbsDimension x="3" y="0"/>
                     </Offset>
                  </Anchor>
               </Anchors>
            </FontString>
            <FontString name="AtlasQuestItemframe5_Extra" inherits="GameFontNormalSmall" justifyH="LEFT">
               <Size>
                  <AbsDimension x="205" y="10"/>
               </Size>
               <Anchors>
                  <Anchor point="TOPLEFT" relativeTo="$parent_Name" relativePoint="BOTTOMLEFT"/>
               </Anchors>
            </FontString>
         </Layer>
      </Layers>
           <Scripts>
              <OnEnter>
                AQTHISISSHOWN = 5;
                                AtlasQuestItem_OnEnter();
                          </OnEnter>
                          <OnLeave>
                                AtlasQuestItem_OnLeave();
                          </OnLeave>
                          <OnClick>
                                AtlasQuestItem_OnClick(arg1);
                          </OnClick>
                          <OnLoad>
                this:RegisterForClicks("LeftButtonDown", "RightButtonDown");
              </OnLoad>
              <OnShow>
                    this:SetFrameLevel( this:GetParent():GetFrameLevel() + 1 );
                  </OnShow>
           </Scripts>
        </Button>
----------------------------------------- FRAME 6  --------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------
        <Button name="AtlasQuestItemframe6" virtual="true" hidden="false">
          <Size>
            <AbsDimension x="236" y="30"/>
          </Size>
          <Anchors>
             <Anchor point="BOTTOMLEFT">
              <Offset>
                                  <AbsDimension x="266" y="20"/>
                          </Offset>
                         </Anchor>
          </Anchors>
          <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
        <Layers>
         <Layer level="ARTWORK">
            <Texture name="AtlasQuestItemframe6_Icon">
               <Size>
                  <AbsDimension x="24" y="24"/>
               </Size>
               <Anchors>
                  <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT"/>
               </Anchors>
            </Texture>
            <FontString name="AtlasQuestItemframe6_Name" inherits="GameFontNormal" justifyH="LEFT">
               <Size>
                  <AbsDimension x="205" y="12"/>
               </Size>
               <Anchors>
                  <Anchor point="TOPLEFT" relativeTo="$parent_Icon" relativePoint="TOPRIGHT">
                     <Offset>
                        <AbsDimension x="3" y="0"/>
                     </Offset>
                  </Anchor>
               </Anchors>
            </FontString>
            <FontString name="AtlasQuestItemframe6_Extra" inherits="GameFontNormalSmall" justifyH="LEFT">
               <Size>
                  <AbsDimension x="205" y="10"/>
               </Size>
               <Anchors>
                  <Anchor point="TOPLEFT" relativeTo="$parent_Name" relativePoint="BOTTOMLEFT"/>
               </Anchors>
            </FontString>
         </Layer>
      </Layers>
           <Scripts>
              <OnEnter>
                AQTHISISSHOWN = 6;
                                AtlasQuestItem_OnEnter();
                          </OnEnter>
                          <OnLeave>
                                AtlasQuestItem_OnLeave();
                          </OnLeave>
                          <OnClick>
                                AtlasQuestItem_OnClick(arg1);
                          </OnClick>
                          <OnLoad>
                this:RegisterForClicks("LeftButtonDown", "RightButtonDown");
              </OnLoad>
              <OnShow>
                    this:SetFrameLevel( this:GetParent():GetFrameLevel() + 1 );
                  </OnShow>
           </Scripts>
        </Button>
--------------------------------------------FRAME ENDE-----------------------------------------------------------
----------------------------------------------------------------------------------------------------------------
                <Button name="CLOSEbutton2" inherits="UIPanelCloseButton" text="X">
          <Size>
            <AbsDimension x="30" y="30"/>
          </Size>
              <Anchors>
                     <Anchor point="TOPRIGHT">
                           <Offset>
                                  <AbsDimension x="-5" y="-3"/>
                           </Offset>
                     </Anchor>
              </Anchors>
              <Scripts>
                    <OnClick>
                      AQCLOSE2_OnClick();
                </OnClick>
                <OnShow>
                        this:SetFrameLevel( this:GetParent():GetFrameLevel() + 1 );
                    </OnShow>
              </Scripts>
        </Button>
     </Frames>
                <Layers>
                        <Layer level="BACKGROUND">
                                <Texture name="$parent_Back">
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT"/>
                                                <Anchor point="BOTTOMRIGHT" relativeTo="$parent" relativePoint="BOTTOMRIGHT"/>
                                        </Anchors>
                                        <Color r="0" g="0" b="0" a="0.75"/>
                                </Texture>
                        </Layer>
                        <Layer level="OVERLAY">
                          <FontString name="Questueberschrift" inherits="AQFontBIG">
                <Size>
                  <AbsDimension x="400" y="12"/>
                </Size>
                <Anchors>
                   <Anchor point="TOP">
                     <Offset>
                       <AbsDimension x="0" y="-20"/>
                     </Offset>
                   </Anchor>
                </Anchors>
               </FontString>
               <FontString name="QuestLeveltext" inherits="AQFont" justifyH = "LEFT" justifyV = "TOP">
                <Size>
                  <AbsDimension x="400" y="12"/>
                </Size>
                <Anchors>
                   <Anchor point="TOPLEFT">
                     <Offset>
                       <AbsDimension x="20" y="-50"/>
                     </Offset>
                   </Anchor>
                </Anchors>
               </FontString>
               <FontString name="QuestAttainLeveltext" inherits="AQFont" justifyH = "LEFT" justifyV="TOP">
                <Size>
                  <AbsDimension x="400" y="12"/>
                </Size>
                <Anchors>
                   <Anchor point="TOPLEFT">
                     <Offset>
                       <AbsDimension x="140" y="-50"/>
                     </Offset>
                   </Anchor>
                </Anchors>
               </FontString>
               <FontString name="Prequesttext" inherits="AQFont" maxLines="20" justifyH = "LEFT" justifyV = "TOP">
                <Size>
                  <AbsDimension x="450" y="500"/>
                </Size>
                <Anchors>
                   <Anchor point="TOPLEFT">
                     <Offset>
                       <AbsDimension x="20" y="-75"/>
                     </Offset>
                   </Anchor>
                </Anchors>
               </FontString>
               <FontString name="StoryTEXT" inherits="AQFontBIG" justifyH = "LEFT" justifyV = "TOP">
                <Size>
                  <AbsDimension x="410" y="450"/>
                </Size>
                <Anchors>
                   <Anchor point="TOPLEFT">
                     <Offset>
                       <AbsDimension x="50" y="-50"/>
                     </Offset>
                   </Anchor>
                </Anchors>
               </FontString>
               <FontString name="REWARDstext" inherits="AQFontBIG" justifyH = "LEFT" justifyV="TOP" >
                <Size>
                  <AbsDimension x="400" y="12"/>
                </Size>
                <Anchors>
                   <Anchor point="BOTTOMLEFT">
                     <Offset>
                       <AbsDimension x="20" y="155"/>
                     </Offset>
                   </Anchor>
                </Anchors>
               </FontString>
                        </Layer>
                </Layers>
                <Scripts>
                        <OnEvent>
                                AQ_OnEvent(event);
                        </OnEvent>
                </Scripts>
        </Frame>

---------------------------SHOW HIDE (PANEL) BUTTON

        <Frame name="AtlasQuestButtonFrame" toplevel="true" enableMouse="true" parent="AtlasFrame" hidden="false">
          <Size>
                        <AbsDimension x="1" y="1"/>
                </Size>
                <Anchors>
                        <Anchor point="TOPRIGHT">
                        </Anchor>
                </Anchors>
          <Frames>
          <Button name="CLOSEbutton3" inherits="OptionsButtonTemplate" text="AQ">
          <Size>
            <AbsDimension x="25" y="25"/>
          </Size>
              <Anchors>
                     <Anchor point="TOPRIGHT">
                           <Offset>
                                  <AbsDimension x="-115" y="-47"/>
                           </Offset>
                     </Anchor>
              </Anchors>
              <Scripts>
                    <OnClick>
                       AQCLOSE_OnClick();
                </OnClick>
                <OnUpdate>
                        if ( AtlasFrame == nil ) then
                                this:Hide();
                        end
                </OnUpdate>
                <OnShow>
                        if ( AtlasFrame == nil ) then
                                this:Hide();
                        end
                </OnShow>
              </Scripts>
        </Button>
        </Frames>
        </Frame>
</Ui>

Generated by GNU Enscript 1.6.5.90.