annotate Core.xml @ 25:4b3da1b221de v1.0-beta

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