Mercurial > wow > buffalo2
view Veneer.xml @ 61:3f083d389c18
- don't send updates for BuffAnchors hook
author | Nenue |
---|---|
date | Mon, 15 Aug 2016 09:35:46 -0400 |
parents | 07ef62fe201f |
children | ef4116179e2f |
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"> <Font name="VeneerFont" /> <Font name="VeneerFont_Small" font="Fonts\FRIZQT__.TTF" outline="NORMAL" height="16" /> <Font name="VeneerFont_Large" font="Fonts\FRIZQT__.TTF" outline="NORMAL" height="24" /> <Font name="VeneerNumberFont" font="Fonts\ARIALN.ttf" outline="NORMAL" height="14" /> <Font name="VeneerNumberFontLarge" font="Fonts\ARIALN.ttf" outline="NORMAL" height="24" /> <Frame name="VeneerController" hidden="true" enableMouse="true" movable="true" parent="UIParent" frameStrata="DIALOG"> <Size x="400" y="400" /> <Anchors> <Anchor point="CENTER" relativePoint="CENTER" x="0" y="0" /> </Anchors> <Scripts> <OnLoad> self:RegisterForDrag('LeftButton') </OnLoad> <OnDragStart> self:StartMoving() </OnDragStart> <OnDragStop> self:StopMovingOrSizing() </OnDragStop> </Scripts> <Layers> <Layer level="BACKGROUND"> <Texture setAllPoints="true"> <Color r="0" g="0" b="0" a="0.7" /> </Texture> </Layer> <Layer level="ARTWORK"> <FontString name="$parentHeader" parentKey="header" inherits="VeneerFontHighlightLarge" text="Veneer"> <Anchors> <Anchor point="TOPLEFT" x="3" y="-4" /> </Anchors> </FontString> </Layer> </Layers> <Frames> <Button name="$parentCloseButton" parentKey="close" text="X"> <ButtonText inherits="SystemFont_Small" /> <Scripts> <OnClick> self:GetParent():Close() </OnClick> </Scripts> <Size x="24" y="24" /> <Anchors> <Anchor point="TOPRIGHT" x="-5" y="-5" /> </Anchors> <NormalTexture parentKey="normal" setAllPoints="true"> <Color a="1" r="0" g="0" b="0" /> </NormalTexture> <PushedTexture setAllPoints="true"> <Color a="1" r="1" g="0" b="0" /> </PushedTexture> <HighlightTexture setAllPoints="true" alphaMode="ADD"> <Color a=".5" r="1" g=".7" b="0.5" /> </HighlightTexture> </Button> <Button name="$parentGuidesButton" parentKey="guides" text="Guides"> <ButtonText inherits="SystemFont_Small" /> <Scripts> <OnClick> self:GetParent():ToggleGuides(self) </OnClick> </Scripts> <Size x="36" y="24" /> <Anchors> <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentCloseButton" x="-5" y="0" /> </Anchors> <NormalTexture parentKey="normal" setAllPoints="true"> <Color a="1" r="0" g="0" b="0" /> </NormalTexture> <PushedTexture setAllPoints="true"> <Color a="1" r="1" g="0" b="0" /> </PushedTexture> <HighlightTexture setAllPoints="true" alphaMode="ADD"> <Color a=".5" r="1" g=".7" b="0.5" /> </HighlightTexture> </Button> </Frames> </Frame> <Button name="VeneerAuraButton" inherits="SecureActionButtonTemplate" virtual="true"> <Size x="32" y="32" /> <Layers> <Layer level="ARTWORK"> <FontString inherits="VeneerFont_Small" parentKey="label"> <Anchors> <Anchor point="LEFT" /> </Anchors> </FontString> </Layer> </Layers> <NormalTexture setAllPoints="true"> <Color a="1" r="1" g="1" b="1" /> </NormalTexture> <PushedTexture setAllPoints="true"> <Color a="1" r="1" g="0" b="0" /> </PushedTexture> </Button> <Script file="Veneer.lua" /> </Ui>