Add a round button to the aristo showcase

This commit is contained in:
Ross Boucher
2010-12-08 13:32:04 -08:00
parent b80c48886a
commit ceb4432b49
+10
View File
@@ -502,6 +502,16 @@ var themedButtonValues = nil,
return button;
}
+ (CPButton)themedRoundedButton
{
var button = [self button];
[button setTitle:@"Save"];
[button setThemeState:CPButtonStateBezelStyleRounded];
return button;
}
+ (CPPopUpButton)themedPopUpButton
{
var button = [[CPPopUpButton alloc] initWithFrame:CGRectMake(0.0, 0.0, 100.0, 24.0) pullsDown:NO],