mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 06:51:44 +00:00
encoding/decoding methods
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11617 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2cdafa35fb
commit
6c04b107d2
2 changed files with 29 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2001-12-03 Laurent Julliard <laurent@moldus.org>
|
||||
|
||||
* Source/NSTableHeaderView.m (-initWithCoder:, decodeWithCoder:):
|
||||
minimal decoding/encoding methods
|
||||
|
||||
2001-12-02 Gregory Casamento <greg_casamento@yahoo.com>
|
||||
* Source/NSTableView.m
|
||||
-[NSTableView superviewFrameChanged:] Added a check to prevent
|
||||
|
|
|
@ -660,5 +660,29 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Encoding/Decoding
|
||||
*/
|
||||
|
||||
- (void) encodeWithCoder: (NSCoder*)aCoder
|
||||
{
|
||||
[super encodeWithCoder: aCoder];
|
||||
|
||||
/* Nothing else to encode in NSTableHeaderView:
|
||||
- _tableView is set by the parent NSTableView
|
||||
- _resizedColumn is reset on decoding anyway
|
||||
*/
|
||||
}
|
||||
|
||||
- (id) initWithCoder: (NSCoder*)aDecoder
|
||||
{
|
||||
self = [super initWithCoder: aDecoder];
|
||||
_tableView = nil;
|
||||
_resizedColumn = -1;
|
||||
|
||||
return self;
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
|
|
Loading…
Reference in a new issue