From bf4bf3e589b61fee1565cf3e779145dd575f5e82 Mon Sep 17 00:00:00 2001 From: Nicola Pero Date: Sun, 28 Jan 2001 17:41:52 +0000 Subject: [PATCH] Added delegate method git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8849 72102866-910b-0410-8b05-ffd578937521 --- Headers/gnustep/gui/NSSplitView.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Headers/gnustep/gui/NSSplitView.h b/Headers/gnustep/gui/NSSplitView.h index a3679c47e..a33d61819 100644 --- a/Headers/gnustep/gui/NSSplitView.h +++ b/Headers/gnustep/gui/NSSplitView.h @@ -1,4 +1,4 @@ -/* +/* -*-objc-*- NSSplitView.h Allows multiple views to share a region in a window @@ -69,7 +69,7 @@ @end -@interface NSObject(NSSplitViewDelegate) +@interface NSObject (NSSplitViewDelegate) - (void) splitView: (NSSplitView *)sender resizeSubviewsWithOldSize: (NSSize)oldSize; @@ -78,6 +78,10 @@ constrainMinCoordinate: (float *)min maxCoordinate: (float *)max ofSubviewAt: (int)offset; +- (float) splitView: (NSSplitView *)sender +constrainSplitPosition: (float)proposedPosition + ofSubviewAt: (int)offset; + - (void) splitViewWillResizeSubviews: (NSNotification *)notification; - (void) splitViewDidResizeSubviews: (NSNotification *)notification; @end