home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nebula
/
nebula.bin
/
SourceCode
/
Palettes
/
PAScrollViewDeluxePalette
/
PARuler.h
< prev
next >
Wrap
Text File
|
1993-04-28
|
438b
|
30 lines
#import <appkit/appkit.h>
@interface PARuler : View
{
int direction;
}
- initFrame:(const NXRect *)rect;
- (int)direction;
- setDirection:(int)value;
- setHorizontal;
- setVertical;
- drawSelf:(const NXRect *)rect :(int)count;
- write:(NXTypedStream *)stream;
- read:(NXTypedStream *)stream;
@end
#ifndef DIRECTION_HORIZONTAL
#define DIRECTION_HORIZONTAL 0
#endif
#ifndef DIRECTION_VERTICAL
#define DIRECTION_VERTICAL 1
#endif