comparison VehicleExitButton.lua @ 258:a7d2efb6ffc9 stable

Merge 1.1 beta 5 to stable
author Flick
date Tue, 12 Apr 2011 16:07:21 -0700
parents 46b59a9ded76
children c918ff9ac787
comparison
equal deleted inserted replaced
257:920d17851a93 258:a7d2efb6ffc9
68 68
69 function VExitButton:GetActionID() 69 function VExitButton:GetActionID()
70 return 1 70 return 1
71 end 71 end
72 72
73 function VExitButton:AcquireActionID()
74 -- don't use pool
75 end
76
77 function VExitButton:ReleaseActionID()
78 -- don't use pool
79 end
80
73 function VExitButton:Refresh() 81 function VExitButton:Refresh()
74 Super.Refresh(self) 82 Super.Refresh(self)
75 -- it seems that setscale kills the texcoord, have to refresh it 83 -- it seems that setscale kills the texcoord, have to refresh it
76 self.frames.icon:SetTexCoord(0.140625, 0.859375, 0.140625, 0.859375) 84 self.frames.icon:SetTexCoord(0.140625, 0.859375, 0.140625, 0.859375)
77 end 85 end