ref: 13aedf6a9faab2fe48c45278cd8280c76ec3816b
dir: /Source/MTypes.h/
/////
/// MTypes.h
///
/// Generic replacements for very basic Mac types.
///
/// John Stiles, 2002/10/14
///
#ifndef __MTYPES__
#define __MTYPES__
typedef signed char MBoolean;
typedef struct MRGBColor
{
unsigned short red;
unsigned short green;
unsigned short blue;
} MRGBColor;
typedef struct MRect
{
short top;
short left;
short bottom;
short right;
} MRect;
typedef struct MPoint
{
short v;
short h;
} MPoint;
void UnionMRect( const MRect* a, const MRect* b, MRect* u );
void OffsetMRect( MRect* r, int x, int y );
unsigned char MPointInMRect( MPoint p, MRect* r );
#endif