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 #41994 is a reply to message #41895] Mon, 10 February 2014 09:25 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
Tom1 wrote on Tue, 04 February 2014 05:33

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


That is weird. I believe I have now WebWord working in Win32 (in debug mode, fork issue is still unresolved), but about the only thing I had to fix was DesktopRect issue...

Mirek
 
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: Sun Aug 24 10:37:47 CEST 2025

Total time taken to generate the page: 0.04725 seconds