Don't link with Carbon.framework.
[MacTF.git] / iLifeControls / NFIFrame.h
blobaa4422823d7e713b58033f5a41236bc6708a5e76
1 //
2 // NFIFrame.h
3 // iLife Window
4 //
5 // Created by Sean Patrick O'Brien on 9/15/06.
6 // Copyright 2006 Sean Patrick O'Brien. All rights reserved.
7 //
9 #import <Cocoa/Cocoa.h>
11 #import "NSGrayFrame.h"
13 @class NSGrayFrame;
15 @interface NFIFrame : NSGrayFrame {
16 float mTitleBarHeight;
17 float mBottomBarHeight;
18 float mMidBarHeight;
19 float mMidBarOriginY;
21 id mInnerGradient;
22 id mOuterGradient;
25 + (NSBezierPath*)_clippingPathForFrame:(NSRect)frame;
26 + (float)cornerRadius;
28 - (void)_drawTitleBar:(NSRect)rect;
29 - (void)_drawMidBar:(NSRect)rect;
30 - (void)_drawBottomBar:(NSRect)rect;
31 - (void)_drawTitle:(NSRect)rect;
33 - (id)backgroundColor;
34 - (id)gradientStartColor;
35 - (id)gradientEndColor;
36 - (id)gradient2StartColor;
37 - (id)gradient2EndColor;
38 - (id)edgeColor;
39 - (id)bottomEdgeColor;
40 - (id)topWindowEdgeColor;
41 - (id)bottomWindowEdgeColor;
42 - (id)titleColor;
44 - (float)titleBarHeight;
45 - (void)setTitleBarHeight:(float)height;
46 - (float)bottomBarHeight;
47 - (void)setBottomBarHeight:(float)height;
48 - (float)midBarHeight;
49 - (float)midBarOriginY;
50 - (void)setMidBarHeight:(float)height origin:(float)origin;
52 @end