mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 11:50:37 +00:00
* Headers/Additions/GNUstepGUI/GSTheme.h: Add declaration
for method setKeyEquivalent:forButtonCell: * Source/GSThemeDrawing.m: Add implementation for method setKeyEquivalent:forButtonCell: * Source/NSButtonCell.m: Add call to new method. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@35702 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
9cd6adf8a6
commit
f248bc9988
4 changed files with 34 additions and 14 deletions
|
@ -730,6 +730,13 @@ APPKIT_EXPORT NSString *GSThemeWillDeactivateNotification;
|
|||
*/
|
||||
@interface GSTheme (Drawing)
|
||||
|
||||
/**
|
||||
* Allows the theme to set an image or set attributes for drawing the
|
||||
* button differently based on the key equivalent which is set.
|
||||
*/
|
||||
- (void) setKeyEquivalent: (NSString *)key
|
||||
forButtonCell: (NSButtonCell *)cell;
|
||||
|
||||
/**
|
||||
* Draws a button frame and background (not its content) for the specified
|
||||
* cell and view.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue