This is MiscIconWell.h in view mode; [Download] [Up]
/**************************************************************************
CLASS: MiscIconWell
INHERITS FROM: MiscDragView
PROGRAMMERS: Todd Thomas (todd@avocado.supernet.ab.ca)
Bruce McKenzie (spuds@netcom.com)
Stephen Fitzpatrick (sfitzp@elegabalus.cs.qub.ac.uk)
BEGAN: May 24, 1994
LAST CHANGED: November 26, 1994
VERSION: 1.4
CHANGES: See the end of MiscIconWell.m.
This class (by default) allows both source and destination dragging of
icon representations of files and folders and uses the NXFilenamePboardType
to pass the filename that is associated with the dragged icon.
Since we are inheriting the basic functionality from MiscDragView, we
should not need to do much.
This object is included in the MiscKit by permission from the author
and its use is governed by the MiscKit license, found in the file
"LICENSE.rtf" in the MiscKit distribution. Please refer to that file
for a list of all applicable permissions and restrictions.
***************************************************************************/
#import <appkit/appkit.h>
#import <misckit/MiscDragView.h>
@interface MiscIconWell : MiscDragView
{
char *filename; // to char* for easier palette loading in IB
BOOL allowDoubleClickLaunch;
}
- initFrame: (const NXRect *)frameRect;
- initDragTypes;
- free;
- (const char *)filename;
- setImage: (NXImage *)anImage;
- setImageByFilename: (const char *)aFilename;
- setAllowDoubleClickLaunch: (BOOL)aBool;
- (BOOL)allowDoubleClickLaunch;
// Launch/open file in WS: BJM 5/24/94
- launch:sender;
- mouseDown: (NXEvent *)theEvent;
- (BOOL)setupForSourceDrag;
- (BOOL)performDragOperation: sender;
- concludeDragOperation: sender;
- read: (NXTypedStream *)stream;
- write: (NXTypedStream *)stream;
@end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.