Encode knob cell in archive

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5634 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
richard 1999-12-28 17:13:41 +00:00
parent 7518839b85
commit 0d72b6f34d

View file

@ -219,8 +219,7 @@
[decoder decodeValuesOfObjCTypes: "ffffi", [decoder decodeValuesOfObjCTypes: "ffffi",
&_minValue, &_maxValue, &_floatValue, &_altIncrementValue, &_isVertical]; &_minValue, &_maxValue, &_floatValue, &_altIncrementValue, &_isVertical];
[decoder decodeValueOfObjCType: @encode(id) at: &_titleCell]; [decoder decodeValueOfObjCType: @encode(id) at: &_titleCell];
[decoder decodeValueOfObjCType: @encode(id) at: &_knobCell];
_knobCell = [NSCell new];
return self; return self;
} }
@ -230,6 +229,7 @@
[coder encodeValuesOfObjCTypes: "ffffi", [coder encodeValuesOfObjCTypes: "ffffi",
&_minValue, &_maxValue, &_floatValue, &_altIncrementValue, &_isVertical]; &_minValue, &_maxValue, &_floatValue, &_altIncrementValue, &_isVertical];
[coder encodeValueOfObjCType: @encode(id) at: &_titleCell]; [coder encodeValueOfObjCType: @encode(id) at: &_titleCell];
[coder encodeValueOfObjCType: @encode(id) at: &_knobCell];
} }
@end @end