annotate Core.xml @ 17:c33497b116d6

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