From 89da7d6fcffb318916dde7d6bbb530dbcc0e4f8c Mon Sep 17 00:00:00 2001 From: nico Date: Sun, 3 Sep 2000 19:34:17 +0000 Subject: [PATCH] Fix for NSScroller to redraw only the necessary parts; fix for NSSlider to display the title; many other little fixes git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7359 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 36 +++++++++++++++++++++++++++++++++--- 1 file changed, 33 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 896fac4f4..42f1e0385 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,37 @@ +Sun Sep 3 21:20:25 2000 Nicola Pero + + * Source/NSSliderCell.m ([-init]): Create titleCell. + ([-drawKnob]), ([-drawKnob:]): Access control_view ivar. + +Sun Sep 3 20:57:32 2000 Nicola Pero + + * Source/NSBrowser.m ([-drawRect:]): Simplifications; do not lock + focus before drawing scroller border. + * Source/NSScroller.m Cache scrollBarColor. ([-drawRect:]): Only + redraw the interested parts using a little cache. + ([-drawKnobSlot]): Cache rect. ([-setFrameSize:]), + ([-setFrame:]), ([-setArrowsPosition:]), ([-setEnabled:]): + Invalidate little cache. + * Headers/gnustep/gui/NSScroller.h: Added ivar for caching rects. + * Source/NSSlider.m (_floatValueForMousePoint): New inline + function replacing [-_floatValueForMousePointknobRect:]. + ([-trackKnob:knobRect:]), ([-mouseDown:]): Use the new inline + function. ([-trackKnob:knobRect:]): Tiny caching. + ([-mouseDown:]): Use flag for flipped. + * Source/NSTableView.m ([-drawRect:]): Only fill background in + rect argument. + + * Source/NSBrowser.m ([-_performLoadOfColumn:]): Release matrix + sooner. + * Source/NSCell.m ([-dealloc]): Use NSDeallocateObject. + * Source/NSSavePanel.m ([-browser:createRowsForColumn:inMatrix:]): + Use an autorelease pool; avoid creating the column if it is void. + * Source/NSTableHeaderCell.m ([-drawWithFrame:inView:]): Fixed + typo: self, not super. + 2000-09-02 Fred Kiefer - * Source/GSFontInfo.m: - Added missing RETAINs. + * Source/GSFontInfo.m: Added missing RETAINs. * Source/NSBrowser.m * Source/NSFontPanel.m * Source/NSLayoutManager.m @@ -12,7 +42,7 @@ * Source/NSStringDrawing.m * Source/NSTableHeaderCell.m * Source/NSTabView.m - * Source/NSText.m + * Source/NSText.m: Changed system fonts of size 12 to 0. This will use Nicolas font cache and keep font sizes consistent when changed.