mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +00:00
Adopted setBordered: and setBezeled: to Cocoa documentation to always
switch off the other setting. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23212 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
48db9c7614
commit
6bbbc9a062
2 changed files with 27 additions and 28 deletions
41
ChangeLog
41
ChangeLog
|
@ -1,3 +1,9 @@
|
|||
2006-08-07 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSCell.m (-setBezeled:, -setBordered:): Switch border off,
|
||||
if setBezeled: is called and visa versa, independent of the actual
|
||||
parameter setting. This matches documented Cocoa behaviour.
|
||||
|
||||
2006-08-06 00:30-EDT Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* Source/GSNibCompatibility.m: Correction in nibInstantiate for
|
||||
|
@ -44,30 +50,29 @@
|
|||
|
||||
2006-07-17 Enrico Sersale <enrico@fibernet.ro>
|
||||
|
||||
* Headers/AppKit/NSHelpManager.h:
|
||||
* Source/NSHelpManager.m:
|
||||
added -setContextHelp:forObject: as specified in Apple docs;
|
||||
-setContextHelp:withObject: deprecated.
|
||||
* Headers/AppKit/NSHelpManager.h:
|
||||
* Source/NSHelpManager.m:
|
||||
added -setContextHelp:forObject: as specified in Apple docs;
|
||||
-setContextHelp:withObject: deprecated.
|
||||
|
||||
2006-07-16 Enrico Sersale <enrico@fibernet.ro>
|
||||
|
||||
* Headers/Additions/GNUstepGUI/GSHelpManagerPanel.h: added -buttonAction:
|
||||
method.
|
||||
* Source/GSHelpManagerPanel.m: implemented -buttonAction:.
|
||||
added a button to close the panel and changed the style mask of the window
|
||||
to NSTitledWindowMask | NSResizableWindowMask.
|
||||
* Headers/Additions/GNUstepGUI/GSHelpManagerPanel.h: added -buttonAction:
|
||||
method.
|
||||
* Source/GSHelpManagerPanel.m: implemented -buttonAction:.
|
||||
added a button to close the panel and changed the style mask of the window
|
||||
to NSTitledWindowMask | NSResizableWindowMask.
|
||||
|
||||
>>>>>>> .r23179
|
||||
2006-07-15 Enrico Sersale <enrico@fibernet.ro>
|
||||
|
||||
* Headers/AppKit/AppKit.h: added NSHelpManager.h.
|
||||
* Headers/AppKit/NSHelpManager.h: declaration for new method -pathForHelpResource:
|
||||
* Source/NSHelpManager.m: implemented -pathForHelpResource: in the NSBundle
|
||||
category. -pathForHelpResource: looks for help files giving the priority
|
||||
to localized resources.
|
||||
-showHelp: looks for rtfd files too.
|
||||
* Source/GSHelpManagerPanel.m: various fixes to avoid a crash when quitting
|
||||
and to resize correctly the NSTextView.
|
||||
* Headers/AppKit/AppKit.h: added NSHelpManager.h.
|
||||
* Headers/AppKit/NSHelpManager.h: declaration for new method -pathForHelpResource:
|
||||
* Source/NSHelpManager.m: implemented -pathForHelpResource: in the NSBundle
|
||||
category. -pathForHelpResource: looks for help files giving the priority
|
||||
to localized resources.
|
||||
-showHelp: looks for rtfd files too.
|
||||
* Source/GSHelpManagerPanel.m: various fixes to avoid a crash when quitting
|
||||
and to resize correctly the NSTextView.
|
||||
|
||||
2006-07-14 01:17 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
|
|
|
@ -688,30 +688,24 @@ static NSColor *shadowCol;
|
|||
}
|
||||
|
||||
/**<p>Sets whether the cell has a bezeled border.
|
||||
If the cell has a bezeled border, the bordered flag is turn off.
|
||||
If this method is called, the bordered flag is turn off.
|
||||
By default a NSCell has no bezeled border</p>
|
||||
<p>See Also: -isBezeled -setBordered: -isBordered</p>
|
||||
*/
|
||||
- (void) setBezeled: (BOOL)flag
|
||||
{
|
||||
_cell.is_bezeled = flag;
|
||||
if (_cell.is_bezeled)
|
||||
{
|
||||
_cell.is_bordered = NO;
|
||||
}
|
||||
_cell.is_bordered = NO;
|
||||
}
|
||||
|
||||
/**<p>Sets whether the cell has a border. If the cell has a border,
|
||||
/**<p>Sets whether the cell has a border. If this method is called,
|
||||
the bezeled flag is turn off. By default a NSCell has no border</p>
|
||||
<p>See Also: -isBordered -setBezeled: -isBezeled</p>
|
||||
*/
|
||||
- (void) setBordered: (BOOL)flag
|
||||
{
|
||||
_cell.is_bordered = flag;
|
||||
if (_cell.is_bordered)
|
||||
{
|
||||
_cell.is_bezeled = NO;
|
||||
}
|
||||
_cell.is_bezeled = NO;
|
||||
}
|
||||
|
||||
/**<p>Sets the NSCell's state. Please use always symbolic constants when
|
||||
|
|
Loading…
Reference in a new issue