ftp.nice.ch/pub/next/text/tex/apps/Bibliography.1.2a.s.tar.gz#/Bibliography.1.2a/EntryPanel.m

This is EntryPanel.m in view mode; [Download] [Up]


//	Copyright H. Giesen, University of Koblenz-Landau 1996


#import "EntryPanel.h"

@implementation EntryPanel

- (BOOL)constrainFrameRect:(NXRect *)theFrame
		toScreen:(const NXScreen *)screen
{
	return NO;
}


- XXsendEvent:(NXEvent *)event;
/* I override sendEvent: so that I can snarf control-mouseDown events.
 * When the user holds Control key down and clicks on something, this
 * method will figure out which window received the click, finds the
 * view which is directly under the mouse down, and passes that information
 * to the help object who will display the appropriate help file.  If this
 * isn't a control-mouseDown event, I just call the super Application 
 * sendEvent: method to handle the event normally.
 */
 {
    if ( (event->flags & NX_CONTROLMASK) ) {
		fprintf( stderr, "NX_CONTROLMASK\n" );
    }
	else fprintf( stderr, "+\n" );
    [super sendEvent:event];
    return self;
}


@end

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.