home *** CD-ROM | disk | FTP | other *** search
-
- #import "ObjectView.h"
-
- @implementation ObjectView
-
- - initFrame:(NXRect *)frameRect
- {
-
- self = [super initFrame:frameRect];
-
- return self;
- }
-
-
- - drawSelf: (const NXRect *)rects :(int)rectCount
- {
- float xscale,yscale;
- NXRect framerect;
-
- if(strcmp([NXApp appName] , "InterfaceBuilder") ==0){
- [self getFrame:&framerect];
-
- xscale = framerect.size.width/500.0;
- yscale = framerect.size.height/300.0;
-
- PSWTitle(xscale, yscale);
- }
-
- return self;
- }
-
-
-
- @end
-