Testing: add missing file
[GitX.git] / PBCollapsibleSplitView.h
blob1a52c0dfa90079f2097b287e6ea1907b9786c2ad
1 //
2 // PBCollapsibleSplitView.h
3 // GitX
4 //
5 // This is a limited subclass of a SplitView. It adds methods to aid in
6 // collapsing/uncollapsing subviews using the mouse or programmatically.
7 // Right now it only works for vertical layouts and with two subviews.
8 //
9 // Created by Johannes Gilger on 6/21/09.
10 // Copyright 2009 Johannes Gilger. All rights reserved.
13 #import <Cocoa/Cocoa.h>
14 #import "PBNiceSplitView.h"
16 @interface PBCollapsibleSplitView : PBNiceSplitView {
17 CGFloat topViewMin;
18 CGFloat bottomViewMin;
19 CGFloat splitterPosition;
22 @property (readonly) CGFloat topViewMin;
23 @property (readonly) CGFloat bottomViewMin;
25 - (void)setTopMin:(CGFloat)topMin andBottomMin:(CGFloat)bottomMin;
26 - (void)uncollapse;
27 - (void)keyDown:(NSEvent *)event;
29 @end