5 // Created by Kent Sutherland on Tue Nov 19 2002.
6 // Copyright (c) 2002 Kent Sutherland. All rights reserved.
9 #import "MenuTunesView.h"
12 @implementation MenuTunesView
14 - (id)initWithFrame:(NSRect)frame
16 if ( (self = [super initWithFrame:frame]) )
18 image = [NSImage imageNamed:@"menu"];
19 altImage = [NSImage imageNamed:@"selected_image"];
25 - (void)drawRect:(NSRect)rect
27 [curImage compositeToPoint:NSMakePoint(0, 0) operation:NSCompositeSourceOver];
30 - (void)mouseDown:(NSEvent *)event
33 [self setNeedsDisplay:YES];
34 [super mouseDown:event];
37 - (void)mouseUp:(NSEvent *)event
40 [self setNeedsDisplay:YES];
41 [super mouseUp:event];