ftp.nice.ch/pub/next/tools/screen/Rulers_by_SW.1.2.s.tar.gz#/Rulers_by_SW/Rulers_by_SW-1.2/ImmediateButton.m

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

// ImmediateButton.m
// Project: Rulers
//
// Stephan Wacker
// 93-02-11

//
// An ImmediateButton is a Button object that performs its action immediately
// when the mouse button is pressed, instead of waiting until it is released.
//


#import "ImmediateButton.h"


@implementation ImmediateButton


- mouseDown: (NXEvent *) event
// Make the Button perform its action.
{
    [self performClick: self];
    
    return self;
}


@end

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