Add fillColor/setFillColor to NSBox

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35578 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Marcian Lytwyn 2012-09-19 21:30:28 +00:00
parent 3dc7b38bc7
commit 18e11c87ef
2 changed files with 14 additions and 0 deletions

View file

@ -149,6 +149,16 @@
}
}
- (NSColor*) fillColor
{
return [_window backgroundColor];
}
- (void) setFillColor:(NSColor*)fillColor
{
[_window setBackgroundColor: fillColor];
}
/**<p>Sets the title cell to <var>aString</var>, resizes the content
view frame if needed and marks self for display.</p>
<p>Warning: This method does not implement the Cocoa behaviour</p>