//
//  BITimerTwiddleButton.h
//  BIViews
//
//  Created by Eric Hochmeister on 29/03/05.
//  Copyright 2005 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>


@interface BITimerTwiddleButton : NSView {

	NSRect twiddleBackgroundBodyRect;
	NSRect twiddleBackgroundLeftCapDestRect;
	NSRect twiddleBackgroundRightCapDestRect;
	NSRect twiddleBackgroundLeftCapRect;
	NSRect twiddleBackgroundRightCapRect;
	NSRect twiddleDisclosureOpenRect;
	NSRect twiddleDisclosureClosedRect;
	NSRect twiddleDisclosureOpenDestRect;
	NSRect twiddleDisclosureClosedDestRect;
	
	BOOL isOpen;
	
	id _target;
	SEL _action;
	
	BOOL _mouseIsDown;
	BOOL _mouseIsOver;
}
+ (NSImage *)triangleImage:(BOOL)isCollapsed;

- (BOOL)isOpen;
- (void)setIsOpen:(BOOL)flag;

- (id)target;
- (void)setTarget:(id)aTarget;
- (SEL)action;
- (void)setAction:(SEL)anAction;


@end
