Mercurial > wow > buffalo2
diff ObjectiveTracker/Widgets.xml @ 38:1f8f9cc3d956
- module integration brought up to speed with current frame management structure
author | Nenue |
---|---|
date | Thu, 21 Apr 2016 11:36:41 -0400 |
parents | e84d645c8ab8 |
children | 03ed70f846de |
line wrap: on
line diff
--- a/ObjectiveTracker/Widgets.xml Mon Apr 18 07:56:23 2016 -0400 +++ b/ObjectiveTracker/Widgets.xml Thu Apr 21 11:36:41 2016 -0400 @@ -1,11 +1,11 @@ <Ui> <!-- houses objective widget templates --> - <Frame name="VeneerObjectiveCriteriaProgressBar" virtual="true" hidden="true"> + <StatusBar name="VeneerObjectiveCriteriaStatusBar" drawLayer="BACKGROUND" virtual="true" hidden="true" minValue="0" maxValue="100" defaultValue="0"> <Size x="250" y="30" /> <Scripts> <OnLoad> - self.widgetType = 'ProgressBar' + self.widgetType = 'StatusBar' Veneer.ObjectiveTracker.RegisterWidget(self) </OnLoad> <OnShow> @@ -19,36 +19,41 @@ </OnEvent> </Scripts> <Layers> - <Layer level="BORDER"> - <Texture name="$parentBackground" parentKey="bg"> - <Color r="0" g="0" b="0" a="0.70" /> + <Layer level="ARTWORK"> + + <Texture parentKey="BorderLeft" file="Interface\PaperDollInfoFrame\UI-Character-Skills-BarBorder"> + <Size x="9" y="22"/> + <TexCoords left="0.007843" right="0.043137" top="0.193548" bottom="0.774193"/> <Anchors> - <Anchor point="BOTTOMLEFT" /> - <Anchor point="TOPRIGHT" /> + <Anchor point="LEFT" x="-3" y="0" relativeKey="$parent.bg" /> </Anchors> </Texture> - </Layer> - <Layer level="ARTWORK"> - - <Texture name="$parentForeground" parentKey="fg"> - <Color r="1" g="1" b="1" a="0.7" /> + <Texture parentKey="BorderRight" file="Interface\PaperDollInfoFrame\UI-Character-Skills-BarBorder"> + <Size x="9" y="22"/> + <TexCoords left="0.043137" right="0.007843" top="0.193548" bottom="0.774193"/> + <Anchors> + <Anchor point="RIGHT" x="3" y="0" relativeKey="$parent.bg"/> + </Anchors> </Texture> - <Texture name="$parentIcon" parentKey="icon" alphaMode="MOD"> + <Texture parentKey="BorderMid" file="Interface\PaperDollInfoFrame\UI-Character-Skills-BarBorder"> + <TexCoords left="0.113726" right="0.1490196" top="0.193548" bottom="0.774193"/> <Anchors> - <Anchor point="TOPLEFT" relativeKey="$parent.fg" /> - <Anchor point="BOTTOMRIGHT" relativeKey="$parent.fg" /> + <Anchor point="TOPLEFT" relativeKey="$parent.BorderLeft" relativePoint="TOPRIGHT"/> + <Anchor point="BOTTOMRIGHT" relativeKey="$parent.BorderRight" relativePoint="BOTTOMLEFT"/> </Anchors> </Texture> </Layer> <Layer level="OVERLAY"> - <FontString name="$parentStatus" parentKey="status" inherits="VeneerNumberFontSmall"> + <FontString name="$parentStatus" parentKey="status" inherits="VeneerActionNumberFont"> <Anchors> <Anchor point="CENTER" /> </Anchors> </FontString> </Layer> </Layers> - </Frame> + <BarTexture file="Interface\TargetingFrame\UI-StatusBar"/> + <BarColor r="0.26" g="0.42" b="1"/> + </StatusBar> <Frame name="VeneerObjectiveCriteriaEvent" virtual="true" hidden="true"> <Size x="250" y="24" />