equal
deleted
inserted
replaced
35 |
35 |
36 // this makes the button round and nice with a border |
36 // this makes the button round and nice with a border |
37 [self.layer setCornerRadius:7.0f]; |
37 [self.layer setCornerRadius:7.0f]; |
38 [self.layer setMasksToBounds:YES]; |
38 [self.layer setMasksToBounds:YES]; |
39 [self.layer setBorderWidth:2]; |
39 [self.layer setBorderWidth:2]; |
|
40 [self.layer setBorderColor:[UICOLOR_HW_YELLOW_BODER CGColor]]; |
40 |
41 |
41 // this changes the color at button press |
42 // this changes the color at button press |
42 [self addTarget:self action:@selector(nextColor) forControlEvents:UIControlEventTouchUpInside]; |
43 [self addTarget:self action:@selector(nextColor) forControlEvents:UIControlEventTouchUpInside]; |
43 } |
44 } |
44 return self; |
45 return self; |