Reverting MenuTunesView... lets try this again.
authorMatthew Judy <mjudy@ithinksw.com>
Fri, 6 Dec 2002 03:37:03 +0000 (03:37 +0000)
committerMatthew Judy <mjudy@ithinksw.com>
Fri, 6 Dec 2002 03:37:03 +0000 (03:37 +0000)
MTApplication.h
MenuTunesView.h
MenuTunesView.m

index 5692b39..0e98995 100755 (executable)
@@ -1,4 +1,17 @@
-/* MTApplication */
+/*
+ *     MenuTunes
+ *  MTApplication
+ *    MenuTunes Application Subclass
+ *
+ *  Original Author : Kent Sutherland <ksuther@ithinksw.com>
+ *   Responsibility : Kent Sutherland <ksuther@ithinksw.com>
+ *
+ *  Copyright (c) 2002 The iThink Group.
+ *  All Rights Reserved
+ *
+ */
+
+
 
 #import <Cocoa/Cocoa.h>
 
index 81bdf60..a66f794 100755 (executable)
@@ -1,7 +1,7 @@
 /*
  *     MenuTunes
  *  MenuTunesView
- *    NSStatusItem Menu View
+ *    App Controller Class
  *
  *  Original Author : Kent Sutherland <ksuther@ithinksw.com>
  *   Responsibility : Kent Sutherland <ksuther@ithinksw.com>
@@ -17,7 +17,9 @@
 
 @interface MenuTunesView : NSView
 {
-    NSDictionary *images;
+    NSImage *image;
+    NSImage *altImage;
+    NSImage *curImage;
 }
 
 @end
index 05af9af..5bfba53 100755 (executable)
@@ -7,17 +7,15 @@
 {
     if ( (self = [super initWithFrame:frame]) )
     {
-        images = [[NSDictionary alloc] initWithObjectsAndKeys:
-            [NSImage imageNamed:@"menu"], @"normal",
-            [NSImage imageNamed:@"selected_image"],    @"selected",
-            nil];
+        image = [NSImage imageNamed:@"menu"];
+        altImage = [NSImage imageNamed:@"selected_image"];
+        curImage = image;
     }
     return self;
 }
 
 - (void)drawRect:(NSRect)rect
 {
-    NSImage *image
     [curImage compositeToPoint:NSMakePoint(0, 0) operation:NSCompositeSourceOver];
 }