mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 03:30:39 +00:00
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:
parent
0f4badf295
commit
2d859c1d21
6 changed files with 43 additions and 2 deletions
|
@ -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];
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue