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 » PATCH: Image load progress update
Re: PATCH: Image load progress update [message #4842 is a reply to message #4841] Wed, 23 August 2006 13:17 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
P.S.: IsNullInstance is just "implementation" of "IsNull" (IsNull gets there via IsNull template). I have intended that you use

if(IsNull(image))


instead of

if(image.IsNullInstance())


(all in all, you cannot do
int x; if(x.IsNullInstance())

)

BTW, the "Instance" postfix is there because otherwise there is name clash problem in methods od classes that implement IsNull too...

(think

struct Foo {
   int x;
   bool IsNull() { return IsNull(x); }
};


-> IsNull(x) would be resolved as Foo::IsNull)

Mirek
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: PATCH: JPG plugin bugfix
Next Topic: GetFontInfo without a Draw object?
Goto Forum:
  


Current Time: Sun Aug 17 23:23:25 CEST 2025

Total time taken to generate the page: 0.05336 seconds