From 9a2fd89144d901befa138ab59ee11cc408685abc Mon Sep 17 00:00:00 2001 From: alexm Date: Mon, 3 Mar 2003 13:57:53 +0000 Subject: [PATCH] Add and implement -typesetter and -setTypesetter:. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16115 72102866-910b-0410-8b05-ffd578937521 --- Headers/gnustep/gui/GSLayoutManager.h | 4 ++++ Source/GSLayoutManager.m | 10 ++++++++++ 2 files changed, 14 insertions(+) diff --git a/Headers/gnustep/gui/GSLayoutManager.h b/Headers/gnustep/gui/GSLayoutManager.h index 558a2b316..d344af96e 100644 --- a/Headers/gnustep/gui/GSLayoutManager.h +++ b/Headers/gnustep/gui/GSLayoutManager.h @@ -105,6 +105,10 @@ how it's supposed to work. It's functional and correct, but it isn't fast. */ - (void) setDelegate: (id)aDelegate; +-(GSTypesetter *) typesetter; +-(void) setTypesetter: (GSTypesetter *)typesetter; + + - (void) setBackgroundLayoutEnabled: (BOOL)flag; - (BOOL) backgroundLayoutEnabled; diff --git a/Source/GSLayoutManager.m b/Source/GSLayoutManager.m index 41ea88108..00791271b 100644 --- a/Source/GSLayoutManager.m +++ b/Source/GSLayoutManager.m @@ -2538,6 +2538,16 @@ See [NSTextView -setTextContainer:] for more information about these calls. } +-(GSTypesetter *) typesetter +{ + return typesetter; +} +-(void) setTypesetter: (GSTypesetter *)a_typesetter +{ + ASSIGN(typesetter, a_typesetter); +} + + - (BOOL) usesScreenFonts { return usesScreenFonts;