mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 13:10:38 +00:00
tidyups and minor theme tiling updates.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23871 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
477b1ee968
commit
cc3cafa874
58 changed files with 422 additions and 230 deletions
|
@ -753,16 +753,16 @@ static inline NSRect integralRect (NSRect rect, NSView *view)
|
|||
- (void) encodeWithCoder: (NSCoder*)aCoder
|
||||
{
|
||||
[super encodeWithCoder: aCoder];
|
||||
if([aCoder allowsKeyedCoding])
|
||||
if ([aCoder allowsKeyedCoding])
|
||||
{
|
||||
unsigned int flags = 0;
|
||||
[aCoder encodeObject: [self backgroundColor] forKey: @"NSBGColor"];
|
||||
[aCoder encodeObject: [self documentCursor] forKey: @"NSCursor"];
|
||||
[aCoder encodeObject: [self documentView] forKey: @"NSDocView"];
|
||||
|
||||
if([self drawsBackground])
|
||||
if ([self drawsBackground])
|
||||
flags |= 4;
|
||||
if([self copiesOnScroll] == NO)
|
||||
if ([self copiesOnScroll] == NO)
|
||||
flags |= 2;
|
||||
|
||||
[aCoder encodeInt: flags forKey: @"NScvFlags"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue