mike-marcacci / kuda

Automatically exported from code.google.com/p/kuda
GNU General Public License v2.0
0 stars 0 forks source link

HudButton's should not require three separate textures #31

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Problem noticed in IE8:
If you set a HudButton's enabled, hover, and selected textures to all be the 
same image file, IE can fail to load the image.

A better solution would be to:
- not require all three textures to be specified for a HudButton
- detect duplicate file names and share the single texture

Original issue reported on code.google.com by erik.kit...@gmail.com on 21 May 2011 at 5:23

GoogleCodeExporter commented 9 years ago
Updated HudButton to use three different HudImages that can share a
single image file if need be.

New functions:
setCoords()
setUrls()

Original comment by erik.kit...@gmail.com on 23 May 2011 at 5:53

GoogleCodeExporter commented 9 years ago
This has been verified and made it into release 1.4.0.

Original comment by jpywt...@gmail.com on 3 Aug 2011 at 3:50