File: FortuneTextView.m

package info (click to toggle)
fortunate.app 3.1-2
  • links: PTS
  • area: main
  • in suites: sid
  • size: 508 kB
  • sloc: ansic: 2,697; objc: 470; makefile: 23
file content (16 lines) | stat: -rw-r--r-- 319 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* FortuneTextView.m created by chris on Sat 26-Jun-1999 */
/* FortuneTextView.m
 * Chris Saldanha, June, 1999
 * Subclass of  NSTextView that quits the app on a mouse click.
 */

#import "FortuneTextView.h"

@implementation FortuneTextView

- (void)mouseDown: (NSEvent *)theEvent
{
    [NSApp terminate: nil];
}

@end