annotate Core.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 9856ebc63fa4
children 1f8f9cc3d956
rev   line source
Nenue@0 1 <Ui>
Nenue@0 2 <Font name="VeneerFont" />
Nenue@0 3
Nenue@0 4 <Font name="VeneerFont_Small" font="Fonts\FRIZQT__.TTF" outline="NORMAL" height="16" />
Nenue@0 5 <Font name="VeneerFont_Large" font="Fonts\FRIZQT__.TTF" outline="NORMAL" height="24" />
Nenue@0 6
Nenue@0 7 <Font name="VeneerFontNormal" inherits="VeneerFont_Small">
Nenue@0 8 <Color r="1" g="1" b="1" a="1" />
Nenue@0 9 </Font>
Nenue@0 10
Nenue@0 11 <Font name="VeneerFontHighlight" inherits="VeneerFont_Small" outline="NORMAL">
Nenue@0 12 <Color r="0" g=".7" b="1" a="1" />
Nenue@0 13 </Font>
Nenue@0 14 <Font name="VeneerFontHighlightLarge" inherits="VeneerFont_Large">
Nenue@0 15 <Color r="0" g=".7" b="1" a="1" />
Nenue@0 16 </Font>
Nenue@0 17
Nenue@0 18 <!-- Defining here so interfaces are easy to spot -->
Nenue@0 19 <Frame name="VeneerHandlerTemplate" virtual="true">
Nenue@0 20 <KeyValues>
Nenue@0 21 </KeyValues>
Nenue@0 22 </Frame>
Nenue@0 23
Nenue@0 24
Nenue@0 25
Nenue@14 26 <Texture name="VnTestLine" virtual="true">
Nenue@14 27 <Color r="1" g="1" b="0" a="1" />
Nenue@14 28 </Texture>
Nenue@0 29
Nenue@22 30 <Font name="VeneerNumberFont" virtual="true" font="Interface\Addons\SharedMedia_MyMedia\font\ArchivoNarrow-Bold.ttf" outline="NORMAL" height="13" >
Nenue@22 31 <Color r="1" g="1" b="1" a="1" />
Nenue@22 32 </Font>
Nenue@37 33 <Font name="VeneerNumberFontSmall" virtual="true" font="Interface\Addons\SharedMedia_MyMedia\font\ArchivoNarrow-Bold.ttf" outline="NORMAL" height="12" >
Nenue@34 34 <Color r="1" g="1" b="1" a="1" />
Nenue@34 35 </Font>
Nenue@21 36 <Font name="VeneerTitleFont" virtual="true" font="Interface\Addons\SharedMedia_MyMedia\font\ArchivoNarrow-Bold.ttf" outline="NORMAL" height="15" >
Nenue@21 37 <Color r="1" g="1" b="1" a="1" />
Nenue@14 38 </Font>
Nenue@0 39
Nenue@21 40 <Font name="VeneerCriteriaFontNormal" virtual="true" font="Interface\Addons\SharedMedia_MyMedia\font\ArchivoNarrow-Regular.ttf" outline="NORMAL" height="16">
Nenue@14 41 <Color r="1" g="1" b="1" a="1" />
Nenue@14 42 </Font>
Nenue@21 43 <Font name="VeneerCriteriaFontComplete" virtual="true" font="Interface\Addons\SharedMedia_MyMedia\font\ArchivoNarrow-Regular.ttf" outline="NORMAL" height="16">
Nenue@14 44 <Color r="0" g="1" b="0" a=".75" />
Nenue@14 45 </Font>
Nenue@21 46 <Font name="VeneerCriteriaFontProgressed" virtual="true" font="Interface\Addons\SharedMedia_MyMedia\font\ArchivoNarrow-Regular.ttf" outline="NORMAL" height="16">
Nenue@14 47 <Color r="1" g="1" b="0" a="1" />
Nenue@14 48 </Font>
Nenue@0 49
Nenue@21 50 <Font name="VeneerCriteriaFontFailed" virtual="true" font="Interface\Addons\SharedMedia_MyMedia\font\ArchivoNarrow-Regular.ttf" outline="NORMAL" height="16">
Nenue@14 51 <Color r="1" g=".4" b="0" a=".75" />
Nenue@14 52 </Font>
Nenue@0 53
Nenue@21 54 <Font name="VeneerStatusFont" virtual="true" font="Interface\Addons\SharedMedia_MyMedia\font\ArchivoNarrow-Regular.ttf" outline="NORMAL" height="14">
Nenue@14 55 <Color r="1" g="1" b="0" a="1" />
Nenue@14 56 </Font>
Nenue@0 57
Nenue@0 58 <FontString virtual="true" name="VeneerFieldName" parentKey="fieldname" inherits="VeneerFontHighlight" justifyV="TOP" justifyH="LEFT" />
Nenue@0 59 <FontString virtual="true" name="VeneerFieldValue" parentKey="fieldvalue" inherits="VeneerFontNormal" justifyV="TOP" justifyH="LEFT" />
Nenue@0 60 <Slider virtual="true" orientation="HORIZONTAL" name="VeneerConfigSlider">
Nenue@0 61 <Size x="250" y="18" />
Nenue@0 62 <Thumbtexture name="$parentThumb" alphaMode="BLEND" parentKey="thumb">
Nenue@0 63 <Size x="12" y="18" />
Nenue@0 64 <Color r="0.25" g="0.25" b="0.25" a="1" />
Nenue@0 65 </Thumbtexture>
Nenue@0 66 <Layers>
Nenue@0 67 <Layer level="BACKGROUND">
Nenue@0 68 <Texture>
Nenue@0 69 <Anchors>
Nenue@0 70 <Anchor point="LEFT" />
Nenue@0 71 <Anchor point="RIGHT" />
Nenue@0 72 </Anchors>
Nenue@0 73 <Size y="7" />
Nenue@0 74 <Color r="0" g="0" b="0" a="1" />
Nenue@0 75 </Texture>
Nenue@0 76
Nenue@0 77 </Layer>
Nenue@0 78 <Layer level="OVERLAY">
Nenue@0 79
Nenue@0 80
Nenue@0 81 <FontString name="$parentOptText" inherits="VeneerFieldName">
Nenue@0 82 <Anchors>
Nenue@0 83 <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT" />
Nenue@0 84 </Anchors>
Nenue@0 85 </FontString>
Nenue@0 86
Nenue@0 87 <FontString name="$parentOptText" inherits="VeneerFieldValue">
Nenue@0 88 <Anchors>
Nenue@0 89 <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT" x="0" y="0" />
Nenue@0 90 </Anchors>
Nenue@0 91 </FontString>
Nenue@0 92 </Layer>
Nenue@0 93 </Layers>
Nenue@0 94 <Scripts>
Nenue@0 95 <OnValueChanged>
Nenue@0 96 self:OnChange()
Nenue@0 97 </OnValueChanged>
Nenue@0 98 </Scripts>
Nenue@0 99 </Slider>
Nenue@0 100
Nenue@0 101 <CheckButton virtual="true" orientation="HORIZONTAL" name="VeneerConfigCheckButton">
Nenue@0 102 <Size x="24" y="24" />
Nenue@0 103 <NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
Nenue@0 104 <PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/>
Nenue@0 105 <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
Nenue@0 106 <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/>
Nenue@0 107 <Layers>
Nenue@0 108 <Layer level="BACKGROUND">
Nenue@0 109 <Texture setAllPoints="true">
Nenue@0 110 <Size y="24" />
Nenue@0 111 <Color r="0" g="0.7" b="1" a="1" />
Nenue@0 112 </Texture>
Nenue@0 113
Nenue@0 114 <FontString name="$parentOptText" inherits="VeneerFieldName" >
Nenue@0 115 <Anchors>
Nenue@0 116 <Anchor point="LEFT" relativePoint="LEFT" x="24" y="0" />
Nenue@0 117 </Anchors>
Nenue@0 118 </FontString>
Nenue@0 119
Nenue@0 120 </Layer>
Nenue@0 121 </Layers>
Nenue@0 122 <Scripts>
Nenue@0 123 <OnValueChanged>
Nenue@0 124 self:OnChange()
Nenue@0 125 </OnValueChanged>
Nenue@0 126 </Scripts>
Nenue@0 127 </CheckButton>
Nenue@0 128
Nenue@0 129
Nenue@0 130 <Button virtual="true" name="VeneerConfigColor">
Nenue@0 131 <Size x="400" y="20" />
Nenue@0 132 <Layers>
Nenue@0 133 <Layer level="BACKGROUND">
Nenue@0 134 <Texture setAllPoints="true">
Nenue@0 135 <Color r="0.15" g="0.15" b="0.15" a="0.5" />
Nenue@0 136 </Texture>
Nenue@0 137 <Texture>
Nenue@0 138 <Anchors>
Nenue@0 139 <Anchor point="BOTTOMLEFT" x="0" y="0" />
Nenue@0 140 </Anchors>
Nenue@0 141 <Size x="18" y="18" />
Nenue@0 142 <Color r="0" g="0" b="0" a="1" />
Nenue@0 143 </Texture>
Nenue@0 144 </Layer>
Nenue@0 145 <Layer level="ARTWORK">
Nenue@0 146 <Texture name="$parentCurrentColor" parentKey="current">
Nenue@0 147 <Anchors>
Nenue@0 148 <Anchor point="BOTTOMLEFT" x="1" y="1" />
Nenue@0 149 </Anchors>
Nenue@0 150 <Size x="16" y="16" />
Nenue@0 151 <Color r="1" g="1" b="1" a="1" />
Nenue@0 152 </Texture>
Nenue@0 153 </Layer>
Nenue@0 154 <Layer level="OVERLAY">
Nenue@0 155
Nenue@0 156 <FontString name="$parentOptText" inherits="VeneerFieldName">
Nenue@0 157 <Anchors>
Nenue@0 158 <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT" x="0" y="0" />
Nenue@0 159 </Anchors>
Nenue@0 160 </FontString>
Nenue@0 161
Nenue@0 162 <FontString parentKey="fieldvalue" name="$parentOptText" inherits="VeneerFontNormal" text="">
Nenue@0 163 <Anchors>
Nenue@0 164 <Anchor point="CENTER" relativePoint="CENTER" relativeKey="$thumb" x="0" y="0" />
Nenue@0 165 </Anchors>
Nenue@0 166 </FontString>
Nenue@0 167
Nenue@0 168 </Layer>
Nenue@0 169 </Layers>
Nenue@0 170 </Button>
Nenue@0 171
Nenue@0 172
Nenue@3 173 <Frame name="Veneer" hidden="true" enableMouse="true" movable="true" parent="UIParent" frameStrata="DIALOG">
Nenue@0 174 <Size x="400" y="400" />
Nenue@0 175 <Anchors>
Nenue@0 176 <Anchor point="CENTER" relativePoint="CENTER" x="0" y="0" />
Nenue@0 177 </Anchors>
Nenue@0 178 <Scripts>
Nenue@0 179 <OnLoad>
Nenue@0 180 self:RegisterForDrag('LeftButton')
Nenue@0 181 </OnLoad>
Nenue@0 182 <OnDragStart>
Nenue@0 183 self:StartMoving()
Nenue@0 184 </OnDragStart>
Nenue@0 185 <OnDragStop>
Nenue@0 186 self:StopMovingOrSizing()
Nenue@0 187 </OnDragStop>
Nenue@0 188 </Scripts>
Nenue@0 189 <Layers>
Nenue@0 190 <Layer level="BACKGROUND">
Nenue@0 191 <Texture setAllPoints="true">
Nenue@0 192 <Color r="0" g="0" b="0" a="0.7" />
Nenue@0 193 </Texture>
Nenue@0 194 </Layer>
Nenue@0 195 <Layer level="ARTWORK">
Nenue@0 196 <FontString name="$parentHeader" parentKey="header" inherits="VeneerFontHighlightLarge" text="Veneer">
Nenue@0 197 <Anchors>
Nenue@0 198 <Anchor point="TOPLEFT" x="3" y="-4" />
Nenue@0 199 </Anchors>
Nenue@0 200 </FontString>
Nenue@0 201 </Layer>
Nenue@0 202 </Layers>
Nenue@0 203 <Frames>
Nenue@0 204 <Button name="$parentCloseButton" parentKey="close" text="X">
Nenue@0 205 <ButtonText inherits="SystemFont_Small" />
Nenue@0 206 <Scripts>
Nenue@0 207 <OnClick>
Nenue@0 208 self:GetParent():Close()
Nenue@0 209 </OnClick>
Nenue@0 210 </Scripts>
Nenue@0 211 <Size x="24" y="24" />
Nenue@0 212 <Anchors>
Nenue@0 213 <Anchor point="TOPRIGHT" x="-5" y="-5" />
Nenue@0 214 </Anchors>
Nenue@0 215 <NormalTexture parentKey="normal" setAllPoints="true">
Nenue@0 216 <Color a="1" r="0" g="0" b="0" />
Nenue@0 217 </NormalTexture>
Nenue@0 218 <PushedTexture setAllPoints="true">
Nenue@0 219 <Color a="1" r="1" g="0" b="0" />
Nenue@0 220 </PushedTexture>
Nenue@0 221 <HighlightTexture setAllPoints="true" alphaMode="ADD">
Nenue@0 222 <Color a=".5" r="1" g=".7" b="0.5" />
Nenue@0 223 </HighlightTexture>
Nenue@0 224 </Button>
Nenue@0 225 <Button name="$parentGuidesButton" parentKey="guides" text="Guides">
Nenue@0 226 <ButtonText inherits="SystemFont_Small" />
Nenue@0 227 <Scripts>
Nenue@0 228 <OnClick>
Nenue@0 229 self:GetParent():ToggleGuides(self)
Nenue@0 230 </OnClick>
Nenue@0 231 </Scripts>
Nenue@0 232 <Size x="36" y="24" />
Nenue@0 233 <Anchors>
Nenue@0 234 <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentCloseButton" x="-5" y="0" />
Nenue@0 235 </Anchors>
Nenue@0 236 <NormalTexture parentKey="normal" setAllPoints="true">
Nenue@0 237 <Color a="1" r="0" g="0" b="0" />
Nenue@0 238 </NormalTexture>
Nenue@0 239 <PushedTexture setAllPoints="true">
Nenue@0 240 <Color a="1" r="1" g="0" b="0" />
Nenue@0 241 </PushedTexture>
Nenue@0 242 <HighlightTexture setAllPoints="true" alphaMode="ADD">
Nenue@0 243 <Color a=".5" r="1" g=".7" b="0.5" />
Nenue@0 244 </HighlightTexture>
Nenue@0 245 </Button>
Nenue@0 246 </Frames>
Nenue@0 247 </Frame>
Nenue@0 248
Nenue@0 249
Nenue@0 250 <Script file="Init.lua" />
Nenue@0 251 <Script file="Constants.lua" />
Nenue@0 252 <Script file="Config.lua" />
Nenue@0 253
Nenue@0 254 </Ui>