//
//  BITwiddleDeleteButton.h
//  BIViews
//
//  Created by Eric Hochmeister on 19/04/05.
//  Copyright 2005 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>


@interface BITwiddleDeleteButton : NSView {
	
	NSRect _addButtonRect;
	NSRect _twiddledRightCapRect;
	NSRect _twiddleRightCapDestRect;
	NSRect _twiddleLeftCapRect;
	NSRect _twiddleLeftCapDestRect;
	
	NSRect _imageCenterRect;
	
	id _target;
	SEL _action;
	
	BOOL _mouseIsDown;
	BOOL _mouseIsOver;
	
	BOOL _enabled;

	int rolloverTrackingRectTag;
}

- (id)target;
- (void)setTarget:(id)aTarget;
- (SEL)action;
- (void)setAction:(SEL)anAction;
- (BOOL)mouseIsDown;
- (void)setMouseIsDown:(BOOL)flag;
- (BOOL)mouseIsOver;
- (void)setMouseIsOver:(BOOL)flag;

- (BOOL)isEnabled;
- (void)setIsEnabled:(BOOL)aFlag;

#pragma mark TrackingRectMethods
- (void)resetTrackingRects;
- (void)clearTrackingRects;
@end
