mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 20:50:44 +00:00
Add preserves_selection encoding/decoding
This commit is contained in:
parent
11de08b623
commit
2b20808ddd
1 changed files with 6 additions and 0 deletions
|
@ -587,6 +587,9 @@ atArrangedObjectIndexes: (NSIndexSet*)idx
|
|||
{
|
||||
BOOL f;
|
||||
f = _acflags.avoids_empty_selection;
|
||||
[coder encodeValueOfObjCType: @encode(BOOL)
|
||||
at: &f];
|
||||
f = _acflags.preserves_selection;
|
||||
[coder encodeValueOfObjCType: @encode(BOOL)
|
||||
at: &f];
|
||||
f = _acflags.selects_inserted_objects;
|
||||
|
@ -642,6 +645,9 @@ atArrangedObjectIndexes: (NSIndexSet*)idx
|
|||
[coder decodeValueOfObjCType: @encode(BOOL)
|
||||
at: &f];
|
||||
_acflags.avoids_empty_selection = f;
|
||||
[coder decodeValueOfObjCType: @encode(BOOL)
|
||||
at: &f];
|
||||
_acflags.preserves_selection = f;
|
||||
[coder decodeValueOfObjCType: @encode(BOOL)
|
||||
at: &f];
|
||||
_acflags.selects_inserted_objects = f;
|
||||
|
|
Loading…
Reference in a new issue