mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +00:00
Add enciding for NSGridCell
This commit is contained in:
parent
07fcafcfdc
commit
db428d9e0c
2 changed files with 17 additions and 0 deletions
|
@ -41,6 +41,7 @@
|
|||
#import "AppKit/NSCell.h"
|
||||
#import "AppKit/NSClipView.h"
|
||||
#import "AppKit/NSFormCell.h"
|
||||
#import "AppKit/NSGridView.h"
|
||||
#import "AppKit/NSImage.h"
|
||||
#import "AppKit/NSMatrix.h"
|
||||
#import "AppKit/NSMenu.h"
|
||||
|
@ -287,6 +288,16 @@ static NSArray *XmlBoolDefaultYes = nil;
|
|||
@"string", @"NS.relative",
|
||||
@"canPropagateSelectedChildViewControllerTitle",
|
||||
@"NSTabViewControllerCanPropagateSelectedChildViewControllerTitle",
|
||||
@"hidden", @"NSGrid_hidden",
|
||||
@"leadingPadding", @"NSGrid_leadingPadding",
|
||||
@"owningGrid", @"NSGrid_owningGrid",
|
||||
@"trailingPadding", @"NSGrid_trailingPadding",
|
||||
@"width", @"NSGrid_width",
|
||||
@"xPlacement", @"NSGrid_xPlacement",
|
||||
@"yPlacement", @"NSGrid_yPlacement",
|
||||
@"mergeHead", "NSGrid_mergeHead",
|
||||
@"row", "NSGrid_owningRow",
|
||||
@"column", "NSGrid_owningColumn",
|
||||
nil];
|
||||
RETAIN(XmlKeyMapTable);
|
||||
|
||||
|
|
|
@ -339,6 +339,12 @@
|
|||
{
|
||||
if ([coder allowsKeyedCoding])
|
||||
{
|
||||
[coder encodeObject: _contentView forKey: @"NSGrid_content"];
|
||||
[coder encodeObject: _mergeHead forKey: @"NSGrid_mergeHead"];
|
||||
[coder encodeObject: _owningRow forKey: @"NSGrid_owningRow"]; // weak
|
||||
[coder encodeObject: _owningColumn forKey: @"NSGrid_owningColumn"]; // weak
|
||||
[coder encodeInteger: _xPlacement forKey: @"NSGrid_xPlacement"];
|
||||
[coder encodeInteger: _yPlacement forKey: @"NSGrid_yPlacement"];
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue