Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 30 lines (24 sloc) 0.765 kb
d669050 @heipei Add PBCollapsibleSplitView as subclass of PBNiceSplitView
heipei authored
1 //
2 // PBCollapsibleSplitView.h
3 // GitX
4 //
193b834 @heipei PBCollapsibleSplitView: Enable collapse/uncollapse using keys
heipei authored
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 //
d669050 @heipei Add PBCollapsibleSplitView as subclass of PBNiceSplitView
heipei authored
9 // Created by Johannes Gilger on 6/21/09.
10 // Copyright 2009 Johannes Gilger. All rights reserved.
11 //
12
13 #import <Cocoa/Cocoa.h>
14 #import "PBNiceSplitView.h"
15
16 @interface PBCollapsibleSplitView : PBNiceSplitView {
17 CGFloat topViewMin;
18 CGFloat bottomViewMin;
193b834 @heipei PBCollapsibleSplitView: Enable collapse/uncollapse using keys
heipei authored
19 CGFloat splitterPosition;
d669050 @heipei Add PBCollapsibleSplitView as subclass of PBNiceSplitView
heipei authored
20 }
21
22 @property (readonly) CGFloat topViewMin;
23 @property (readonly) CGFloat bottomViewMin;
24
25 - (void)setTopMin:(CGFloat)topMin andBottomMin:(CGFloat)bottomMin;
26 - (void)uncollapse;
193b834 @heipei PBCollapsibleSplitView: Enable collapse/uncollapse using keys
heipei authored
27 - (void)keyDown:(NSEvent *)event;
d669050 @heipei Add PBCollapsibleSplitView as subclass of PBNiceSplitView
heipei authored
28
29 @end
Something went wrong with that request. Please try again.