Mercurial > wow > buffalo2
diff ObjectiveTracker.xml @ 21:d5ee940de273
use hardcoded aesthetic manipulations over loadstring cramming
author | Nenue |
---|---|
date | Fri, 08 Apr 2016 06:12:05 -0400 |
parents | 605e8f0e46db |
children | 9b3fa734abff |
line wrap: on
line diff
--- a/ObjectiveTracker.xml Wed Apr 06 07:54:19 2016 -0400 +++ b/ObjectiveTracker.xml Fri Apr 08 06:12:05 2016 -0400 @@ -1,10 +1,17 @@ <Ui> - <Frame name="VeneerObjectiveWrapper" parent="UIParent" movable="true" enableMouse="true" frameStrata="LOW"> + <Frame name="VeneerObjectiveWrapper" parent="UIParent" enableMouse="false" frameStrata="LOW"> + <TitleRegion> + <Size x="300" y="30" /> + <Anchors> + <Anchor point="TOP" /> + <Anchor point="BOTTOM" relativePoint="TOP" x="0" y="-30" /> + </Anchors> + </TitleRegion> <Scripts> <OnLoad> self.toggle = true - self.drag = true + --self.drag = true Veneer.OnLoad(self) </OnLoad> <OnShow> @@ -16,8 +23,8 @@ Veneer.OnDragStop(self) Veneer.ObjectiveTracker.UpdateActionButtons() </OnDragStop> - <!--@debug@--> - <!--@end-debug@--> + <!--@config@--> + <!--@end-config@--> </Scripts> <Anchors> <Anchor point="TOPRIGHT" x="-60" y="-240" /> @@ -81,7 +88,7 @@ <ScrollFrame name="$parentScrollFrame" enableMouseWheel="true" parentKey="scrollArea" parentArray="minimizeFrames"> <Anchors> - <Anchor point="TOPLEFT" /> + <Anchor point="TOP" /> </Anchors> <Layers> <Layer level="BACKGROUND"> @@ -95,7 +102,7 @@ <Frame name="VeneerObjectiveScroll"> <Anchors> - <Anchor point="TOPLEFT" /> + <Anchor point="TOP" /> </Anchors> <Layers> <Layer level="BACKGROUND"> @@ -223,17 +230,19 @@ <Frame name="VeneerTrackerBlock" parent="VeneerObjectiveScroll" virtual="true" enableMouse="true"> <Layers> <Layer level="BACKGROUND"> - </Layer> - <Layer level="ARTWORK"> <Texture name="$parentTitleBackground" parentKey="titlebg"> <Color r="1" g="1" b="1" a="1" /> <Anchors> - <Anchor point="TOPLEFT" /> + <Anchor point="LEFTTOP" x="0" y="0" /> + <Anchor point="RIGHT" /> </Anchors> </Texture> <Texture name="$parentStatusBackground" parentKey="statusbg"> <Anchors> - <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeKey="$parent.titlebg" /> + <Anchor point="LEFT" /> + <Anchor point="RIGHT" /> + <Anchor point="TOP" relativePoint="BOTTOM" relativeKey="$parent.titlebg" /> + <Anchor point="BOTTOM" x="0" y="0" /> </Anchors> <Color r="1" g="1" b="1" a="1" /> <Gradient orientation="HORIZONTAL"> @@ -241,6 +250,8 @@ <MaxColor r="0" g="0" b="0" a=".35" /> </Gradient> </Texture> + </Layer> + <Layer level="ARTWORK"> <Texture name="$parentItemTile" parentKey="icon" alphaMode="ADD" hidden="true"> <Size x="40" y="40" /> <TexCoords top="0.12" bottom="0.87" left="0.12" right="0.87" /> @@ -249,87 +260,206 @@ </Anchors> </Texture> - <Texture parentKey="TypeTag" file="Interface\QuestFrame\QuestTypeIcons" alphaMode="ADD" hidden="true"> + <Texture parentKey="typeTag" file="Interface\QuestFrame\QuestTypeIcons" alphaMode="ADD" hidden="true"> <Size x="18" y="18"/> <Anchors> <Anchor point="TOPRIGHT" relativePoint="TOPLEFT" relativeKey="$parent.FrequencyTag" x="-3" y="-3"/> </Anchors> </Texture> - <Texture parentKey="FrequencyTag" file="Interface\QuestFrame\QuestTypeIcons" alphaMode="ADD" hidden="true"> + <Texture parentKey="frequencyTag" file="Interface\QuestFrame\QuestTypeIcons" alphaMode="ADD" hidden="true"> <Size x="18" y="18"/> <Anchors> <Anchor point="TOPRIGHT" relativePoint="TOPLEFT" relativeKey="$parent.CompletionTag" x="-3" y="-3"/> </Anchors> </Texture> - <Texture parentKey="CompletionTag" file="Interface\QuestFrame\QuestTypeIcons" alphaMode="ADD" hidden="true"> + <Texture parentKey="completionTag" file="Interface\QuestFrame\QuestTypeIcons" alphaMode="ADD" hidden="true"> <Size x="18" y="18"/> <Anchors> <Anchor point="TOPRIGHT" relativePoint="TOPLEFT" relativeKey="$parent.icon" x="-3" y="-3"/> </Anchors> </Texture> - <Texture parentKey="SelectionOverlay" setAllPoints="true" alphaMode="ADD" hidden="true"> + <Texture name="$parentMoneyTile" parentKey="money" hidden="true" /> + + <Texture parentKey="SelectionOverlay" alphaMode="ADD" hidden="true"> + <Anchors> + <Anchor point="TOPLEFT" /> + <Anchor point="BOTTOMRIGHT" /> + </Anchors> <Color r="1" g="1" b="1" a="1" /> <Gradient orientation="HORIZONTAL"> - <MaxColor r="1" g="1" b="1" a="0.125" /> - <MinColor r="1" g="1" b="1" a="0.25" /> - </Gradient> - </Texture> - <Texture name="$parentMoneyTile" parentKey="money" hidden="true" /> - </Layer> - <Layer level="HIGHLIGHT"> - <Texture name="$parentHighLight" parentKey="highlight"> - <Anchors> - <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeKey="$parent.titlebg" /> - <Anchor point="BOTTOM" relativePoint="TOP" relativeKey="$parent.titlebg" x="0" y="-4"/> - <Anchor point="RIGHT" relativePoint="RIGHT" /> - </Anchors> - <Color r="1" g="1" b="1" a="1" /> - <Gradient orientation="VERTICAL"> - <MaxColor r="1" g="1" b="1" a=".15" /> - <MinColor r="1" g="1" b="1" a="0" /> - </Gradient> - </Texture> - <Texture name="$parentLowLight" parentKey="highlight2"> - <Anchors> - <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeKey="$parent.statusbg" x="0" y="14" /> - <Anchor point="BOTTOM" relativePoint="BOTTOM" relativeKey="$parent.statusbg" x="0" y="0"/> - <Anchor point="RIGHT" relativePoint="RIGHT" relativeKey="$parent" /> - </Anchors> - <Color r="1" g="1" b="1" a="1" /> - <Gradient orientation="VERTICAL"> - <MaxColor r="1" g="1" b="1" a="0" /> - <MinColor r="1" g="1" b="1" a="0.15" /> + <MaxColor r="1" g="0" b="0" a="0.7" /> + <MinColor r="1" g="0" b="0" a="0.7" /> </Gradient> </Texture> </Layer> <Layer level="OVERLAY"> - <FontString name="$parentTitle" parentKey="title" inherits="VeneerTitleFont" justifyH="LEFT" justifyV="MIDDLE"> + <FontString name="$parentTitle" parentKey="title" inherits="VeneerTitleFont" justifyH="LEFT" justifyV="TOP"> <Anchors> <Anchor point="TOP" relativeKey="$parent.titlebg" /> <Anchor point="LEFT" relativeKey="$parent" /> <Anchor point="RIGHT" relativeKey="$parent" /> </Anchors> </FontString> - <FontString name="$parentStatus" parentKey="status" inherits="VeneerCriteriaFontNormal" justifyH="LEFT" justifyV="MIDDLE" wordwrap="true"> + <FontString name="$parentStatus" parentKey="status" inherits="VeneerCriteriaFontNormal" justifyH="LEFT" justifyV="TOP" wordwrap="true"> <Anchors> <Anchor point="TOP" relativeKey="$parent.statusbg" /> <Anchor point="LEFT" relativeKey="$parent" /> <Anchor point="RIGHT" relativeKey="$parent" /> </Anchors> </FontString> - <FontString name="$parentDebugText" parentKey="debugText" inherits="VeneerCriteriaFontNormal" justifyH="RIGHT"> + <FontString name="$parentDebugText" parentKey="debugText" inherits="VeneerCriteriaFontNormal" justifyH="RIGHT" justifyV="TOP"> <Anchors> <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT" /> </Anchors> </FontString> <FontString name="$parentItemTileText" parentKey="iconLabel" inherits="VeneerCriteriaFontNormal"> <Anchors> - <Anchor point="TOPRIGHT" x="-2" y="-4" relativeKey="$parent.icon" /> + <Anchor point="TOPRIGHT" x="-1" y="-4" relativeKey="$parent.icon" /> </Anchors> </FontString> + + + <Texture alphaMode="BLEND" parentArray="config" hidden="true"> + <Anchors> + <Anchor point="TOPLEFT" relativeKey="$parent.status" /> + <Anchor point="BOTTOMRIGHT" relativeKey="$parent.status" relativePoint="BOTTOMLEFT" x="1" y="0" /> + </Anchors> + <Color r="1" g="1" b="1" a="1" /> + </Texture> + <Texture alphaMode="BLEND" parentArray="config" hidden="true"> + <Anchors> + <Anchor point="TOPLEFT" relativeKey="$parent.status" /> + <Anchor point="BOTTOMRIGHT" relativeKey="$parent.status" relativePoint="TOPRIGHT" x="0" y="-1" /> + </Anchors> + <Color r="1" g="1" b="1" a="1" /> + </Texture> + <Texture alphaMode="BLEND" parentArray="config" hidden="true"> + <Anchors> + <Anchor point="TOPLEFT" relativeKey="$parent.status" relativePoint="BOTTOMLEFT" x="0" y="1" /> + <Anchor point="BOTTOMRIGHT" relativeKey="$parent.status" /> + </Anchors> + <Color r="1" g="1" b="1" a="1" /> + </Texture> + + <Texture alphaMode="ADD" parentArray="config" hidden="true"> + <Anchors> + <Anchor point="TOPLEFT" relativeKey="$parent.statusbg" x="-30" y="0" /> + <Anchor point="BOTTOMRIGHT" relativeKey="$parent.status" relativePoint="TOPRIGHT" x="30" y="0" /> + </Anchors> + <Color r="0" g="1" b="0" a="0.5" /> + </Texture> + <Texture alphaMode="BLEND" parentArray="config" hidden="true"> + <Anchors> + <Anchor point="TOPLEFT" x="-35" y="0" /> + <Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT" x="0" y="-1" /> + </Anchors> + <Color r="1" g="0" b="0" a="1" /> + </Texture> + <Texture alphaMode="BLEND" parentArray="config" hidden="true"> + <Anchors> + <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" x="0" y="1" /> + <Anchor point="BOTTOMRIGHT" x="35" y="0" /> + </Anchors> + <Color r="1" g=".5" b="0" a="1" /> + </Texture> + + </Layer> + <Layer level="HIGHLIGHT"> + <Texture name="$parentHighLight" parentKey="highlight"> + <Anchors> + <Anchor point="TOPLEFT" /> + <Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT" x="0" y="-4"/> + </Anchors> + <Color r="1" g="1" b="1" a="1" /> + <Gradient orientation="VERTICAL"> + <MaxColor r="1" g="0" b=".5" a="1" /> + <MinColor r="1" g="0" b=".5" a="0" /> + </Gradient> + </Texture> + <Texture name="$parentLowLight" parentKey="lowlight"> + <Anchors> + <Anchor point="TOP" relativePoint="BOTTOM" x="0" y="14" /> + <Anchor point="BOTTOM" x="0" y="0"/> + <Anchor point="RIGHT" /> + <Anchor point="LEFT" /> + </Anchors> + <Color r="1" g="1" b="1" a="1" /> + <Gradient orientation="VERTICAL"> + <MaxColor r="1" g="0" b=".5" a="0" /> + <MinColor r="1" g="0" b=".5" a="1" /> + </Gradient> + </Texture> + </Layer> + </Layers> + </Frame> + + <Frame name="VeneerTrackerObjective" virtual="true" hidden="true"> + <Anchors> + <Anchor point="RIGHT" /> + </Anchors> + <Layers> + <Layer level="OVERLAY"> + <FontString inherits="VeneerCriteriaFontNormal" parentKey="status" wordwrap="true" justifyH="LEFT" justifyV="TOP"> + <Anchors> + <Anchor point="TOP" /> + <Anchor point="LEFT" /> + <Anchor point="RIGHT" /> + </Anchors> + </FontString> + + <!-- debugging guides --> + <Texture alphaMode="BLEND" parentArray="config" hidden="true"> + <Anchors> + <Anchor point="TOPLEFT" x="0" y="600" /> + <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMLEFT" x="1" y="-600" /> + </Anchors> + <Color r="0" g="1" b="0" a="1" /> + </Texture> + <Texture alphaMode="ADD" parentArray="config" hidden="true"> + <Anchors> + <Anchor point="TOPLEFT" relativeKey="$parent" x="0" y="600" /> + <Anchor point="BOTTOMRIGHT" relativeKey="$parent.status" relativePoint="BOTTOMLEFT" x="0" y="-600" /> + </Anchors> + <Color r="0" g=".4" b="1" a=".25" /> + </Texture> + <Texture alphaMode="BLEND" parentArray="config" hidden="true"> + <Anchors> + <Anchor point="TOPLEFT" relativeKey="$parent.status" relativePoint="TOPRIGHT" x="-1" y="200" /> + <Anchor point="BOTTOMRIGHT" relativeKey="$parent.status" x="0" y="-600" /> + </Anchors> + <Color r="0" g="1" b="0" a=".5" /> + </Texture> + + <Texture alphaMode="BLEND" parentArray="config" hidden="true"> + <Anchors> + <Anchor point="TOPLEFT" relativeKey="$parent.status" x="-30" y="0" /> + <Anchor point="BOTTOMRIGHT" relativeKey="$parent.status" relativePoint="TOPRIGHT" x="0" y="-1" /> + </Anchors> + <Color r="1" g="0" b="0" a="0.5" /> + </Texture> + <Texture alphaMode="BLEND" parentArray="config" hidden="true"> + <Anchors> + <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeKey="$parent.status" x="0" y="1" /> + <Anchor point="BOTTOMRIGHT" relativeKey="$parent.status" relativePoint="BOTTOMRIGHT" x="30" y="0" /> + </Anchors> + <Color r="1" g="0" b="0" a="0.5" /> + </Texture> + + <!-- end debugging guides --> + + </Layer> + <Layer level="BACKGROUND"> + <Texture parentKey="statusbg"> + <Anchors> + <Anchor point="TOP" /> + <Anchor point="LEFT" /> + <Anchor point="RIGHT" /> + <Anchor point="BOTTOM" /> + </Anchors> + </Texture> </Layer> </Layers> </Frame>