//
//  NSButtonPalette.h
//  LaTeXiT
//
//  Created by Pierre Chatelier on 08/05/10.
//  Copyright 2005-2016 Pierre Chatelier. All rights reserved.
//

#import <Cocoa/Cocoa.h>


@interface NSButtonPalette : NSObject {
  NSMutableArray* buttons;
  BOOL isExclusive;
  id delegate;
}

-(BOOL) isExclusive;
-(void) setExclusive:(BOOL)value;
-(void) add:(NSButton*)button;
-(void) remove:(NSButton*)button;
-(NSButton*) buttonWithTag:(int)tag;
-(NSButton*) buttonWithState:(int)state;

-(id) delegate;
-(void) setDelegate:(id)delegate;
-(void) buttonPalette:(NSButtonPalette*)buttonPalette buttonStateChanged:(NSButton*)button;

@end
