//
//  LCColorWell.h
//  LCToolkit
//
//  Created by Logan Collins on 7/22/10.
//  Copyright 2010 Logan Collins. All rights reserved.
//

#import <Cocoa/Cocoa.h>


/* LCColorWell is a color control with a drop-down view for
 * choosing a color, similar to controls in iWork apps
 */
@interface LCColorWell : NSControl {
@private
}

@property (copy) NSColor *color;
@property (retain) LCColorWell *textColorWell;
@property BOOL allowsTransparent;

@end


@interface LCColorWellCell : NSActionCell {
@private
	NSWindow *_popupWindow;
	NSColor *_color;
	BOOL _allowsTransparent;
	id _colorPicker;
	LCColorWell *_textColorWell;
	NSTimer *hideTimer;
}

@property (copy) NSColor *color;
@property (retain) LCColorWell *textColorWell;
@property BOOL allowsTransparent;

@end
