PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

New 0.4.5b update won't compile

Thierry,

This new drop won't build. It is missing the new changes to rect.h which was not included in the .zip file.

Johnm
Damn...

I was afraid something like that would happen with 0.45b. My computer is currently on a 18-wheeler somewhere between Montreal and Vancouver.

I do have the latest PocketFrog on my PocketPC in a .zip archive. I will try to extract it tomorrow and post rect.h on this forum.

Thanks for the post John,
Thierry
Thanks
Kzinti · 18 Mar 2002, 15:30 UTC — ...
I though I had PocketFrog on my PocketPC, but it ain't the case... My guess is that you are only missing two methods (in class Rect) related to clipping:

Code:

bool IsEmpty() const
{
return right <= left || bottom <= top;
}


The other one:

Code:

void Intersection( const RECT* p )
{
if (left < p->left) left = p->left;
if (right > p->right) right = p->right;
if (top < p->top) top = p->top;
if (bottom > p->bottom) bottom = p->bottom;
}


I hope you manage to get it working with this... Let me know!
Thanks Thierry,

These are the only two functions missing. I did manage to get this working last night by wraping the equivelent GDI (RECT) calls. I'll poke in the proper code tonight.