Mercurial > wow > cyborg-mmo7
diff WowObjects.lua @ 47:1a29be548897
Removed all .tga extensions in texture names. They are not needed, and they won't need to be changed if we switch to blp files.
author | madcatzinc@35b17cf1-18cd-47ff-9ca3-31d6b526ef09 |
---|---|
date | Mon, 29 Apr 2013 17:45:04 +0000 |
parents | ce4ddefb68c2 |
children | 7cbd32de1fdd |
line wrap: on
line diff
--- a/WowObjects.lua Mon Apr 29 17:44:58 2013 +0000 +++ b/WowObjects.lua Mon Apr 29 17:45:04 2013 +0000 @@ -63,7 +63,7 @@ local self = WowObject("callback", callbackName, "") self.callbackName = callbackName - self.texture = "Interface\\AddOns\\CyborgMMO7\\Graphics\\"..callbackName.."Unselected.tga" + self.texture = "Interface\\AddOns\\CyborgMMO7\\Graphics\\"..callbackName.."Unselected" setmetatable(self, WowCallback_mt) @@ -71,9 +71,9 @@ end function WowCallback_methods:SetTextures(buttonFrame) - buttonFrame:SetNormalTexture("Interface\\AddOns\\CyborgMMO7\\Graphics\\"..self.callbackName.."Unselected.tga") - buttonFrame:SetPushedTexture("Interface\\AddOns\\CyborgMMO7\\Graphics\\"..self.callbackName.."Down.tga") - buttonFrame:SetHighlightTexture("Interface\\AddOns\\CyborgMMO7\\Graphics\\"..self.callbackName.."Over.tga") + buttonFrame:SetNormalTexture("Interface\\AddOns\\CyborgMMO7\\Graphics\\"..self.callbackName.."Unselected") + buttonFrame:SetPushedTexture("Interface\\AddOns\\CyborgMMO7\\Graphics\\"..self.callbackName.."Down") + buttonFrame:SetHighlightTexture("Interface\\AddOns\\CyborgMMO7\\Graphics\\"..self.callbackName.."Over") end function WowCallback_methods:DoAction()