/src/ChorusUnitButtonTemplate.xml (54df1a5d4a773eb4ad2595883d126c1b3fe4adcd) (10667 bytes) (mode 100644) (type blob)
<?xml version="1.0" encoding="UTF-8"?>
<Ui xmlns="http://www.blizzard.com/wow/ui/">
<Script file="ChorusUnitButtonTemplate.lua"/>
<Button name="ChorusUnitButtonTemplate" toplevel="true" inherits="SecureUnitButtonTemplate" virtual="true" enableMouse="true" frameStrata="LOW">
<Frames>
<Frame name="$parentSecureHandlerAttributeFrame" inherits="SecureHandlerAttributeTemplate"/>
</Frames>
<Scripts>
<OnLoad>Chorus.unitButtonMain(self);</OnLoad>
</Scripts>
<Attributes>
<!-- When the button is clicked with left mouse button,
given no modifier keys are held,
target game unit that corresponds to the button. -->
<Attribute name="type1" type="string" value="target"/>
</Attributes>
</Button>
<Button name="ChorusTinyUnitButtonTemplate" inherits="ChorusUnitButtonTemplate" virtual="true">
<Size>
<AbsDimension x="64" y="16"/>
</Size>
<Frames>
<Frame name="$parentUnitNameFrame" inherits="ChorusUnitNameFrameTemplate" setAllPoints="true"/>
<StatusBar name="$parentHealthFrame" inherits="ChorusHealthFrameTemplate" setAllPoints="true">
<Attributes>
<Attribute name="showText" type="boolean" value="false"/>
</Attributes>
</StatusBar>
</Frames>
</Button>
<Button name="ChorusSmallUnitButtonTemplate" inherits="ChorusUnitButtonTemplate" virtual="true">
<Size>
<AbsDimension x="96" y="32"/>
</Size>
<Frames>
<Frame name="$parentUnitNameFrame" inherits="ChorusUnitNameFrameTemplate">
<Anchors>
<Anchor point="TOPRIGHT">
<Offset x="0" y="0"/>
</Anchor>
<Anchor point="TOPLEFT">
<Offset x="0" y="0"/>
</Anchor>
<Anchor point="BOTTOMLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
<Offset x="0" y="-16"/>
</Anchor>
<Anchor point="BOTTOMRIGHT" relativeTo="$parent" relativePoint="TOPRIGHT">
<Offset x="0" y="-16"/>
</Anchor>
</Anchors>
</Frame>
<Frame name="$parentRaidTargetIconFrame" inherits="ChorusRaidTargetIconFrameTemplate">
<Anchors>
<Anchor point="CENTER">
<Offset x="0" y="0"/>
</Anchor>
</Anchors>
</Frame>
<StatusBar name="$parentHealthFrame" inherits="ChorusHealthFrameTemplate">
<Anchors>
<Anchor point="TOPRIGHT">
<Offset x="0" y="0"/>
</Anchor>
<Anchor point="TOPLEFT">
<Offset x="0" y="0"/>
</Anchor>
<Anchor point="BOTTOMLEFT">
<Offset x="0" y="4"/>
</Anchor>
</Anchors>
</StatusBar>
<StatusBar name="$parentPowerFrame" inherits="ChorusPowerFrameTemplate">
<Anchors>
<Anchor point="TOPRIGHT">
<Offset x="0" y="-28"/>
</Anchor>
<Anchor point="TOPLEFT">
<Offset x="0" y="-28"/>
</Anchor>
<Anchor point="BOTTOMLEFT">
<Offset x="0" y="0"/>
</Anchor>
</Anchors>
</StatusBar>
</Frames>
</Button>
<Button name="ChorusLargeUnitButtonTemplate" inherits="ChorusUnitButtonTemplate" virtual="true">
<Size>
<AbsDimension x="150" y="90"/>
</Size>
<Frames>
<Frame name="$parentUnitNameFrame" inherits="ChorusUnitNameFrameTemplate">
<Anchors>
<Anchor point="TOPRIGHT">
<Offset x="0" y="0"/>
</Anchor>
<Anchor point="TOPLEFT">
<Offset x="0" y="0"/>
</Anchor>
<Anchor point="BOTTOMLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
<Offset x="0" y="-16"/>
</Anchor>
<Anchor point="BOTTOMRIGHT" relativeTo="$parent" relativePoint="TOPRIGHT">
<Offset x="0" y="-16"/>
</Anchor>
</Anchors>
</Frame>
<StatusBar name="$parentHealthFrame" inherits="ChorusHealthFrameTemplate">
<Anchors>
<Anchor point="TOPRIGHT">
<Offset x="0" y="0"/>
</Anchor>
<Anchor point="TOPLEFT">
<Offset x="0" y="0"/>
</Anchor>
<Anchor point="BOTTOMLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
<Offset x="0" y="-48"/>
</Anchor>
<Anchor point="BOTTOMRIGHT" relativeTo="$parent" relativePoint="TOPRIGHT">
<Offset x="0" y="-48"/>
</Anchor>
</Anchors>
</StatusBar>
<StatusBar name="$parentPowerFrame" inherits="ChorusPowerFrameTemplate">
<Anchors>
<Anchor point="TOPRIGHT" relativeTo="$parentHealthFrame" relativePoint="BOTTOMRIGHT">
<Offset x="0" y="0"/>
</Anchor>
<Anchor point="TOPLEFT" relativeTo="$parentHealthFrame" relativePoint="BOTTOMLEFT">
<Offset x="0" y="0"/>
</Anchor>
<Anchor point="BOTTOMLEFT" relativeTo="$parentHealthFrame" relativePoint="BOTTOMLEFT">
<Offset x="0" y="-13"/>
</Anchor>
<Anchor point="BOTTOMRIGHT" relativeTo="$parentHealthFrame" relativePoint="BOTTOMRIGHT">
<Offset x="0" y="-13"/>
</Anchor>
</Anchors>
</StatusBar>
<Frame name="$parentRaidTargetIconFrame" inherits="ChorusRaidTargetIconFrameTemplate">
<Anchors>
<Anchor point="TOPLEFT">
<Offset x="67" y="-16"/>
</Anchor>
</Anchors>
</Frame>
<Frame name="$parentThreatFrame" inherits="ChorusThreatFrameTemplate">
<Anchors>
<Anchor point="TOPLEFT">
<Offset x="0" y="-16"/>
</Anchor>
</Anchors>
</Frame>
<Frame name="$parentRangeFrame" inherits="ChorusRangeFrameTemplate">
<Anchors>
<Anchor point="TOPRIGHT">
<Offset x="0" y="-16"/>
</Anchor>
</Anchors>
</Frame>
<Frame name="$parentBuffFrame" inherits="ChorusAuraFrameTemplate">
<Anchors>
<Anchor point="TOPRIGHT">
<Offset x="0" y="30"/>
</Anchor>
<Anchor point="TOPLEFT">
<Offset x="120" y="30"/>
</Anchor>
<Anchor point="BOTTOMLEFT">
<Offset x="120" y="0"/>
</Anchor>
<Anchor point="BOTTOMRIGHT">
<Offset x="0" y="0"/>
</Anchor>
</Anchors>
<Attributes>
<Attribute name="filter" type="string" value="HELPFUL"/>
</Attributes>
</Frame>
<Frame name="$parentDebuffFrame" inherits="ChorusAuraFrameTemplate">
<Anchors>
<Anchor point="TOPRIGHT">
<Offset x="-30" y="30"/>
</Anchor>
<Anchor point="TOPLEFT">
<Offset x="0" y="30"/>
</Anchor>
<Anchor point="BOTTOMLEFT">
<Offset x="0" y="0"/>
</Anchor>
<Anchor point="BOTTOMRIGHT">
<Offset x="-30" y="0"/>
</Anchor>
</Anchors>
<Attributes>
<Attribute name="filter" type="string" value="HARMFUL"/>
</Attributes>
</Frame>
</Frames>
</Button>
<Button name="ChorusHugeUnitButtonTemplate" inherits="ChorusUnitButtonTemplate" virtual="true">
<Size>
<AbsDimension x="256" y="160"/>
</Size>
<Frames>
<Frame name="$parentUnitLevelFrame" inherits="ChorusUnitLevelFrameTemplate">
<Anchors>
<Anchor point="TOPLEFT">
<Offset x="0" y="0"/>
</Anchor>
</Anchors>
</Frame>
<Frame name="$parentUnitNameFrame" inherits="ChorusUnitNameFrameTemplate">
<Anchors>
<Anchor point="TOPRIGHT">
<Offset x="0" y="0"/>
</Anchor>
<Anchor point="TOPLEFT">
<Offset x="24" y="0"/>
</Anchor>
<Anchor point="BOTTOMLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
<Offset x="24" y="-16"/>
</Anchor>
<Anchor point="BOTTOMRIGHT" relativeTo="$parent" relativePoint="TOPRIGHT">
<Offset x="0" y="-16"/>
</Anchor>
</Anchors>
</Frame>
<Frame name="$parentRaidTargetIconFrame" inherits="ChorusRaidTargetIconFrameTemplate">
<Anchors>
<Anchor point="TOPLEFT">
<Offset x="120" y="-24"/>
</Anchor>
</Anchors>
</Frame>
<Frame name="$parentThreatFrame" inherits="ChorusThreatFrameTemplate">
<Anchors>
<Anchor point="TOPLEFT">
<Offset x="0" y="-24"/>
</Anchor>
</Anchors>
</Frame>
<Frame name="$parentRangeFrame" inherits="ChorusRangeFrameTemplate">
<Anchors>
<Anchor point="TOPRIGHT">
<Offset x="0" y="-24"/>
</Anchor>
</Anchors>
</Frame>
<StatusBar name="$parentHealthFrame" inherits="ChorusHealthFrameTemplate">
<Anchors>
<Anchor point="TOPRIGHT">
<Offset x="0" y="0"/>
</Anchor>
<Anchor point="TOPLEFT">
<Offset x="0" y="0"/>
</Anchor>
<Anchor point="BOTTOMLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
<Offset x="0" y="-64"/>
</Anchor>
<Anchor point="BOTTOMRIGHT" relativeTo="$parent" relativePoint="TOPRIGHT">
<Offset x="0" y="-64"/>
</Anchor>
</Anchors>
</StatusBar>
<StatusBar name="$parentPowerFrame" inherits="ChorusPowerFrameTemplate">
<Anchors>
<Anchor point="TOPRIGHT" relativeTo="$parentHealthFrame" relativePoint="BOTTOMRIGHT">
<Offset x="0" y="0"/>
</Anchor>
<Anchor point="TOPLEFT" relativeTo="$parentHealthFrame" relativePoint="BOTTOMLEFT">
<Offset x="0" y="0"/>
</Anchor>
<Anchor point="BOTTOMLEFT" relativeTo="$parentHealthFrame" relativePoint="BOTTOMLEFT">
<Offset x="0" y="-16"/>
</Anchor>
<Anchor point="BOTTOMRIGHT" relativeTo="$parentHealthFrame" relativePoint="BOTTOMRIGHT">
<Offset x="0" y="-16"/>
</Anchor>
</Anchors>
</StatusBar>
<StatusBar name="$parentCastFrame" inherits="ChorusCastFrameTemplate">
<Anchors>
<Anchor point="TOPRIGHT" relativeTo="$parentPowerFrame" relativePoint="BOTTOMRIGHT">
<Offset x="0" y="0"/>
</Anchor>
<Anchor point="TOPLEFT" relativeTo="$parentPowerFrame" relativePoint="BOTTOMLEFT">
<Offset x="0" y="0"/>
</Anchor>
<Anchor point="BOTTOMLEFT" relativeTo="$parentPowerFrame" relativePoint="BOTTOMLEFT">
<Offset x="0" y="-16"/>
</Anchor>
<Anchor point="BOTTOMRIGHT" relativeTo="$parentPowerFrame" relativePoint="BOTTOMRIGHT">
<Offset x="0" y="-16"/>
</Anchor>
</Anchors>
</StatusBar>
<Frame name="$parentBuffFrame" inherits="ChorusAuraFrameTemplate">
<Anchors>
<Anchor point="TOPRIGHT">
<Offset x="0" y="60"/>
</Anchor>
<Anchor point="TOPLEFT">
<Offset x="0" y="60"/>
</Anchor>
<Anchor point="BOTTOMLEFT">
<Offset x="0" y="30"/>
</Anchor>
<Anchor point="BOTTOMRIGHT">
<Offset x="0" y="30"/>
</Anchor>
</Anchors>
<Attributes>
<Attribute name="filter" type="string" value="HELPFUL"/>
</Attributes>
</Frame>
<Frame name="$parentDebuffFrame" inherits="ChorusAuraFrameTemplate">
<Anchors>
<Anchor point="TOPRIGHT">
<Offset x="0" y="30"/>
</Anchor>
<Anchor point="TOPLEFT">
<Offset x="0" y="30"/>
</Anchor>
<Anchor point="BOTTOMLEFT">
<Offset x="0" y="0"/>
</Anchor>
<Anchor point="BOTTOMRIGHT">
<Offset x="0" y="0"/>
</Anchor>
</Anchors>
<Attributes>
<Attribute name="filter" type="string" value="HARMFUL"/>
</Attributes>
</Frame>
</Frames>
</Button>
</Ui>
Mode |
Type |
Size |
Ref |
File |
100644 |
blob |
22 |
d7f81b36af99095409dbf9a7a92e18a5c74e5ff5 |
.gitignore |
100644 |
blob |
2761 |
8660a7b6b158b3d7c82af258020ea93722ae2bee |
README.md |
040000 |
tree |
- |
386cdd1448b396d67052c9c421df4d307621c280 |
bin |
100644 |
blob |
376 |
7c6577431ffa8a42b6e2570c37b2e7bbe6f952ce |
chorus-0.2-1.rockspec |
100644 |
blob |
111 |
b22afedfa744551589b080882fdc70c11ab6b17d |
chorus.toc |
040000 |
tree |
- |
cac8af7ca5d8adc7771598e6faae482998b25fa2 |
doc |
040000 |
tree |
- |
b30875c0405a889b8e1ef8838ccd70adde587bdd |
etc |
040000 |
tree |
- |
89b0ab39d95faab01a754a25f5a5269d5f5bbcea |
rocketgit |
040000 |
tree |
- |
5b8dd064c04749cf19281ed90842d3996ad61dc6 |
share |
040000 |
tree |
- |
17333a2ce6b635748cd2f722d7073f41e6fe79b4 |
src |
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"
Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/vrtc/chorus
Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/vrtc/chorus
Clone this repository using git:
git clone git://git.rocketgit.com/user/vrtc/chorus
You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a
merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main