mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-20 14:36:36 +00:00
Merged in 'dawn' CVS branch
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3827 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e1c99d6512
commit
dbbeff810a
65 changed files with 794 additions and 774 deletions
|
@ -370,7 +370,7 @@ extension(NSString *name)
|
|||
}
|
||||
|
||||
// NSCoding protocol
|
||||
- (void) encodeWithCoder: aCoder
|
||||
- (void) encodeWithCoder: (NSCoder*)aCoder
|
||||
{
|
||||
[aCoder encodeObject: _colorSpace];
|
||||
[aCoder encodeSize: size];
|
||||
|
@ -381,9 +381,9 @@ extension(NSString *name)
|
|||
[aCoder encodeValueOfObjCType: @encode(int) at: &_pixelsHigh];
|
||||
}
|
||||
|
||||
- initWithCoder: aDecoder
|
||||
- (id) initWithCoder: (NSCoder*)aDecoder
|
||||
{
|
||||
_colorSpace = [[aDecoder decodeObject] retain];
|
||||
[aDecoder decodeValueOfObjCType: @encode(id) at: &_colorSpace];
|
||||
size = [aDecoder decodeSize];
|
||||
[aDecoder decodeValueOfObjCType: @encode(BOOL) at: &hasAlpha];
|
||||
[aDecoder decodeValueOfObjCType: @encode(BOOL) at: &isOpaque];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue