diff WorldQuests.xml @ 67:96183f981acb

Update for Legion Patch 7.2 - Pins for quests detected from the flight map should properly update as needed. - Fixed dropdown menu configurations not getting applied. - Added a toggle button to the world map display that performs the same function as the 'Enable' option in the dropdown menu. - Rewrote the majority of display update handlers for a significant performance improvements while interacting with the world map. - AP token info should now reflect artifact knowledge changes.
author Nenue
date Sat, 01 Apr 2017 08:17:30 -0400
parents be4db60219ca
children 78d78dc77822
line wrap: on
line diff
--- a/WorldQuests.xml	Thu Mar 30 02:32:44 2017 -0400
+++ b/WorldQuests.xml	Sat Apr 01 08:17:30 2017 -0400
@@ -4,11 +4,49 @@
 
 
   <Frame name="$parentQuests" mixin="WorldPlanQuestsMixin" parent="WorldPlan">
+
     <Scripts>
       <OnLoad method="OnLoad" />
       <OnEvent method="OnEvent" />
+      <OnUpdate method="OnUpdate" />
       <OnShow method="OnShow" />
     </Scripts>
+
+    <Frames>
+      <CheckButton name="$parentToggle" parentKey="Toggle" >
+        <Size x="20" y="20" />
+        <Anchors>
+          <Anchor point="TOPLEFT" relativePoint="TOPLEFT" x="2" y="-6" />
+        </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>
+
+        <ButtonText inherits="GameFontNormal" text="World Quests">
+          <Anchors>
+            <Anchor point="LEFT" relativePoint="RIGHT" x="3" />
+          </Anchors>
+        </ButtonText>
+        <NormalTexture setAllPoints="true">
+          <Color a=".25" r="0" g="0" b="0" />
+        </NormalTexture>
+        <CheckedTexture setAllPoints="false">
+          <Anchors>
+            <Anchor point="TOPRIGHT" x="-1" y="-1" />
+            <Anchor point="BOTTOMLEFT" x="1" y="1" />
+          </Anchors>
+          <Color a=".75" r="1" g="1" b="1" />
+        </CheckedTexture>
+      </CheckButton>
+    </Frames>
   </Frame>
 
   </Ui>
\ No newline at end of file