Mercurial > wow > buffalo2
comparison Modules/BuffFrame.xml @ 90:6e2cb847c3c6
Implement a mixin template for the basic visual config widgets.
| author | Nenue |
|---|---|
| date | Mon, 24 Oct 2016 18:28:40 -0400 |
| parents | 48182978d1c6 |
| children | df10cd0ae949 |
comparison
equal
deleted
inserted
replaced
| 89:74e714637d6a | 90:6e2cb847c3c6 |
|---|---|
| 1 <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/ | 1 <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/ |
| 2 ..\FrameXML\UI.xsd"> | 2 ..\FrameXML\UI.xsd"> |
| 3 <Script file="BuffFrame.lua" /> | 3 <Script file="BuffFrame.lua" /> |
| 4 | 4 |
| 5 <Frame name="VeneerBuffFrame" mixin="VeneerBuffFrameMixin" inherits="VeneerMixinScripts" /> | 5 <Frame name="VeneerBuffFrame" mixin="VeneerBuffFrameMixin" inherits="VeneerHandlerTemplate" frameStrata="BACKGROUND"> |
| 6 <Frame name="VeneerBuffTemplate" virtual="true" inherits="VeneerTemplate" hidden="true"> | 6 <Size x="20" y="20" /> |
| 7 </Frame> | |
| 8 | |
| 9 <Frame name="VeneerBuffTemplate" virtual="true" mixin="VeneerBuffFrameButtonMixin" inherits="VeneerStatusButtonTemplate" hidden="true"> | |
| 7 <Scripts> | 10 <Scripts> |
| 8 <OnLoad> | 11 <OnLoad method="OnLoad" /> |
| 9 self.duration = self.progress.duration | |
| 10 self.count = self.overlay.count | |
| 11 self.border = self.underlay.bg | |
| 12 </OnLoad> | |
| 13 </Scripts> | 12 </Scripts> |
| 14 <Frames> | 13 <Frames> |
| 15 <!-- | 14 <!-- |
| 16 | 15 |
| 17 frame.progress:SetPoint('BOTTOMLEFT', frame, 'BOTTOMLEFT', -1, -7) | 16 frame.progress:SetPoint('BOTTOMLEFT', frame, 'BOTTOMLEFT', -1, -7) |
