view FilterBar.xml @ 113:03e4a8b93012 v7.3.0-2

7.3 Updates - Added some map frame adjustments to keep the filter bar from obstructing edge of zone clicks KNOWN ISSUES: - Argus quests can only be filtered when viewing Argus maps - Main Argus map in the WorldMapFrame has misaligned pins; this is due to it using a different map texture from what is used in the teleporter map, so all the POI coordinates are based on that map in the client info
author Nenue
date Tue, 05 Sep 2017 03:14:34 -0400
parents b29b35cb8539
children
line wrap: on
line source
<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="FilterBar.lua" />
  <Frame name="$parentSummary" parent="WorldPlan" mixin="WorldPlanSummaryMixin" hidden="true">
    <Size x="24" y="24" />
    <Anchors>
      <Anchor point="BOTTOMLEFT" />
    </Anchors>
    <Scripts>
      <OnLoad method="OnLoad" />
      <OnEvent method="OnEvent" />
      <OnShow method="OnShow" />
      <OnUpdate method="OnUpdate" />
    </Scripts>

    <Layers>
      <Layer level="BACKGROUND">

        <Texture parentKey="Backdrop" hidden="true">
          <Size y="40" />
          <Anchors>
            <Anchor point="LEFT" />
            <Anchor point="RIGHT" />
            <Anchor point="TOP" />
          </Anchors>
          <Gradient orientation="VERTICAL">
            <MinColor r="0" g="0" b="0" a="0" />
            <MaxColor r="0" g="0" b="0" a=".7" />
          </Gradient>
          <Color a="1" r="1" g="1" b="1" />
        </Texture>
      </Layer>
    </Layers>

    <Frames>
      <CheckButton name="$parentToggle" parentKey="Toggle" >
        <Size x="20" y="20" />
        <Anchors>
          <Anchor point="TOPLEFT" x="3" y="-3" />
        </Anchors>
        <Layers>
          <Layer level="BACKGROUND">
            <Texture setAllPoints="false">
              <Anchors>
                <Anchor point="TOPRIGHT" x="-1" y="-1" />
                <Anchor point="BOTTOMLEFT" x="1" y="1" />
              </Anchors>
              <Color a="1" r="0" g="0" b="0" />
            </Texture>
          </Layer>
        </Layers>
        <NormalTexture setAllPoints="true">
          <Color a=".25" r="0" g="0" b="0" />
        </NormalTexture>
        <CheckedTexture setAllPoints="false" file="Interface\BUTTONS\UI-CheckBox-Check">
          <Anchors>
            <Anchor point="TOPRIGHT" x="-1" y="-1" />
            <Anchor point="BOTTOMLEFT" x="1" y="1" />
          </Anchors>
        </CheckedTexture>
      </CheckButton>
    </Frames>
  </Frame>
  <Frame name="WorldPlanFilterHeader" parentArray="Headers" virtual="true" enableMouse="true">
    <Size x="24" y="30" />
    <Layers>
      <Layer level="BACKGROUND">
        <Texture parentKey="Backdrop" hidden="true">
          <Anchors>
            <Anchor point="LEFT" />
            <Anchor point="RIGHT" />
            <Anchor point="TOP" />
          </Anchors>
          <Gradient orientation="VERTICAL">
            <MinColor r="0" g="0" b="0" a=".5" />
            <MaxColor r="0" g="0" b="0" a="1" />
          </Gradient>
          <Color a="1" r="1" g="1" b="1" />
        </Texture>
        <Texture parentKey="Edge1">
          <Size x="1" y="24" />
          <Anchors>
            <Anchor point="TOPLEFT"  />
          </Anchors>
          <Gradient orientation="VERTICAL">
            <MinColor r="1" g="1" b="1" a="0" />
            <MaxColor r="1" g="1" b="1" a=".5" />
          </Gradient>
          <Color a="1" r="1" g="1" b="1" />
        </Texture>
        <Texture parentKey="Edge2">
          <Size x="1" y="24" />
          <Anchors>
            <Anchor point="TOPRIGHT"  />
          </Anchors>
          <Gradient orientation="VERTICAL">
            <MinColor r="1" g="1" b="1" a="0" />
            <MaxColor r="1" g="1" b="1" a=".5" />
          </Gradient>
          <Color a="1" r="1" g="1" b="1" />
        </Texture>
        <FontString inherits="GameFontNormal" parentKey="Label" hidden="true">
          <Anchors>
            <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" x="2" y="-2" />
          </Anchors>
        </FontString>
      </Layer>
    </Layers>
  </Frame>
  <Button name="WorldPlanFilterButton" parentArray="Buttons" virtual="true" mixin="WorldPlanFilterButtonMixin">
    <Scripts>
      <OnClick method="OnClick" />
      <OnLoad method="OnLoad" />
      <OnEvent method="OnEvent" />
      <OnUpdate method="OnUpdate" />
      <OnShow method="OnShow" />
      <OnHide method="OnHide" />
      <OnMouseDown method="OnMouseDown" />
      <OnEnter method="OnEnter" />
      <OnLeave method="OnLeave" />
    </Scripts>
    <Layers>
      <Layer level="BACKGROUND">
        <Texture parentKey="RewardBorder" setAllPoints="true" alphaMode="ADD" />
      </Layer>
      <Layer level="ARTWORK">
        <Texture parentKey="icon">
          <Anchors>
            <Anchor point="BOTTOMLEFT" x="1" y="1" />
            <Anchor point="TOPRIGHT" x="-1" y="-1" />
          </Anchors>
        </Texture>
      </Layer>
      <Layer level="OVERLAY">
        <FontString parentKey="count" inherits="WorldPlanNumberFontThin">
          <Anchors>
            <Anchor point="RIGHT" x="-3" />
          </Anchors>
        </FontString>
      </Layer>
    </Layers>
  </Button>
</Ui>