comparison ObjectiveTracker.xml @ 13:9455693fc290

Init - recall XML display state on reload ObjectiveFrame - quest coloring by relative level - quest coloring by daily/weekly/complete status - remember starting scroll value between reload - limit anchor points to edges for regions affected by style attributes ObjectiveInfo - AutoQuest outline definitions - Pull Quest title and tag data in addition to WatchInfo ObjectiveStyle - ensure consistent style table - hardcode certain attributes for sanity XML - ensure consistent naming conventions for heading and content elements - ensure hardcore anchors are based on edges - expansion of file structure to deal with complexities of dynamic widgets and style caching ObjectiveUI - determine primary style by block handler when restoring original style - moved framescript to 'ObjectiveWidgets' lua
author Nenue
date Sat, 02 Apr 2016 17:46:52 -0400
parents 8238cddaddb1
children ed642234f017
comparison
equal deleted inserted replaced
12:8238cddaddb1 13:9455693fc290
2 2
3 3
4 <Texture name="VnTestLine" virtual="true"> 4 <Texture name="VnTestLine" virtual="true">
5 <Color r="1" g="1" b="0" a="1" /> 5 <Color r="1" g="1" b="0" a="1" />
6 </Texture> 6 </Texture>
7
8 <Font name="VeneerTitleFont" virtual="true" font="Fonts\FRIZQT__.TTF" outline="NORMAL" height="16" >
9 <Color r="1" g=".80" b=".25" a="1" />
10 </Font>
7 11
8 <Font name="VeneerCriteriaFontNormal" virtual="true" font="Fonts\FRIZQT__.TTF" outline="NORMAL" height="16"> 12 <Font name="VeneerCriteriaFontNormal" virtual="true" font="Fonts\FRIZQT__.TTF" outline="NORMAL" height="16">
9 <Color r="1" g="1" b="1" a="1" /> 13 <Color r="1" g="1" b="1" a="1" />
10 </Font> 14 </Font>
11 <Font name="VeneerCriteriaFontComplete" virtual="true" font="Fonts\FRIZQT__.TTF" outline="NORMAL" height="16"> 15 <Font name="VeneerCriteriaFontComplete" virtual="true" font="Fonts\FRIZQT__.TTF" outline="NORMAL" height="16">
91 <FontString name="$parentTitle" parentKey="title" inherits="VeneerStatusFont"> 95 <FontString name="$parentTitle" parentKey="title" inherits="VeneerStatusFont">
92 <Anchors> 96 <Anchors>
93 <Anchor point="LEFT" /> 97 <Anchor point="LEFT" />
94 </Anchors> 98 </Anchors>
95 </FontString> 99 </FontString>
100
101 <!--<Texture name="$parentTCR" parentKey="outlineClosed" file="Interface\FrameGeneral\UI-Frame">
102 <Size x="40" y="30" />
103 <Color r="1" g="1" b="1" a="1" />
104 <TexCoords top=".0156" bottom=".0265" left=".625" right=".875" />
105 <Anchors>
106 <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT" x="2" y="2" />
107 </Anchors>
108 </Texture>-->
109
96 </Layer> 110 </Layer>
97 </Layers> 111 </Layers>
98 <Frames> 112 <Frames>
99 113
100 <Frame name="$parentXP" parentKey="XPBar" hidden="true"> 114 <Frame name="$parentXP" parentKey="XPBar" hidden="true">
129 </FontString> 143 </FontString>
130 </Layer> 144 </Layer>
131 </Layers> 145 </Layers>
132 </Frame> 146 </Frame>
133 147
134 <Button name="$parentClose" parentKey="close" inherits="UIPanelCloseButtonNoScripts"> 148 <Button name="$parentClose" parentKey="close" inherits="UIPanelCloseButtonNoScripts" enableMouseWheel="true" enableMouse="true">
135 <Size x="25" y="20" /> 149
150 <NormalTexture file="Interface\PaperDollInfoFrame\UI-Character-SkillsPageDown-Up" />
151 <PushedTexture file="Interface\PaperDollInfoFrame\UI-Character-SkillsPageDown-Down" />
136 <Anchors> 152 <Anchors>
137 <Anchor point="TOPRIGHT" x="-4" y="-2" /> 153 <Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT" x="-2" y="2" />
138 </Anchors> 154 </Anchors>
155 <Layers>
156 </Layers>
139 </Button> 157 </Button>
140 158
141 <ScrollFrame name="$parentScrollFrame" enableMouseWheel="true" parentKey="scrollArea"> 159 <ScrollFrame name="$parentScrollFrame" enableMouseWheel="true" parentKey="scrollArea" parentArray="minimizeFrames">
142 <Layers> 160 <Layers>
143 <Layer level="BACKGROUND"> 161 <Layer level="BACKGROUND">
144 <Texture setAllPoints="true" parentKey="bg"> 162 <Texture setAllPoints="true" parentKey="bg">
145 <Color r="0.15" g=".3" b=".3" a="0" /> 163 <Color r="0.15" g=".3" b=".3" a="0" />
146 </Texture> 164 </Texture>
266 <MinColor r="1" g="1" b="1" a="0.15" /> 284 <MinColor r="1" g="1" b="1" a="0.15" />
267 </Gradient> 285 </Gradient>
268 </Texture> 286 </Texture>
269 </Layer> 287 </Layer>
270 <Layer level="OVERLAY"> 288 <Layer level="OVERLAY">
271 <FontString name="$parentTitle" parentKey="title" inherits="VeneerFontHighlight" justifyH="LEFT" justifyV="MIDDLE"> 289 <FontString name="$parentTitle" parentKey="title" inherits="VeneerTitleFont" justifyH="LEFT" justifyV="MIDDLE">
272 <Anchors> 290 <Anchors>
273 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeKey="$parent.titlebg" /> 291 <Anchor point="TOP" relativeKey="$parent.titlebg" />
274 </Anchors> 292 <Anchor point="BOTTOM" relativeKey="$parent.titlebg" />
275 </FontString> 293 <Anchor point="LEFT" relativeKey="$parent.titlebg" />
276 <FontString name="$parentStatus" parentKey="status" inherits="VeneerFontNormal" justifyH="LEFT" justifyV="MIDDLE" wordwrap="true">
277 <Anchors>
278 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeKey="$parent.statusbg" x="5" y="0" />
279 <Anchor point="RIGHT" relativeKey="$parent" /> 294 <Anchor point="RIGHT" relativeKey="$parent" />
280 </Anchors> 295 </Anchors>
281 </FontString> 296 </FontString>
282 <FontString name="$parentDebugText" parentKey="debugText" inherits="VeneerCriteriaFontNormal"> 297 <FontString name="$parentStatus" parentKey="status" inherits="VeneerCriteriaFontNormal" justifyH="LEFT" justifyV="MIDDLE" wordwrap="true">
298 <Anchors>
299 <Anchor point="TOP" relativeKey="$parent.statusbg" />
300 <Anchor point="BOTTOM" relativeKey="$parent.statusbg" />
301 <Anchor point="LEFT" relativeKey="$parent.statusbg" />
302 <Anchor point="RIGHT" relativeKey="$parent.statusbg" />
303 </Anchors>
304 </FontString>
305 <FontString name="$parentDebugText" parentKey="debugText" inherits="VeneerCriteriaFontNormal" justifyH="RIGHT">
283 <Anchors> 306 <Anchors>
284 <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT" /> 307 <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT" />
285 </Anchors> 308 </Anchors>
286 </FontString> 309 </FontString>
287 </Layer> 310 </Layer>
295 <Script file="ObjectiveInfo.lua" /> 318 <Script file="ObjectiveInfo.lua" />
296 <Script file="ObjectiveUI.lua" /> 319 <Script file="ObjectiveUI.lua" />
297 <Script file="ObjectiveStyle.lua" /> 320 <Script file="ObjectiveStyle.lua" />
298 <Script file="ObjectiveFrame.lua" /> 321 <Script file="ObjectiveFrame.lua" />
299 <Script file="ObjectiveEvents.lua" /> 322 <Script file="ObjectiveEvents.lua" />
323 <Script file="ObjectiveWidgets.lua" />
300 </Ui> 324 </Ui>