File:  [mozdev] / chimera / BookmarksButton.mm
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Tue Apr 16 07:26:07 2002 UTC (15 years, 8 months ago) by hyatt
Branches: MAIN
CVS tags: HEAD
Playing around with the bookmarks bar.

//
//  BookmarksButton.mm
//  Chimera
//
//  Created by David Hyatt on Mon Apr 15 2002.
//  Copyright (c) 2001 __MyCompanyName__. All rights reserved.
//

#import "BookmarksButton.h"


@implementation BookmarksButton

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

  // Create a sample button.
  [self setBezelStyle: NSRegularSquareBezelStyle];
  [self setBordered: NO];
  [self setImagePosition: NSImageLeft];
  [self setImage: [NSImage imageNamed: @"smallbookmark"]];
  [self setFont: [NSFont labelFontOfSize: 11.0]];
  [self setRefusesFirstResponder: YES];
  //[[self cell] setHighlightsBy: NSChangeGrayCellMask];
  [self sizeToFit];

  return self;
}

@end

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