From ceb4432b497942c8dfee8ee995f4c3153434bcff Mon Sep 17 00:00:00 2001 From: Ross Boucher Date: Wed, 8 Dec 2010 13:32:04 -0800 Subject: [PATCH] Add a round button to the aristo showcase --- AppKit/Themes/Aristo/ThemeDescriptors.j | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/AppKit/Themes/Aristo/ThemeDescriptors.j b/AppKit/Themes/Aristo/ThemeDescriptors.j index 6f454db71..8ca8c2d2b 100755 --- a/AppKit/Themes/Aristo/ThemeDescriptors.j +++ b/AppKit/Themes/Aristo/ThemeDescriptors.j @@ -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],