mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 09:01:13 +00:00
* Source/GSThemeDrawing.m (-drawTableViewRect:inView:): Use
correct imp type. * Source/NSButtonCell.m (-setBackgroundColor:): Update the control view. * Source/NSSegmentedCell.m (-drawSegment:inFrame:withView:): * Draw image if available. * Source/NSPopUpButtonCell.m (-initWithCoder:): Add work around for NSClassSwapper cell replacement. Patches based on changes by Josh Freeman <pikopixel@twilightedge.com> git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39006 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2650aab0d2
commit
fda2efe727
5 changed files with 80 additions and 14 deletions
|
@ -931,6 +931,14 @@ typedef struct _GSButtonCellFlags
|
|||
- (void) setBackgroundColor: (NSColor *)color
|
||||
{
|
||||
ASSIGN(_backgroundColor, color);
|
||||
|
||||
if (_control_view)
|
||||
{
|
||||
if ([_control_view isKindOfClass: [NSControl class]])
|
||||
{
|
||||
[(NSControl*)_control_view updateCell: self];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
- (GSThemeControlState) themeControlState
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue