comparison ObjectiveTracker/ObjectiveTracker.xml @ 37:e84d645c8ab8

- revised the tracker update function to build its complete data list up front and use the values as points of comparison for determining possible out of place blocks, which will be iterated over afterward to remove what wasn't re-used - also entailed revising the exact role of global event handlers and function hooks, limiting their directions of communication so one doesn't end up calling the other multiple or inifinity times - schema handling polish
author Nenue
date Mon, 18 Apr 2016 07:56:23 -0400
parents a487841050be
children 1f8f9cc3d956
comparison
equal deleted inserted replaced
36:a487841050be 37:e84d645c8ab8
101 </FontString> 101 </FontString>
102 </Layer> 102 </Layer>
103 </Layers> 103 </Layers>
104 </Frame> 104 </Frame>
105 105
106
107
108 <Frame name="$parentClock" parentKey="Clock" hidden="false">
109 <Anchors>
110 <Anchor point="TOPRIGHT" x="-75" y="0" />
111 </Anchors>
112 <Layers>
113 <Layer level="OVERLAY">
114 <FontString inherits="VeneerNumberFont" parentKey="time" text="GAME_TIME">
115 <Anchors>
116 <Anchor point="TOPRIGHT" />
117 </Anchors>
118 <Color r="1" g="1" b="1" a="1" />
119 </FontString>
120 </Layer>
121 </Layers>
122 <Scripts>
123 <OnUpdate>
124 local hour, min = GetGameTime()
125 self.time:SetFormattedText("%d:%d", hour, min)
126 </OnUpdate>
127 </Scripts>
128 </Frame>
129
106 <Button name="$parentCloseButton" parentKey="CloseButton" enableMouse="true" frameStrata="MEDIUM"> 130 <Button name="$parentCloseButton" parentKey="CloseButton" enableMouse="true" frameStrata="MEDIUM">
107 <Size x="16" y="16" /> 131 <Size x="16" y="16" />
108 <HighlightTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight" alphaMode="ADD"/> 132 <HighlightTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight" alphaMode="ADD"/>
109 <Anchors> 133 <Anchors>
110 <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT" x="-2" y="0" /> 134 <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT" x="-2" y="0" />
118 <Anchor point="TOPRIGHT" relativePoint="TOPLEFT" relativeKey="$parent.CloseButton" x="0" y="0" /> 142 <Anchor point="TOPRIGHT" relativePoint="TOPLEFT" relativeKey="$parent.CloseButton" x="0" y="0" />
119 </Anchors> 143 </Anchors>
120 </Button> 144 </Button>
121 </Frames> 145 </Frames>
122 </Frame> 146 </Frame>
123
124 147
125 148
126 149
127 <Frame name="$parentXP" parent="VeneerObjectiveWrapper" parentKey="XPBar" hidden="true"> 150 <Frame name="$parentXP" parent="VeneerObjectiveWrapper" parentKey="XPBar" hidden="true">
128 <Size x="250" y="24" /> 151 <Size x="250" y="24" />