Mercurial > wow > buffalo2
view Modules/BuffFrame.xml @ 85:1196b8175674
missing "else" control
author | Nenue |
---|---|
date | Tue, 18 Oct 2016 13:16:57 -0400 |
parents | 16b300d96724 |
children | 48182978d1c6 |
line wrap: on
line source
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/ ..\FrameXML\UI.xsd"> <Script file="BuffFrame.lua" /> <Frame name="VeneerBuffFrame" mixin="VeneerBuffFrameMixin" inherits="VeneerMixinScripts" /> <Frame name="VeneerBuffTemplate" virtual="true" inherits="VeneerTemplate" hidden="true"> <Scripts> <OnLoad> self.duration = self.progress.duration self.count = self.progress.count self.border = self.underlay.bg </OnLoad> </Scripts> <Frames> <!-- frame.progress:SetPoint('BOTTOMLEFT', frame, 'BOTTOMLEFT', -1, -7) frame.progress:SetPoint('TOPRIGHT', frame, 'BOTTOMRIGHT', 1, -2) frame.progress:SetHeight(BUFF_PROGRESS_SIZE + (BUFF_PROGRESS_INSET * 2)) frame.progress.bg:SetColorTexture(0,0,0,1) frame.progress.fg:SetColorTexture(1,1,1,1) frame.progress.fg:ClearAllPoints() frame.progress.fg:SetPoint('BOTTOMLEFT', BUFF_PROGRESS_INSET,BUFF_PROGRESS_INSET) frame.progress.fg:SetPoint('TOP', 0, -BUFF_PROGRESS_INSET) --> <Frame name="$parentUnderlay" parentKey="underlay" frameStrata="BACKGROUND"> <Layers> <Layer level="BORDER"> <Texture parentKey="bg" setAllPoints="true" hidden="true" /> </Layer> </Layers> </Frame> <Cooldown name="$parentCooldown" parentKey="cooldown" inherits="CooldownFrameTemplate" reverse="true" setAllPoints="true"> <EdgeTexture> <Color a="0" r="0" g="0" b="0" /> </EdgeTexture> </Cooldown> <Frame name="$parentProgress" parentKey="progress" frameStrata="MEDIUM"> <Anchors> <Anchor point="BOTTOMLEFT" x="-1" y="-7" /> <Anchor point="TOPRIGHT" relativePoint="BOTTOMRIGHT" x="1" y="-2" /> </Anchors> <Layers> <Layer level="BACKGROUND"> <Texture parentKey="bg" setAllPoints="true"> <Color a="1" r="0" g="0" b="0" /> </Texture> </Layer> <Layer level="ARTWORK"> <Texture parentKey="fg" > <Color a="1" r="1" g="1" b="1" /> </Texture> </Layer> <Layer level="OVERLAY"> <FontString name="$parentDuration" parentKey="duration" inherits="VeneerNumberFont"> <Anchors> <Anchor point="BOTTOM" x="0" y="2" /> </Anchors> </FontString> <FontString name="$parentCount" parentKey="count" inherits="VeneerNumberFont" justifyH="RIGHT"> <Anchors> <Anchor point="TOPRIGHT" x="-3" y="-3" /> </Anchors> </FontString> </Layer> </Layers> </Frame> </Frames> </Frame> </Ui>