Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » Delayed Image Loading
Re: Delayed Image Loading [message #9882 is a reply to message #9881] Wed, 06 June 2007 10:05 Go to previous message
mirek is currently offline  mirek
Messages: 13976
Registered: November 2005
Ultimate Member
Not really sure, anyway, this got my attention:

GetImage(String ImageId, Image img);

This passes img to GetImage *by*value*. This means that if you assign anything to img in GetImage, it will be assigned just to local copy and never visible outside GetImage routine.

Maybe you wanted this:

GetImage(String ImageId, Image& img);

or perhaps

Image GetImage(String ImageId);

Mirek
 
Read Message
Read Message
Previous Topic: DrawImage scaling
Next Topic: blending images
Goto Forum:
  


Current Time: Sat May 11 23:14:10 CEST 2024

Total time taken to generate the page: 0.02479 seconds