File:  [mozdev] / chimera / BookmarksToolbar.h
Revision 1.6: download - view: text, annotated - select for diffs - revision graph
Thu Apr 18 15:42:03 2002 UTC (15 years, 6 months ago) by pinkerton
Branches: MAIN
CVS tags: HEAD
Fix a lot of warnings and some bad method calls. Also change use of
keyWindow to mainWindow so commands still work when the find panel is
the key window.

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

#import <AppKit/AppKit.h>

class nsIDOMElement;

class BookmarksService;

@interface BookmarksToolbar : NSView {
  BookmarksService* mBookmarks;
  NSMutableArray* mButtons;
}

-(void)initializeToolbar;

// Called to construct the initial set of personal toolbar buttons.
-(void)buildButtonList;
-(void)addButton: (nsIDOMElement*)aElt atIndex: (int)aIndex;
-(void)removeButton: (nsIDOMElement*)aElt;

// Called to lay out the buttons on the toolbar.
-(void)reflowButtons;
-(void)reflowButtonsStartingAtIndex: (int)aIndex;

@end

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