diff WorldPlan.xml @ 29:c1612c2c1840

WorldPlan: - Optimizations to in a lot of areas that should lead to better load-times and snappier world map. * Responding to quest log and map events by setting flags instead of tailing into the complete works. * Using a generic getter function for resolving pin visual attributes. and making use of blizzard constants for sanity's sake.
author Nenue
date Thu, 27 Oct 2016 13:50:56 -0400
parents dbc865d2be82
children 8cb750e79952
line wrap: on
line diff
--- a/WorldPlan.xml	Thu Oct 27 06:19:05 2016 -0400
+++ b/WorldPlan.xml	Thu Oct 27 13:50:56 2016 -0400
@@ -6,6 +6,7 @@
 
   <Font name="WorldPlanFont" font="Interface\AddOns\WorldPlan\Font\ArchivoNarrow-Bold.ttf" height="13" outline="NORMAL" virtual="true" />
   <Font name="WorldPlanNumberFont" font="Interface\AddOns\WorldPlan\Font\ArchivoNarrow-Bold.ttf" height="10" outline="NORMAL" virtual="true" />
+  <Font name="WorldPlanNumberFontThin" font="Interface\AddOns\WorldPlan\Font\ArchivoNarrow-Regular.ttf" height="13" outline="THICK" virtual="true" />
 
   <GameTooltip name="WorldPlanTooltip" parent="UIParent" inherits="GameTooltipTemplate">
 
@@ -77,8 +78,8 @@
             <Anchor point="BOTTOMLEFT" x="-14" y="-14" />
           </Anchors>
         </Texture>
-        <Texture parentKey="supertrackBorder" file="Interface\BUTTONS\GREENGRAD64" desaturated="true" />
-        <Texture parentKey="EliteDecal" atlas="worldquest-questmarker-dragon" hidden="true">
+        <Texture parentKey="supertrackBorder" desaturated="true" />
+        <Texture parentKey="EliteBorder" atlas="worldquest-questmarker-dragon" hidden="true">
           <Anchors>
             <Anchor point="TOPLEFT" relativeKey="$parent.iconBorder" x="-6" y="6"/>
             <Anchor point="BOTTOMRIGHT" relativeKey="$parent.iconBorder" x="6" y="-6"/>
@@ -86,14 +87,9 @@
         </Texture>
       </Layer>
       <Layer level="OVERLAY">
-        <FontString inherits="GameFontNormal" parentKey="count">
+        <FontString inherits="WorldPlanNumberFontThin" parentKey="count">
           <Anchors>
-            <Anchor point="BOTTOMRIGHT" relativeKey="$parent.icon" x="0" y="0" />
-          </Anchors>
-        </FontString>
-        <FontString inherits="WorldPlanFont" parentKey="label">
-          <Anchors>
-            <Anchor point="BOTTOM" x="0" y="0" />
+            <Anchor point="BOTTOM" relativeKey="$parent.icon" x="0" y="0" />
           </Anchors>
         </FontString>
         <FontString inherits="WorldPlanNumberFont" parentKey="timeLabel">
@@ -116,23 +112,12 @@
           </Anchors>
         </Texture>
 
+      </Layer>
+      <Layer level="HIGHLIGHT">
         <Texture parentKey="highlight" setAllPoints="true" alphaMode="ADD" alpha="0" file="Interface\Tooltips\UI-Tooltip-Background" desaturated="true" />
 
       </Layer>
     </Layers>
-    <Frames>
-      <Cooldown parentKey="Swipe" hideCountdownNumbers="true" hidden="true">
-        <Anchors>
-          <Anchor point="CENTER" />
-        </Anchors>
-        <SwipeTexture file="Interface\Garrison\GarrLanding-TradeskillTimerFill" setAllPoints="true" />
-        <Layers>
-          <Layer level="BACKGROUND">
-            <Texture parentKey="bg" setAllPoints="true" atlas="GarrLanding-TradeskillTimer-Border"  alpha="1"/>
-          </Layer>
-        </Layers>
-      </Cooldown>
-    </Frames>
     <Scripts>
       <OnLoad method="OnLoad" />
       <OnEvent method="OnEvent" />