Don't Starve Revision History Viewer

Comparing Six Feet Under (Rev 86935) to All's Well That Maxwell (Rev 88237)

widgets/image.lua

282930313233
self.texture = tex --print(atlas, tex) self.inst.ImageWidget:SetTexture(self.atlas, self.texture) end function Image:SetMouseOverTexture(atlas, tex)
282930313233343536
self.texture = tex --print(atlas, tex) self.inst.ImageWidget:SetTexture(self.atlas, self.texture) -- changing the texture may have changed our metrics self.inst.UITransform:UpdateTransform() end function Image:SetMouseOverTexture(atlas, tex)
104105106107
self.inst.ImageWidget:SetEffect(filename) end return Image
107108109110
self.inst.ImageWidget:SetEffect(filename) end return Image