Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 59 lines (45 sloc) 1.2 kb
056cb11 initial commit
Philip Dow authored
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 //
8
9 #import <Cocoa/Cocoa.h>
10
11 #import "NSGrayFrame.h"
12
13 @class NSGrayFrame;
14
15 @interface NFIFrame : NSGrayFrame {
16 float mTitleBarHeight;
17 float mBottomBarHeight;
18 float mMidBarHeight;
19 float mMidBarOriginY;
20
21 id mInnerGradient;
22 id mOuterGradient;
23 }
24
25 + (NSBezierPath*)_clippingPathForFrame:(NSRect)frame;
26 + (float)cornerRadius;
27
28 - (void)_drawTitleBar:(NSRect)rect;
29 - (void)_drawMidBar:(NSRect)rect;
30 - (void)_drawBottomBar:(NSRect)rect;
31 - (void)_drawTitle:(NSRect)rect;
32
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;
43
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;
51
52 @end
53
54 @interface NSCell (NFIFrameAdditions)
55
56 - (void) setShadowColor:(NSColor*)aColor;
57
58 @end
Something went wrong with that request. Please try again.