// // MPT_SplitViewConstrainer.h // AUCoderDemo // // Created by Andrew Salamon on 11/8/06. // Copyright 2006 Machine Perception Laboratory, University of California San Diego. All rights reserved. // #import /** Limits how small each half of an NSSplitView can be made. * Instantiate in a NIB file, connecting the two outlets to the split view and it's left view. * Connect the split view's delegate to this object. * At some point before use, set the minLeftPane and minRightPane values. */ @interface MPT_SplitViewConstrainer : NSObject { IBOutlet NSSplitView *splitView; IBOutlet NSView *splitViewLeft; float minLeftPane; float minRightPane; } - (float)minLeftPane; - (void)setMinLeftPane:(float)value; - (float)minRightPane; - (void)setMinRightPane:(float)value; @end