Add setHighlightsBy: and setShowsStateBy: methods.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18248 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
stoyan 2003-12-01 18:28:00 +00:00
parent 3fd0662a83
commit 28b98262ad
2 changed files with 14 additions and 0 deletions

View file

@ -45,6 +45,10 @@
// Setting the Button Type
//
- (void)setButtonType:(NSButtonType)aType;
#ifndef STRICT_OPENSTEP
- (void)setHighlightsBy:(int)aType;
- (void)setShowsStateBy:(int)aType;
#endif
//
// Setting the State

View file

@ -86,6 +86,16 @@ id _nsbuttonCellClass = nil;
[self setNeedsDisplay: YES];
}
- (void)setHighlightsBy:(int)aType
{
[_cell setHighlightsBy:aType];
}
- (void)setShowsStateBy:(int)aType
{
[_cell setShowsStateBy:aType];
}
//
// Setting the State
//