Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

file 29 lines (24 sloc) 0.765 kb
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
//
// 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
Something went wrong with that request. Please try again.