Mercurial > wow > cyborg-mmo7
diff RatPageView.lua @ 5:8428fa7cf0e4
Updated the profile to use macros and rename all the variables and functions with the prefix CyborgMMO. Added a tooltip to inform the user to assign the profile.
author | madcatzinc@35b17cf1-18cd-47ff-9ca3-31d6b526ef09 |
---|---|
date | Tue, 29 May 2012 10:26:40 +0000 |
parents | d186f8cd5000 |
children | 6cb9a2936580 |
line wrap: on
line diff
--- a/RatPageView.lua Mon May 28 15:54:52 2012 +0000 +++ b/RatPageView.lua Tue May 29 10:26:40 2012 +0000 @@ -64,10 +64,11 @@ CyborgMMO_SlotView = { new = function(self, parent) self._assignedWowObject = nil; - self.UnCheckedTexture = self:GetNormalTexture(); self:RegisterForClicks("LeftButtonUp", "RightButtonUp"); self.Id = self:GetID(); CyborgMMO_RatPageModel.Instance().AddObserver(self); + self.UnCheckedTexture = self:GetNormalTexture(); + -- Object Method -- self.Clicked = function() self:GetParent().SlotClicked(self) @@ -113,7 +114,7 @@ end end - return self; + return self; end }