This is ShelfView.h in view mode; [Download] [Up]
#import <appkit/appkit.h>
#define NUM_MOUNT_SLOTS 8
@interface ShelfView : View
{
id dragSourceView;
id draggedView;
id mountSlots[NUM_MOUNT_SLOTS];
id backgroundTile;
NXPoint defaultLoc;
NXColor bgColor;
BOOL useBGColor;
BOOL enableGrid;
BOOL keepSourceOnShelf;
}
- (void) createViewForPath:(const char *) path at:(NXPoint *) point;
- (void) removeViewForPath:(const char *) fullPath;
- deleteView:aView;
- deselectAll:sender;
- setDragView:aView onEvent:(NXEvent *) e
withOffset:(NXPoint *) offset
atLocation:(const NXPoint *) location;
- (NXColor) backgroundColor;
- (unsigned int) gridValue;
- setGridValue:(unsigned int) gridValue;
- (void) setGridEnabled:(BOOL) flag;
- (BOOL) gridEnabled;
- (void) setBackgroundEnabled:(BOOL) flag;
- (BOOL) useBackgroundTile;
- readShelf;
- writeShelf;
@end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.