Mercurial > wow > hansgar_and_franzok_assist
diff Libs/DF/button.xml @ 11:2f09fe4be15c
Added an Options Panel.
| author | Tercio |
|---|---|
| date | Mon, 20 Apr 2015 16:34:18 -0300 |
| parents | |
| children | 7944c081e5b4 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Libs/DF/button.xml Mon Apr 20 16:34:18 2015 -0300 @@ -0,0 +1,40 @@ +<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\AddOns\Details\images\button_disable_overlay"/> + </Layer> + + </Layers> + + <Scripts> + + <OnDisable> + self.texture_disabled:Show() + </OnDisable> + + <OnEnable> + self.texture_disabled:Hide() + </OnEnable> + + </Scripts> + + </Button> +</Ui> \ No newline at end of file
