summaryrefslogtreecommitdiff
path: root/tikzit/Frameworks/SFBInspectors.framework/Versions/A/Headers/SFBInspectorPane.h
blob: b50c12dc0f93441fcc0e5059df5c0b5db17746c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
 *  Copyright (C) 2009 Stephen F. Booth <me@sbooth.org>
 *  All Rights Reserved
 */

#import <Cocoa/Cocoa.h>

#define INSPECTOR_PANE_HEADER_HEIGHT 17

@class SFBInspectorPaneHeader, SFBInspectorPaneBody;

@interface SFBInspectorPane : NSView
{
@private
	BOOL _collapsed;
	SFBInspectorPaneHeader *_headerView;
	SFBInspectorPaneBody *_bodyView;
}

@property (readonly, assign, getter=isCollapsed) BOOL collapsed;

- (NSString *) title;
- (void) setTitle:(NSString *)title;

- (IBAction) toggleCollapsed:(id)sender;
- (void) setCollapsed:(BOOL)collapsed animate:(BOOL)animate;

- (SFBInspectorPaneHeader *) headerView;
- (SFBInspectorPaneBody *) bodyView;

@end