mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-11 19:17:07 +00:00
Clean up.
This commit is contained in:
1 parent
5958220bdd
commit
3fb12f6382
1 file changed
+2
-4
@@ -24,10 +24,10 @@
|
||||
|
||||
[contentView addSubview:label];
|
||||
|
||||
theSlider = [[CPSlider alloc] initWithFrame:CGRectMake(100,100,180,24)];
|
||||
theSlider = [[CPSlider alloc] initWithFrame:CGRectMake(100, 100, 180, 24)];
|
||||
[theSlider setMinValue:36];
|
||||
[theSlider setMaxValue:238];
|
||||
[theSlider setObjectValue:([theSlider minValue] + [theSlider maxValue])/2];
|
||||
[theSlider setObjectValue:([theSlider minValue] + [theSlider maxValue]) / 2];
|
||||
[theSlider setTarget:self];
|
||||
[theSlider setAction:@selector(doSlider:)];
|
||||
[contentView addSubview:theSlider];
|
||||
@@ -104,8 +104,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@end
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user