File:  [mozdev] / chimera / LocationBar.mm
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Wed Apr 17 10:30:13 2002 UTC (18 years, 1 month ago) by hyatt
Branches: MAIN
CVS tags: HEAD
Adding a page proxy icon to the location bar.

    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: 
   22: - (void)drawRect:(NSRect)rect {
   23:   // Frame the border.
   24:   NSDrawWhiteBezel([self bounds], rect);
   25: }
   26: 
   27: @end

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