forked from decors/ANSegmentedControl
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Decors
committed
Apr 25, 2011
1 parent
32e6941
commit 1f775b3
Showing
16 changed files
with
751 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// | ||
// ANSegmentedCell.h | ||
// test01 | ||
// | ||
// Created by Decors on 11/04/22. | ||
// Copyright 2011 __MyCompanyName__. All rights reserved. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
|
||
@interface ANSegmentedCell : NSSegmentedCell { | ||
@private | ||
} | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// | ||
// ANSegmentedCell.m | ||
// test01 | ||
// | ||
// Created by Decors on 11/04/22. | ||
// Copyright 2011 __MyCompanyName__. All rights reserved. | ||
// | ||
|
||
#import "ANSegmentedCell.h" | ||
#import "NSBezierPath+MCAdditions.h" | ||
#import "NSShadow+MCAdditions.h" | ||
|
||
@implementation ANSegmentedCell | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// | ||
// ANSegmentedControl.h | ||
// test01 | ||
// | ||
// Created by Decors on 11/04/22. | ||
// Copyright 2011 __MyCompanyName__. All rights reserved. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
|
||
@interface ANSegmentedControl : NSSegmentedControl <NSAnimationDelegate> { | ||
@private | ||
NSPoint location; | ||
} | ||
|
||
- (void)drawBackgroud:(NSRect)rect; | ||
- (void)drawKnob:(NSRect)rect; | ||
|
||
-(void)setSelectedSegment:(NSInteger)newSegment animate:(bool)animate; | ||
|
||
@end |
Oops, something went wrong.