view Libs/DF/button.xml @ 63:3552946c0b9a tip

Added tag v8.2.0.062 for changeset d6704922ef5d
author Tercioo
date Fri, 28 Jun 2019 20:06:18 -0300
parents 0682d738499b
children
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="button.lua"/>

	<Button name="DetailsFrameworkButtonTemplate" virtual="true">
		<Size x="100" y="20"/>

		<Layers>
			
			<Layer level="ARTWORK">
			
				<!-- text -->
				<FontString name="$parent_Text" parentKey="text" inherits="GameFontNormal" justifyH="CENTER" nonspacewrap="false">
					<FontHeight val="10.5"/>
					<Anchors>
						<Anchor point="CENTER" relativeTo="$parent" relativePoint="CENTER" x="0" y="0"/>
					</Anchors>
				</FontString>

			</Layer>
			
			<Layer level="OVERLAY">
				<Texture name="$parent_TextureDisabled" setAllPoints="true" hidden="true" parentKey="texture_disabled" file = "Interface\Tooltips\UI-Tooltip-Background"/>
			</Layer>
			
		</Layers>
		
		<Scripts>
		
			<OnDisable>
				self.texture_disabled:Show()
				self.texture_disabled:SetVertexColor (0, 0, 0)
				self.texture_disabled:SetAlpha (.5)
			</OnDisable>
			
			<OnEnable>
				self.texture_disabled:Hide()
			</OnEnable>
		
		</Scripts>
		
	</Button>
</Ui>