* Headers/AppKit/NSSegmentedCell.h: Added rect ivar to cache frame.

* Source/NSBundleAdditions.m: Minor formatting changes.
	* Source/NSController.m: Added ivars to encodeWithCoder:.
	* Source/NSNibBindingConnector.m: Added ivars to encodeWithCoder:.
	* Source/NSSegmentedCell.m: Changes to fully implement rendering
	of the cell.
	* Source/NSSegmentedControl.m: Changes to fully implement
	control.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25900 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2008-01-09 03:37:59 +00:00
parent 5b5447d12d
commit a70afb2bae
7 changed files with 120 additions and 16 deletions

View file

@ -25,6 +25,7 @@
#include <AppKit/NSControl.h>
#include <AppKit/NSSegmentedControl.h>
#include <AppKit/NSEvent.h>
@implementation NSSegmentedControl
@ -115,4 +116,16 @@
{
return [_cell isEnabledForSegment: segment];
}
/*
- (void) mouseDown: (NSEvent *)event
{
NSPoint location = [self convertPoint: [event locationInWindow]
fromView: nil];
[super mouseDown: event];
[_cell _detectHit: location];
NSLog(@"%@",NSStringFromPoint(location));
}
*/
@end