From c31fbb6b7e3716f62406200fe784d1a8e9cc9a8f Mon Sep 17 00:00:00 2001 From: nico Date: Sat, 22 Jan 2000 01:54:14 +0000 Subject: [PATCH] NSCell: little fixings, added macosx methods, but only a few implemented git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5809 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/ChangeLog b/ChangeLog index 9a88ad42d..1a0ed48b5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,49 @@ +Sat Jan 22 00:23:31 2000 Nicola Pero + + * Source/NSButtonCell.m ([-_init]): Updated for change in superclass' + defaults: set text align to center. + +Sat Jan 22 00:05:08 2000 Nicola Pero + + Contributed by Fred Kiefer, with changings of mine: + * Source/NSCell.m: Reordered methods. ([+defaultMenu]): New + method, void implementation. ([-initTextCell:]): Set default text + alignment to NSNaturalTextAlignment. ([-cellSize]): Fixed + returned size when cell is of type NSImageCellType but no image + set. ([-cellSizeForBounds:]): Semi-implemented. + ([-titleRectForBounds:]): Implemented. ([-setType:]): Set + standard font and title if of type text, and nil image if of type + image [macosx]. ([-allowsMixedState]): New method, implemented. + ([-setAllowsMixedState]): New method, implemented. + ([-nextState]): New method, implemented. ([-setNextState]): New + method, implemented. ([-image]): Return nil if cell is not of + type image. ([-hasValidObjectValue]), ([-objectValue]), + ([-setObjectValue:]): Added methods but real implementation still + to do. ([-takeObjectValueFrom:]): Added method. ([-wraps]), + ([-setWraps:]): Implemented [though wrapping is not implemented at + all]. ([-setImportsGraphics:]), ([-importsGraphics]), + ([-setAllowsEditingTextAttributes:]), ([-attributedStringValue]), + ([-setAttributedStringValue:]): Added methods with void + implementation. + ([-editWithFrame:inView:editor:delegate:event:]): Use + titleRectForBounds. + ([-selectWithFrame:inView:editor:delegate:event:]): Use + titleRectForBounds. ([-setEntryType:]): Set also cell to text + type. ([-menu]), ([-menuForEvent:inRect:ofView:]), ([-setMenu:]), + ([-setSendsActionOnEndEditing:]), ([-sendsActionOnEndEditing]): + ([-formatter]), ([-setFormatter:]): Added method with void + implementation. ([-acceptsFirstResponder]): Refined. + ([-setMnemonicLocation:]), ([-mnemonic]), ([-mnemonicLocation]), + ([-setTitleWithMnemonic:]), ([-showsFirstResponder]), + ([-setShowsFirstResponder:]), ([-acceptsFirstResponder]), + ([-refusesFirstResponder]), ([-setRefusesFirstResponder:]): Added + methods with more or less trivial or void implementations. + ([-initWithCoder:]), ([-encodeWithCoder:]): Updated for new bits + _cell.allows_mixed_state and _cell.wraps. + + * Headers/gnustep/gui/NSCell.h: Added wraps and allows_mixed_state + bits to the _cell struct. + Fri Jan 21 01:22:08 2000 Nicola Pero Contributed by Fred Kiefer, with changings of my own: