mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 02:04:20 +00:00
Add code to read flag from nib file for usesSingleLineMode
This commit is contained in:
parent
9b248d7b64
commit
20b9c44626
1 changed files with 1 additions and 0 deletions
|
@ -2634,6 +2634,7 @@ static NSColor *dtxtCol;
|
|||
int cFlags2;
|
||||
|
||||
cFlags2 = [aDecoder decodeIntForKey: @"NSCellFlags2"];
|
||||
[self setUsesSingleLineMode: (cFlags2 & 0x40)];
|
||||
[self setControlTint: ((cFlags2 & 0xE0) >> 5)];
|
||||
[self setLineBreakMode: ((cFlags2 & 0xE00) >> 9)];
|
||||
[self setControlSize: ((cFlags2 & 0xE0000) >> 17)];
|
||||
|
|
Loading…
Reference in a new issue