From 8ddb9f1d722cd8a89bcffe6a2b84752a0fcd3ab0 Mon Sep 17 00:00:00 2001 From: Fred Kiefer Date: Sat, 2 Feb 2002 00:31:49 +0000 Subject: [PATCH] Made NSFontPanel behave more like the orignal on Next. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12380 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/ChangeLog b/ChangeLog index ada92caae..ba9ed93bf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,26 @@ +2002-02-02 Fred Kiefer + + * Source/NSImage.m + Corrected [TIFFRepresentation], was calling the wrong + NSBitmapImageRep method. + * Source/NSFontManager.m + [orderFrontFontPanel:] no longer sets the selected font on the + panel, as this gets done by the panel itself. + * Headers/gnustep/gui/NSFontPanel.h + New ivars for traits, weight and a future preview string. + * Source/NSFontPanel.m + [reloadDefaultFontFamilies] load the family browser and redisplay + the selected font. [setPanelFont:isMultiple:] load the face + browser, store font weight and traits and display font name in + preview only if no preview string is set. [_initWithoutGModel] + made the set button the default button. Split most code from + [_togglePreview:] into separate method [_doPreview], which is + called, when the preview state should not change. In [_doPreview] + only display font name if preview string is not set. + [browser:selectRow:inColumn:], when selecting a family select a + face with the same weight and traits as the originaly + selected. When selecting a face, store its weight and traits. + 2002-02-01 Richard Frith-Macdonald * Source/NSBezierPath.m: