mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 20:00:48 +00:00
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:
parent
3fd0662a83
commit
28b98262ad
2 changed files with 14 additions and 0 deletions
|
@ -45,6 +45,10 @@
|
||||||
// Setting the Button Type
|
// Setting the Button Type
|
||||||
//
|
//
|
||||||
- (void)setButtonType:(NSButtonType)aType;
|
- (void)setButtonType:(NSButtonType)aType;
|
||||||
|
#ifndef STRICT_OPENSTEP
|
||||||
|
- (void)setHighlightsBy:(int)aType;
|
||||||
|
- (void)setShowsStateBy:(int)aType;
|
||||||
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
// Setting the State
|
// Setting the State
|
||||||
|
|
|
@ -86,6 +86,16 @@ id _nsbuttonCellClass = nil;
|
||||||
[self setNeedsDisplay: YES];
|
[self setNeedsDisplay: YES];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- (void)setHighlightsBy:(int)aType
|
||||||
|
{
|
||||||
|
[_cell setHighlightsBy:aType];
|
||||||
|
}
|
||||||
|
|
||||||
|
- (void)setShowsStateBy:(int)aType
|
||||||
|
{
|
||||||
|
[_cell setShowsStateBy:aType];
|
||||||
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// Setting the State
|
// Setting the State
|
||||||
//
|
//
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue