Annotation of chimera/LocationBar.mm, revision 1.2

1.1       hyatt       1: //
                      2: //  LocationBar.m
                      3: //  Chimera
                      4: //
                      5: //  Created by David Hyatt on Wed Apr 17 2002.
                      6: //  Copyright (c) 2001 __MyCompanyName__. All rights reserved.
                      7: //
                      8: 
                      9: #import "LocationBar.h"
                     10: 
                     11: 
                     12: @implementation LocationBar
                     13: 
                     14: - (id)initWithFrame:(NSRect)frame {
                     15:     self = [super initWithFrame:frame];
                     16:     if (self) {
                     17:         // Initialization code here.
                     18:     }
                     19:     return self;
                     20: }
                     21: 
1.2     ! hyatt      22: - (void)drawRect:(NSRect)aRect {
1.1       hyatt      23:   // Frame the border.
1.2     ! hyatt      24:   //NSDrawLightBezel([self bounds], aRect);
        !            25: 
        !            26:   [[NSColor colorWithCalibratedWhite: 0.98 alpha: 1.0] set];
        !            27:   NSRectFill(aRect);
        !            28: 
        !            29:   [[NSColor colorWithCalibratedWhite: 0.90 alpha: 1.0] set];
        !            30:   NSFrameRectWithWidth([self bounds], 2.0);
1.1       hyatt      31: }
                     32: 
                     33: @end

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>