* Headers/AppKit/NSSegmentedCell.h: Added rect ivar to cache frame.

* Source/NSBundleAdditions.m: Minor formatting changes.
	* Source/NSController.m: Added ivars to encodeWithCoder:.
	* Source/NSNibBindingConnector.m: Added ivars to encodeWithCoder:.
	* Source/NSSegmentedCell.m: Changes to fully implement rendering
	of the cell.
	* Source/NSSegmentedControl.m: Changes to fully implement
	control.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25900 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2008-01-09 03:37:59 +00:00
parent 5b5447d12d
commit a70afb2bae
7 changed files with 120 additions and 16 deletions

View file

@ -36,6 +36,17 @@
@implementation NSNibBindingConnector
- (id) init
{
if((self = [super init]) != nil)
{
_binding = RETAIN([NSString stringWithString: @""]);
_keyPath = RETAIN([NSString stringWithString: @""]);
_options = RETAIN([NSMutableDictionary dictionary]);
}
return self;
}
- (void) dealloc
{
RELEASE(_binding);
@ -154,9 +165,9 @@
}
else
{
[aDecoder decodeValueOfObjCType: @encode(id) at: &_binding];
[aDecoder decodeValueOfObjCType: @encode(id) at: &_keyPath];
[aDecoder decodeValueOfObjCType: @encode(id) at: &_options];
ASSIGN(_binding,[aDecoder decodeObject]);
ASSIGN(_keyPath,[aDecoder decodeObject]);
ASSIGN(_options,[aDecoder decodeObject]);
}
return self;