This is VisibleOne.h in view mode; [Download] [Up]
//
// A Visible View
// Randy Nelson, NeXT Developer Training
// Created 5-1-90
// Modified 9-3-90 for 2.0
//
// You may freely copy, distribute and reuse the code in this example.
// NeXT disclaims any warranty of any kind, expressed or implied, as to
// its fitness for any particular use.
//
#import <appkit/View.h>
@interface VisibleOne:View
{
//outlets
id infoPanel;
id scaleX;
id translateY;
id vitalMatrix;
id translateX;
id scaleY;
id frameX;
id frameY;
id frameWidth;
id frameHeight;
id compositeIndicator;
id drawGridIndicator;
id transparencyIndicator;
id appender;
//NXImage for an eps picture
//the SubViewFramer (our eventual SuperView)
//a string resource, an object that holds the info panel
id myPic,
newSuperView,
stringSet;
char buffer[100];
}
- initFrame:(const NXRect *)framerect;
//action methods
- setSelfOrigin:sender;
- setSelfScale:sender;
- setSelfRotation:sender;
- frameMove:sender;
- frameRotate:sender;
- frameChangeSize:sender;
- newDisplayState:sender;
- infoPanel:sender;
//local methods
- updateVitals;
- (BOOL)wantsTransparency;
- setTrackingRect;
@endThese are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.