Add MacOSX methods to NSComboBox and constants to NSColorPanel.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25366 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2007-07-31 21:42:30 +00:00
parent 0f4badf295
commit 2d859c1d21
6 changed files with 43 additions and 2 deletions

View file

@ -436,6 +436,16 @@ static NSNotificationCenter *nc;
[_cell setCompletes: completes];
}
- (BOOL) isButtonBordered
{
return [_cell isButtonBordered];
}
- (void) setButtonBordered:(BOOL)flag
{
[_cell setButtonBordered: flag];
}
- (void) setDelegate: (id)anObject
{
[super setDelegate: anObject];

View file

@ -1447,6 +1447,16 @@ static GSComboWindow *gsWindow = nil;
_completes = completes;
}
- (BOOL) isButtonBordered
{
return [_buttonCell isBordered];
}
- (void) setButtonBordered:(BOOL)flag
{
[_buttonCell setBordered: flag];
}
#define ComboBoxHeight 21 // FIX ME: All this stuff shouldn't be hardcoded
#define ButtonWidth 17
#define ButtonHeight 17