Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

30 lines (24 sloc) 0.765 kB
//
// PBCollapsibleSplitView.h
// GitX
//
// This is a limited subclass of a SplitView. It adds methods to aid in
// collapsing/uncollapsing subviews using the mouse or programmatically.
// Right now it only works for vertical layouts and with two subviews.
//
// Created by Johannes Gilger on 6/21/09.
// Copyright 2009 Johannes Gilger. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import "PBNiceSplitView.h"
@interface PBCollapsibleSplitView : PBNiceSplitView {
CGFloat topViewMin;
CGFloat bottomViewMin;
CGFloat splitterPosition;
}
@property (readonly) CGFloat topViewMin;
@property (readonly) CGFloat bottomViewMin;
- (void)setTopMin:(CGFloat)topMin andBottomMin:(CGFloat)bottomMin;
- (void)uncollapse;
- (void)keyDown:(NSEvent *)event;
@end
Jump to Line
Something went wrong with that request. Please try again.