comparison Libs/DF/button.xml @ 39:7944c081e5b4

- framework update. - ToC Update.
author Tercio
date Tue, 19 Jul 2016 13:23:40 -0300
parents 2f09fe4be15c
children 0682d738499b
comparison
equal deleted inserted replaced
38:219f04e5ba55 39:7944c081e5b4
17 </FontString> 17 </FontString>
18 18
19 </Layer> 19 </Layer>
20 20
21 <Layer level="OVERLAY"> 21 <Layer level="OVERLAY">
22 <Texture name="$parent_TextureDisabled" setAllPoints="true" hidden="true" parentKey="texture_disabled" file = "Interface\AddOns\Details\images\button_disable_overlay"/> 22 <Texture name="$parent_TextureDisabled" setAllPoints="true" hidden="true" parentKey="texture_disabled" file = "Interface\Tooltips\UI-Tooltip-Background"/>
23 </Layer> 23 </Layer>
24 24
25 </Layers> 25 </Layers>
26 26
27 <Scripts> 27 <Scripts>
28 28
29 <OnDisable> 29 <OnDisable>
30 self.texture_disabled:Show() 30 self.texture_disabled:Show()
31 self.texture_disabled:SetVertexColor (0, 0, 0)
32 self.texture_disabled:SetAlpha (.5)
31 </OnDisable> 33 </OnDisable>
32 34
33 <OnEnable> 35 <OnEnable>
34 self.texture_disabled:Hide() 36 self.texture_disabled:Hide()
35 </OnEnable> 37 </OnEnable>