Permalink
Browse files

config gitignore / edit xib

  • Loading branch information...
1 parent f7fc1ab commit d5dad467d0b8699f419d5acff265f8daf8037c1e @decors committed Apr 25, 2011
View
@@ -1,3 +1,7 @@
-.DS_Store
-/Sample/Sample.xcodeproj/project.xcworkspace/xcuserdata/
-/Sample/Sample.xcodeproj/xcuserdata/
+.DS_Store
+*.pbxuser
+*.perspective
+*.perspectivev3
+*.mode1v3
+*.mode2v3
+*.xcuserdata
File renamed without changes.
@@ -14,9 +14,6 @@
NSPoint location;
}
-- (void)drawBackgroud:(NSRect)rect;
-- (void)drawKnob:(NSRect)rect;
-
-(void)setSelectedSegment:(NSInteger)newSegment animate:(bool)animate;
@end
@@ -46,6 +46,9 @@ - (void)setDelegate:(id)d
@interface ANSegmentedControl (Private)
- (void)drawBackgroud:(NSRect)rect;
- (void)drawKnob:(NSRect)rect;
+- (void)animateTo:(int)x;
+- (void)setPosition:(NSNumber *)x;
+- (void)offsetLocationByX:(float)x;
@end
@implementation ANSegmentedControl
@@ -225,7 +228,7 @@ - (void)animateTo:(int)x
}
-- (void)setPosition:(NSNumber*)x
+- (void)setPosition:(NSNumber *)x
{
location.x = [x intValue];
[self display];
@@ -293,10 +296,9 @@ - (void)mouseDown:(NSEvent *)event
localLastDragLocation = newDragLocation;
[self autoscroll:localEvent];
- }
+ }
break;
case NSLeftMouseUp:
- NSLog(@"mouseup");
loop = NO;
int newSegment;
Oops, something went wrong.

0 comments on commit d5dad46

Please sign in to comment.