git.ithinksw.org
/
MenuTunes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Um, yeah. Started working on this and did some work getting everything on the same...
[MenuTunes.git]
/
MenuTunesView.m
diff --git
a/MenuTunesView.m
b/MenuTunesView.m
index
824683b
..
05af9af
100755
(executable)
--- a/
MenuTunesView.m
+++ b/
MenuTunesView.m
@@
-1,11
+1,3
@@
-//
-// MenuTunesView.m
-// MenuTunes
-//
-// Created by Kent Sutherland on Tue Nov 19 2002.
-// Copyright (c) 2002 Kent Sutherland. All rights reserved.
-//
-
#import "MenuTunesView.h"
#import "MenuTunesView.h"
@@
-15,15
+7,17
@@
{
if ( (self = [super initWithFrame:frame]) )
{
{
if ( (self = [super initWithFrame:frame]) )
{
- image = [NSImage imageNamed:@"menu"];
- altImage = [NSImage imageNamed:@"selected_image"];
- curImage = image;
+ images = [[NSDictionary alloc] initWithObjectsAndKeys:
+ [NSImage imageNamed:@"menu"], @"normal",
+ [NSImage imageNamed:@"selected_image"], @"selected",
+ nil];
}
return self;
}
- (void)drawRect:(NSRect)rect
{
}
return self;
}
- (void)drawRect:(NSRect)rect
{
+ NSImage *image
[curImage compositeToPoint:NSMakePoint(0, 0) operation:NSCompositeSourceOver];
}
[curImage compositeToPoint:NSMakePoint(0, 0) operation:NSCompositeSourceOver];
}