mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 14:50:38 +00:00
* Headers/Additions/GNUstepGUI/GSTheme.h: Add image parameter,
* Source/GSThemeDrawing.m: Add image parameter. Correctly handle disabled buttons. * Source/NSButtonCell.m: Change to use new signature. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28523 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e89b630802
commit
e70f79fbf7
4 changed files with 21 additions and 12 deletions
|
@ -916,7 +916,8 @@ typedef struct _GSButtonCellFlags
|
|||
position.y += size.height;
|
||||
}
|
||||
|
||||
[[GSTheme theme] drawButtonCellImage: self
|
||||
[[GSTheme theme] drawImage: anImage
|
||||
inButtonCell: self
|
||||
withFrame: aRect
|
||||
position: position];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue