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 » Community » U++ community news and announcements » TURTLE alpha status
Re: TURTLE alpha status [message #41895 is a reply to message #41894] Tue, 04 February 2014 11:33 Go to previous messageGo to previous message
Tom1
Messages: 1217
Registered: March 2007
Senior Contributor
Hi,

Yes, it seems we need:

#if defined(PLATFORM_WIN32)
	#ifndef flagTURTLE
		operator const RECT*() const { ASSERT(sizeof(*this) == sizeof(RECT)); return (RECT*)this; }
		operator RECT*()             { ASSERT(sizeof(*this) == sizeof(RECT)); return (RECT*)this; }
		operator RECT&()             { ASSERT(sizeof(*this) == sizeof(RECT)); return *(RECT*)this; }
		operator RECT() const        { RECT r; r.top = top; r.bottom = bottom;
										       r.left = left; r.right = right; return r; }
		Rect_(const RECT& rc)        { Set((T)rc.left, (T)rc.top, (T)rc.right, (T)rc.bottom); }
	#endif
#endif


or something similar in Core/Gtypes.h.

Best regards,

Tom
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: MT/GuiLock rules changed
Next Topic: plugin/LZMA
Goto Forum:
  


Current Time: Mon Jun 10 13:39:05 CEST 2024

Total time taken to generate the page: 0.03502 seconds