Source

//// BWGradientBox.h// BWToolkit//// Created by Brandon Walkin (www.brandonwalkin.com)// All code is provided under the New BSD license.//#import <Cocoa/Cocoa.h>@interfaceBWGradientBox : NSView{NSColor*fillStartingColor,*fillEndingColor,*fillColor;NSColor*topBorderColor,*bottomBorderColor;floattopInsetAlpha,bottomInsetAlpha;BOOLhasTopBorder,hasBottomBorder,hasGradient,hasFillColor;}@property(nonatomic,retain)NSColor*fillStartingColor,*fillEndingColor,*fillColor,*topBorderColor,*bottomBorderColor;@propertyfloattopInsetAlpha,bottomInsetAlpha;@propertyBOOLhasTopBorder,hasBottomBorder,hasGradient,hasFillColor;@end