mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 22:00:38 +00:00
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:
parent
3dc7b38bc7
commit
18e11c87ef
2 changed files with 14 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue