File:  [mozdev] / chimera / LocationBar.mm
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Wed Apr 17 10:36:02 2002 UTC (15 years, 6 months ago) by hyatt
Branches: MAIN
CVS tags: HEAD
Better looking location bar.

//
//  LocationBar.m
//  Chimera
//
//  Created by David Hyatt on Wed Apr 17 2002.
//  Copyright (c) 2001 __MyCompanyName__. All rights reserved.
//

#import "LocationBar.h"


@implementation LocationBar

- (id)initWithFrame:(NSRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        // Initialization code here.
    }
    return self;
}

- (void)drawRect:(NSRect)aRect {
  // Frame the border.
  //NSDrawLightBezel([self bounds], aRect);

  [[NSColor colorWithCalibratedWhite: 0.98 alpha: 1.0] set];
  NSRectFill(aRect);

  [[NSColor colorWithCalibratedWhite: 0.90 alpha: 1.0] set];
  NSFrameRectWithWidth([self bounds], 2.0);
}

@end

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