Mercurial > wow > hansgar_and_franzok_assist
diff Libs/DF/button.lua @ 58:0682d738499b v8.0.1.058
- 8.0.1 Update.
| author | Tercio |
|---|---|
| date | Fri, 20 Jul 2018 19:04:12 -0300 |
| parents | 307f5af3ad02 |
| children |
line wrap: on
line diff
--- a/Libs/DF/button.lua Sun Mar 11 10:50:42 2018 -0300 +++ b/Libs/DF/button.lua Fri Jul 20 19:04:12 2018 -0300 @@ -404,6 +404,12 @@ end -- icon + function ButtonMetaFunctions:GetIconTexture() + if (self.icon) then + return self.icon:GetTexture() + end + end + function ButtonMetaFunctions:SetIcon (texture, width, height, layout, texcoord, overlay, textdistance, leftpadding, textheight, short_method) if (not self.icon) then self.icon = self:CreateTexture (nil, "artwork") @@ -1170,4 +1176,4 @@ return button -end \ No newline at end of file +end
