littleflylongbow / guichan

Automatically exported from code.google.com/p/guichan
Other
0 stars 0 forks source link

ImageFont manages all images as internal. #127

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
All ImageFonts delete their associated image regardless of whether it was 
loaded internally or not.  As other image-based classes, such as Icon or 
ImageButton, allow internal or external image management I found this to 
be unexpected behavior as a user.  I wanted to recommend the addition of 
mInternalImage (much as it is used for Icon and ImageButton).  I've 
attached diff's for ImageFont.{hpp,cpp} that shows how I have implemented 
this.

Original issue reported on code.google.com by holy.smo...@gmail.com on 12 Jan 2010 at 3:29

Attachments:

GoogleCodeExporter commented 8 years ago
Sounds like a good idea!

Original comment by olof.nae...@gmail.com on 12 Jan 2010 at 7:56