home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nebula
/
nebula.bin
/
SourceCode
/
MiniExamples
/
PerformanceTuning
/
VisibleView-01
/
VisibleOne.h
< prev
next >
Wrap
Text File
|
1991-10-18
|
1KB
|
67 lines
//
// A Visible View
// Randy Nelson—Copyright NeXT 1990
// Not for release or reuse
//
#import <appkit/View.h>
@interface VisibleOne:View
{
//outlets
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;
//bitmap for a picture, the SubViewFramer (our eventual SuperView)
id myPic, newSuperView;
char buffer[100];
}
//outlet initializers
- setAppender:anObject;
- setScaleX:anObject;
- setTranslateY:anObject;
- setVitalMatrix:anObject;
- setTranslateX:anObject;
- setScaleY:anObject;
- setFrameX:anObject;
- setFrameY:anObject;
- setFrameWidth:anObject;
- setFrameHeight:anObject;
- setCompositeIndicator:anObject;
- setDrawGridIndicator:anObject;
- setTransparencyIndicator:anObject;
//action methods
- setSelfOrigin:sender;
- setSelfScale:sender;
- setSelfRotation:sender;
- frameMove:sender;
- frameRotate:sender;
- frameChangeSize:sender;
- newDisplayState:sender;
//local methods
- updateVitals;
- (BOOL)wantsTransparency;
- setTrackingRect;
- drawGrid;
- drawSomePS;
- tripath;
- cirpath;
- recstroke;
- recfill;
- rec;
- cir;
- tri;
- mass;
@end