view KBF.xml @ 37:15b9e97ab2d2

hacked in very, very basic consolidated buff support. Needs *much* clean up, get side effects out of functions that don't want them, get the hide/show anchor logic into a secure state thingy
author Chris Mellon <arkanes@gmail.com>
date Fri, 31 Dec 2010 08:36:30 -0600
parents c2ff66c87521
children e19d0380b9f3
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">
    <!-- A button template for unit aura buttons -->
    <Button name="KBFSecureUnitAuraTemplate" inherits="SecureActionButtonTemplate" virtual="true">
        <Attributes>
			<Attribute name="type" value="cancelaura" />
			<Attribute name="toggleForVehicle" value="true" />
			<Attribute name="unit" value="player" />
		</Attributes>
		<Size>
			<AbsDimension x="216" y="16" />
		</Size>
		<Scripts>
			<OnEnter>
				KBF:OnEnter(self, motion)
			</OnEnter>
			<OnLeave>
				GameTooltip:Hide();
			</OnLeave>
		</Scripts>
    </Button>
    
    <Button name="KBFConsolidatedProxyTemplate" inherits="" virtual="true">
        <Attributes>
			<Attribute name="type" value="cancelaura" />
			<Attribute name="toggleForVehicle" value="true" />
			<Attribute name="unit" value="player" />
		</Attributes>
		<Size>
			<AbsDimension x="216" y="16" />
		</Size>
		<Scripts>
			<OnEnter>
				
			</OnEnter>
			<OnLeave>
				
			</OnLeave>
		</Scripts>
    </Button>
    <Frame name="KBFConsolidateHeaderTemplate" virtual="true">
    	<Size>
			<AbsDimension x="216" y="16" />
		</Size>
    </Frame>
</Ui>