This is defs.h in view mode; [Download] [Up]
/* defs.h - written by Robert Vasvari 6/94 */ #define BUFSIZE 1024 #define SCALE_RECT(r,ratio) \ NX_X(r)*=ratio; \ NX_Y(r)*=ratio; \ NX_WIDTH(r)*=ratio; \ NX_HEIGHT(r)*=ratio \ #define SCALE_POINT(p,ratio) \ (p.x)*=ratio; \ (p.y)*=ratio \ #define SCALE_SIZE(p,ratio) \ (p.width)*=ratio; \ (p.height)*=ratio \ #define GET_CENTER(r,c) \ c.x=NX_MIDX(r); \ c.y=NX_MIDY(r) \ /* lets import most of the foundation classes here, since most classes will need it */ #import <foundation/NSString.h> #import <foundation/NSArray.h> #import <foundation/NSUtilities.h> #import <foundation/NSPathUtilities.h> #import <foundation/NSDate.h>
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.